2024.12.17 01:13:19.050738 [ 664 ] {} Context: Server was built in debug mode. It will work slowly. 2024.12.17 01:13:19.053319 [ 664 ] {} Context: The setting 'allow_remote_fs_zero_copy_replication' is enabled for MergeTree tables. But the feature of 'zero-copy replication' is under development and is not ready for production. The usage of this feature can lead to data corruption and loss. The setting should be disabled in production. 2024.12.17 01:13:22.816089 [ 664 ] {} Context: The setting 'merge_tree_metadata_cache' is enabled. But the feature of 'metadata cache in RocksDB' is experimental and is not ready for production. The usage of this feature can lead to data corruption and loss. The setting should be disabled in production. See the corresponding report at https://github.com/ClickHouse/ClickHouse/issues/51182 2024.12.17 01:13:23.550456 [ 664 ] {} KeeperLogStore: No logs exists in /var/lib/clickhouse/coordination/logs. It's Ok if it's the first run of clickhouse-keeper. 2024.12.17 01:13:23.551283 [ 664 ] {} KeeperLogStore: Removing all changelogs 2024.12.17 01:13:23.552648 [ 664 ] {} KeeperServer: Got 1000000000000000 value for setting 'reserved_log_items' which is bigger than int32_t max value, lowering value to 2147483647. 2024.12.17 01:13:23.556334 [ 664 ] {} KeeperStateManager: No state was read 2024.12.17 01:13:23.556424 [ 664 ] {} RaftInstance: invalid election timeout lower bound detected, adjusted to 0 2024.12.17 01:13:23.556502 [ 664 ] {} RaftInstance: invalid election timeout upper bound detected, adjusted to 0 2024.12.17 01:13:23.607821 [ 884 ] {} RaftInstance: Election timeout, initiate leader election 2024.12.17 01:13:23.688485 [ 664 ] {} Access(local_directory): File /var/lib/clickhouse/access/users.list doesn't exist 2024.12.17 01:13:23.688596 [ 664 ] {} Access(local_directory): Recovering lists in directory /var/lib/clickhouse/access/ 2024.12.17 01:13:24.053607 [ 664 ] {} Context: Table system.session_log is enabled. It's unreliable and may contain garbage. Do not use it for any kind of security monitoring. 2024.12.17 01:15:25.613530 [ 1020 ] {} ZooKeeperClient: Code: 33. DB::Exception: Cannot read all data. Bytes read: 0. Bytes expected: 4. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5def0c in /usr/bin/clickhouse 6. /build/src/IO/ReadBuffer.h:198: DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x000000000b5ded2f in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:117: void DB::readPODBinary(int&, DB::ReadBuffer&) @ 0x0000000013994742 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1099: void DB::readBinary(int&, DB::ReadBuffer&) @ 0x00000000139946fd in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:1136: void DB::readBinaryEndian<(std::endian)64206, int>(int&, DB::ReadBuffer&) @ 0x000000001e5fcffd in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:1149: void DB::readBinaryBigEndian(int&, DB::ReadBuffer&) @ 0x000000001e5fcfbd in /usr/bin/clickhouse 11. /build/src/Common/ZooKeeper/ZooKeeperIO.h:51: void Coordination::read(int&, DB::ReadBuffer&) @ 0x000000001e5f843d in /usr/bin/clickhouse 12. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:284: void Coordination::ZooKeeper::read(int&) @ 0x000000001f306694 in /usr/bin/clickhouse 13. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:744: Coordination::ZooKeeper::receiveEvent() @ 0x000000001f2fbacc in /usr/bin/clickhouse 14. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:710: Coordination::ZooKeeper::receiveThread() @ 0x000000001f2fb544 in /usr/bin/clickhouse 15. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:356: Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1::operator()() const @ 0x000000001f301378 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&>()()) std::__invoke[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&) @ 0x000000001f301355 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&, std::tuple<>&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001f301339 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&, std::tuple<>&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&, std::tuple<>&) @ 0x000000001f30129d in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'()::operator()() @ 0x000000001f3011c5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'()&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&) @ 0x000000001f301135 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'()&) @ 0x000000001f301115 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001f3010f5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001f3010c0 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:15:25.734869 [ 1019 ] {} ZooKeeperClient: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:55290 -> [::1]:9181). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000013ced8e8 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000013cecf04 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b2026cd in /usr/bin/clickhouse 8. /build/src/Common/ZooKeeper/ZooKeeperCommon.cpp:51: Coordination::ZooKeeperRequest::write(DB::WriteBuffer&) const @ 0x000000001f2ca265 in /usr/bin/clickhouse 9. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:645: Coordination::ZooKeeper::sendThread() @ 0x000000001f2fa83c in /usr/bin/clickhouse 10. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:355: Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0::operator()() const @ 0x000000001f300b38 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&>()()) std::__invoke[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&) @ 0x000000001f300b15 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&, std::tuple<>&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001f300af9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&, std::tuple<>&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&, std::tuple<>&) @ 0x000000001f300a5d in /usr/bin/clickhouse 14. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&&)::'lambda'()::operator()() @ 0x000000001f300985 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0>()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&&)::'lambda'()&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&&) @ 0x000000001f3008f5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&&)::'lambda'()&) @ 0x000000001f3008d5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001f3008b5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001f300880 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:15:25.888285 [ 1020 ] {} ZooKeeperClient: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x00000000249466c7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x000000002494a807 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x0000000024751667 in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000024760fab in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:914: Poco::Net::SocketImpl::error() @ 0x000000002475f949 in /usr/bin/clickhouse 8. /build/base/poco/Net/src/SocketImpl.cpp:272: Poco::Net::SocketImpl::shutdown() @ 0x0000000024762372 in /usr/bin/clickhouse 9. /build/base/poco/Net/src/StreamSocket.cpp:109: Poco::Net::StreamSocket::shutdown() @ 0x000000002476609e in /usr/bin/clickhouse 10. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:961: Coordination::ZooKeeper::finalize(bool, bool, String const&) @ 0x000000001f2f3eba in /usr/bin/clickhouse 11. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:732: Coordination::ZooKeeper::receiveThread() @ 0x000000001f2fb943 in /usr/bin/clickhouse 12. /build/src/Common/ZooKeeper/ZooKeeperImpl.cpp:356: Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1::operator()() const @ 0x000000001f301378 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&>()()) std::__invoke[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&) @ 0x000000001f301355 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&, std::tuple<>&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001f301339 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&, std::tuple<>&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&, std::tuple<>&) @ 0x000000001f30129d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'()::operator()() @ 0x000000001f3011c5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'()&>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&) @ 0x000000001f301135 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'()&) @ 0x000000001f301115 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001f3010f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001f3010c0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:15:28.871944 [ 1122 ] {10ba29be-b8bc-48b6-9e2e-634a61d0f8ac} executeQuery: Code: 43. DB::Exception: Function untuple can't have lambda-expressions as arguments. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39238) (comment: 03142_untuple_crash.sql) (in query: SELECT untuple(x -> 0) -- { serverError ILLEGAL_TYPE_OF_ARGUMENT } ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [60]) @ 0x000000000b19a7be in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4935: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c932804 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:28.872639 [ 1122 ] {10ba29be-b8bc-48b6-9e2e-634a61d0f8ac} TCPHandler: Code: 43. DB::Exception: Function untuple can't have lambda-expressions as arguments. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [60]) @ 0x000000000b19a7be in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4935: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c932804 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:29.269567 [ 1123 ] {4d255d23-e288-4de0-9526-63682c6c24e5} executeQuery: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39240) (comment: 02910_object-json-crash-add-column.sql) (in query: ALTER TABLE test02910 ADD COLUMN j2 Tuple(JSON) DEFAULT jString;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a5abe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c831 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:29.270315 [ 1123 ] {4d255d23-e288-4de0-9526-63682c6c24e5} TCPHandler: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a5abe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c831 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:29.278167 [ 1123 ] {326b55c0-525a-449b-a218-b69b9d569ea7} executeQuery: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39240) (comment: 02910_object-json-crash-add-column.sql) (in query: ALTER TABLE test02910 ADD COLUMN j2 Tuple(Float64, JSON);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a5abe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c831 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:29.278783 [ 1123 ] {326b55c0-525a-449b-a218-b69b9d569ea7} TCPHandler: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a5abe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c831 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:29.286730 [ 1123 ] {d80a0a93-6840-4e31-8036-d52af0d5bb85} executeQuery: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39240) (comment: 02910_object-json-crash-add-column.sql) (in query: ALTER TABLE test02910 ADD COLUMN j2 Tuple(Array(Tuple(JSON))) DEFAULT jString;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a5abe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c831 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:29.287292 [ 1123 ] {d80a0a93-6840-4e31-8036-d52af0d5bb85} TCPHandler: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a5abe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c831 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:29.294529 [ 1123 ] {f0a1495a-d47d-471a-a828-3d998cd0cfe9} executeQuery: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39240) (comment: 02910_object-json-crash-add-column.sql) (in query: ALTER TABLE test02910 ADD COLUMN j2 JSON default jString;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a5abe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c831 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:29.295144 [ 1123 ] {f0a1495a-d47d-471a-a828-3d998cd0cfe9} TCPHandler: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a5abe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c831 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:29.457500 [ 1123 ] {89af510c-bbcf-4408-9656-30670785c80d} test_s1d1vrgr.test02910_second (c5277a6a-83b2-460f-a00a-531792b3eda4): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 286246980. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part'and 'min_bytes_for_wide_part' will be ignored. 2024.12.17 01:15:29.669974 [ 1123 ] {c9f31862-0d81-46e1-80d3-a84e8415679e} executeQuery: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39240) (comment: 02910_object-json-crash-add-column.sql) (in query: ALTER TABLE test02910_second ADD COLUMN `tags_json` Tuple(JSON) DEFAULT jString;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a5abe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c831 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:29.670730 [ 1123 ] {c9f31862-0d81-46e1-80d3-a84e8415679e} TCPHandler: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a5abe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c831 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:29.679219 [ 1123 ] {6f006a89-8b2f-4e80-b4c5-26f5511af6b5} executeQuery: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39240) (comment: 02910_object-json-crash-add-column.sql) (in query: ALTER TABLE test02910_second ADD COLUMN `tags_json` Tuple(Float64, JSON);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a5abe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c831 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:29.679784 [ 1123 ] {6f006a89-8b2f-4e80-b4c5-26f5511af6b5} TCPHandler: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a5abe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c831 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:29.687484 [ 1123 ] {2a1a9b83-f152-4fe2-8a93-f98aed727eb0} executeQuery: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39240) (comment: 02910_object-json-crash-add-column.sql) (in query: ALTER TABLE test02910_second ADD COLUMN `tags_json` Tuple(Array(Tuple(JSON))) DEFAULT jString;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a5abe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c831 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:29.688067 [ 1123 ] {2a1a9b83-f152-4fe2-8a93-f98aed727eb0} TCPHandler: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a5abe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c831 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:29.694888 [ 1123 ] {412fcab6-59ed-44aa-8f39-babed0c307fd} executeQuery: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39240) (comment: 02910_object-json-crash-add-column.sql) (in query: ALTER TABLE test02910_second ADD COLUMN `tags_json` JSON;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a5abe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c831 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:29.695424 [ 1123 ] {412fcab6-59ed-44aa-8f39-babed0c307fd} TCPHandler: Code: 344. DB::Exception: Adding a new column of a type which has dynamic subcolumns to an existing table is not allowed. It has known bugs. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [114]) @ 0x000000001b8a5abe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1097: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c831 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:29.880563 [ 1119 ] {17cefc8b-f6ca-4cb5-ac9e-a854a1add66b} DynamicQueryHandler: Code: 271. DB::Exception: Cannot decompress Gorilla-encoded data. File has wrong header. (CANNOT_DECOMPRESS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000bc60e7e in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecGorilla.cpp:429: DB::CompressionCodecGorilla::doDecompressData(char const*, unsigned int, char*, unsigned int) const @ 0x000000001b80b2f2 in /usr/bin/clickhouse 7. /build/src/Compression/ICompressionCodec.cpp:112: DB::ICompressionCodec::decompress(char const*, unsigned int, char*) const @ 0x000000001b82145a in /usr/bin/clickhouse 8. /build/src/Compression/CompressedReadBufferBase.cpp:308: DB::CompressedReadBufferBase::decompress(DB::BufferBase::Buffer&, unsigned long, unsigned long) @ 0x000000001b7d0b47 in /usr/bin/clickhouse 9. /build/src/Compression/CompressedReadBuffer.cpp:26: DB::CompressedReadBuffer::nextImpl() @ 0x000000001b7cef5a in /usr/bin/clickhouse 10. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 11. /build/src/IO/ReadBuffer.cpp:25: DB::(anonymous namespace)::ReadBufferWrapper::nextImpl() @ 0x000000001b39a2ef in /usr/bin/clickhouse 12. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 13. /build/src/IO/ReadBuffer.h:105: DB::ConcatReadBuffer::nextImpl() @ 0x000000001bd883c6 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:91: DB::ReadBuffer::nextIfAtEnd() @ 0x000000001399d0f8 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1266: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b0b5f in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 19. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:15:30.970683 [ 667 ] {ccec2747-3823-4b4c-94c9-cc5eda07ac1f} PostgreSQLConnectionPool: Connection error: connection to server at "127.121.0.1", port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? 2024.12.17 01:15:30.971108 [ 667 ] {ccec2747-3823-4b4c-94c9-cc5eda07ac1f} PostgreSQLConnectionPool: Connection error: connection to server at "127.121.0.1", port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? 2024.12.17 01:15:30.971508 [ 667 ] {ccec2747-3823-4b4c-94c9-cc5eda07ac1f} PostgreSQLConnectionPool: Connection error: connection to server at "127.121.0.1", port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? 2024.12.17 01:15:30.971915 [ 667 ] {ccec2747-3823-4b4c-94c9-cc5eda07ac1f} PostgreSQLConnectionPool: Connection error: connection to server at "127.121.0.1", port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? 2024.12.17 01:15:30.972326 [ 667 ] {ccec2747-3823-4b4c-94c9-cc5eda07ac1f} PostgreSQLConnectionPool: Connection error: connection to server at "127.121.0.1", port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? 2024.12.17 01:15:31.071286 [ 667 ] {ccec2747-3823-4b4c-94c9-cc5eda07ac1f} executeQuery: Code: 614. DB::Exception: Try 5. Connection to `127.121.0.1:5432` failed with error: connection to server at "127.121.0.1", port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? . (POSTGRESQL_CONNECTION_FAILURE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46302) (comment: 02888_system_tables_with_inaccsessible_table_function.sql) (in query: CREATE TABLE test_01e0vjyg.tablefunc01_without_schema AS postgresql('127.121.0.1:5432', 'postgres_db', 'postgres_table', 'postgres_user', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x000000001a94cea9 in /usr/bin/clickhouse 6. /build/src/Core/PostgreSQL/PoolWithFailover.cpp:135: postgres::PoolWithFailover::get() @ 0x000000001adf0f68 in /usr/bin/clickhouse 7. /build/src/Storages/StoragePostgreSQL.cpp:98: DB::StoragePostgreSQL::getTableStructureFromData(std::shared_ptr const&, String const&, String const&, std::shared_ptr const&) @ 0x000000001d7d7a24 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:43: DB::TableFunctionPostgreSQL::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9cd38f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:788: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e94e0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:31.072115 [ 667 ] {ccec2747-3823-4b4c-94c9-cc5eda07ac1f} TCPHandler: Code: 614. DB::Exception: Try 5. Connection to `127.121.0.1:5432` failed with error: connection to server at "127.121.0.1", port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? . (POSTGRESQL_CONNECTION_FAILURE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x000000001a94cea9 in /usr/bin/clickhouse 6. /build/src/Core/PostgreSQL/PoolWithFailover.cpp:135: postgres::PoolWithFailover::get() @ 0x000000001adf0f68 in /usr/bin/clickhouse 7. /build/src/Storages/StoragePostgreSQL.cpp:98: DB::StoragePostgreSQL::getTableStructureFromData(std::shared_ptr const&, String const&, String const&, std::shared_ptr const&) @ 0x000000001d7d7a24 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:43: DB::TableFunctionPostgreSQL::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9cd38f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:788: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e94e0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:31.080145 [ 667 ] {aaf2d6ae-1e25-4f24-a932-d3e3a55761e7} mysqlxx::Pool: mysqlxx::ConnectionFailed 2024.12.17 01:15:31.080298 [ 667 ] {aaf2d6ae-1e25-4f24-a932-d3e3a55761e7} Application: Connection to mysql_db@127.123.0.1:3306 as user mysql_user failed: mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.123.0.1' (115) ((nullptr):0) 2024.12.17 01:15:31.080465 [ 667 ] {aaf2d6ae-1e25-4f24-a932-d3e3a55761e7} Application: Connection to mysql failed 1 times 2024.12.17 01:15:31.081033 [ 667 ] {aaf2d6ae-1e25-4f24-a932-d3e3a55761e7} mysqlxx::Pool: mysqlxx::ConnectionFailed 2024.12.17 01:15:31.081180 [ 667 ] {aaf2d6ae-1e25-4f24-a932-d3e3a55761e7} Application: Connection to mysql_db@127.123.0.1:3306 as user mysql_user failed: mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.123.0.1' (115) ((nullptr):0) 2024.12.17 01:15:31.081301 [ 667 ] {aaf2d6ae-1e25-4f24-a932-d3e3a55761e7} Application: Connection to mysql failed 2 times 2024.12.17 01:15:31.081804 [ 667 ] {aaf2d6ae-1e25-4f24-a932-d3e3a55761e7} mysqlxx::Pool: mysqlxx::ConnectionFailed 2024.12.17 01:15:31.081990 [ 667 ] {aaf2d6ae-1e25-4f24-a932-d3e3a55761e7} Application: Connection to mysql_db@127.123.0.1:3306 as user mysql_user failed: mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.123.0.1' (115) ((nullptr):0) 2024.12.17 01:15:31.082129 [ 667 ] {aaf2d6ae-1e25-4f24-a932-d3e3a55761e7} Application: Connection to mysql failed 3 times 2024.12.17 01:15:31.180739 [ 667 ] {aaf2d6ae-1e25-4f24-a932-d3e3a55761e7} executeQuery: Poco::Exception. Code: 1000, e.code() = 0, Exception: Connections to mysql failed: mysql_db@127.123.0.1:3306 as user mysql_user, ERROR 2002 : mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.123.0.1' (115) ((nullptr):0) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46302) (comment: 02888_system_tables_with_inaccsessible_table_function.sql) (in query: CREATE TABLE test_01e0vjyg.tablefunc02_without_schema AS mysql('127.123.0.1:3306', 'mysql_db', 'mysql_table', 'mysql_user', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/mysqlxx/PoolWithFailover.cpp:214: mysqlxx::PoolWithFailover::get() @ 0x00000000245f4563 in /usr/bin/clickhouse 4. /build/src/Databases/MySQL/FetchTablesColumnsList.cpp:88: DB::fetchTablesColumnsList(mysqlxx::PoolWithFailover&, String const&, std::vector> const&, DB::Settings const&, MultiEnum) @ 0x000000001c86cd4c in /usr/bin/clickhouse 5. /build/src/Storages/StorageMySQL.cpp:82: DB::StorageMySQL::getTableStructureFromData(mysqlxx::PoolWithFailover&, String const&, String const&, std::shared_ptr const&) @ 0x000000001d7ce8c1 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMySQL.cpp:62: DB::TableFunctionMySQL::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9ca035 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:788: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e94e0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:31.181609 [ 667 ] {aaf2d6ae-1e25-4f24-a932-d3e3a55761e7} TCPHandler: Code: 1000. DB::Exception: Exception: Connections to mysql failed: mysql_db@127.123.0.1:3306 as user mysql_user, ERROR 2002 : mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.123.0.1' (115) ((nullptr):0). (POCO_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/mysqlxx/PoolWithFailover.cpp:214: mysqlxx::PoolWithFailover::get() @ 0x00000000245f4563 in /usr/bin/clickhouse 4. /build/src/Databases/MySQL/FetchTablesColumnsList.cpp:88: DB::fetchTablesColumnsList(mysqlxx::PoolWithFailover&, String const&, std::vector> const&, DB::Settings const&, MultiEnum) @ 0x000000001c86cd4c in /usr/bin/clickhouse 5. /build/src/Storages/StorageMySQL.cpp:82: DB::StorageMySQL::getTableStructureFromData(mysqlxx::PoolWithFailover&, String const&, String const&, std::shared_ptr const&) @ 0x000000001d7ce8c1 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMySQL.cpp:62: DB::TableFunctionMySQL::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9ca035 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:788: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e94e0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:32.088653 [ 1121 ] {7ae345d9-cfc7-417e-a33d-109860cefa18} executeQuery: Code: 636. DB::Exception: Cannot extract table structure from Parquet format file, because there are no files with provided path in S3 or all files are empty. You must specify table structure manually: Cannot extract table structure from Parquet format file. You can specify the structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46334) (comment: 02873_s3_presigned_url_and_url_with_special_characters.sql) (in query: select * from s3('https://datasets-documentation.s3.eu-west-3.amazonaws.com/MyPrefix/BU%20-%20UNIT%20-%201/*.parquet');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageS3.cpp:1489: DB::(anonymous namespace)::ReadBufferIterator::next() @ 0x000000001d94c5f1 in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:85: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e69538d in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e697148 in /usr/bin/clickhouse 9. /build/src/Storages/StorageS3.cpp:1569: DB::StorageS3::getTableStructureFromDataImpl(DB::StorageS3::Configuration const&, std::optional const&, std::shared_ptr) @ 0x000000001d94571e in /usr/bin/clickhouse 10. /build/src/Storages/StorageS3.cpp:997: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000001d944f95 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3* std::construct_at[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, DB::StorageS3*>(DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a1dd1 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void, void>(std::allocator&, DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a1ada in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&>(std::allocator, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a1785 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a15ba in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a99ab40 in /usr/bin/clickhouse 16. /build/src/TableFunctions/TableFunctionS3.cpp:351: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9994a5 in /usr/bin/clickhouse 17. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 19. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:15:32.090084 [ 1121 ] {7ae345d9-cfc7-417e-a33d-109860cefa18} TCPHandler: Code: 636. DB::Exception: Cannot extract table structure from Parquet format file, because there are no files with provided path in S3 or all files are empty. You must specify table structure manually: Cannot extract table structure from Parquet format file. You can specify the structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageS3.cpp:1489: DB::(anonymous namespace)::ReadBufferIterator::next() @ 0x000000001d94c5f1 in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:85: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e69538d in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e697148 in /usr/bin/clickhouse 9. /build/src/Storages/StorageS3.cpp:1569: DB::StorageS3::getTableStructureFromDataImpl(DB::StorageS3::Configuration const&, std::optional const&, std::shared_ptr) @ 0x000000001d94571e in /usr/bin/clickhouse 10. /build/src/Storages/StorageS3.cpp:997: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000001d944f95 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3* std::construct_at[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, DB::StorageS3*>(DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a1dd1 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void, void>(std::allocator&, DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a1ada in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&>(std::allocator, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a1785 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a15ba in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a99ab40 in /usr/bin/clickhouse 16. /build/src/TableFunctions/TableFunctionS3.cpp:351: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9994a5 in /usr/bin/clickhouse 17. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 19. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:15:32.623522 [ 1121 ] {e6ce1332-2c09-46f0-ba7d-4b4365b38c58} executeQuery: Code: 636. DB::Exception: Cannot extract table structure from Parquet format file, because there are no files with provided path in S3 or all files are empty. You must specify table structure manually: Cannot extract table structure from Parquet format file. You can specify the structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46334) (comment: 02873_s3_presigned_url_and_url_with_special_characters.sql) (in query: select * from s3('https://datasets-documentation.s3.eu-west-3.amazonaws.com/MyPrefix/*.parquet?some_tocken=ABCD');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageS3.cpp:1489: DB::(anonymous namespace)::ReadBufferIterator::next() @ 0x000000001d94c5f1 in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:85: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e69538d in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e697148 in /usr/bin/clickhouse 9. /build/src/Storages/StorageS3.cpp:1569: DB::StorageS3::getTableStructureFromDataImpl(DB::StorageS3::Configuration const&, std::optional const&, std::shared_ptr) @ 0x000000001d94571e in /usr/bin/clickhouse 10. /build/src/Storages/StorageS3.cpp:997: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000001d944f95 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3* std::construct_at[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, DB::StorageS3*>(DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a1dd1 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void, void>(std::allocator&, DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a1ada in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&>(std::allocator, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a1785 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a15ba in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a99ab40 in /usr/bin/clickhouse 16. /build/src/TableFunctions/TableFunctionS3.cpp:351: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9994a5 in /usr/bin/clickhouse 17. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 19. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:15:32.624475 [ 1121 ] {e6ce1332-2c09-46f0-ba7d-4b4365b38c58} TCPHandler: Code: 636. DB::Exception: Cannot extract table structure from Parquet format file, because there are no files with provided path in S3 or all files are empty. You must specify table structure manually: Cannot extract table structure from Parquet format file. You can specify the structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageS3.cpp:1489: DB::(anonymous namespace)::ReadBufferIterator::next() @ 0x000000001d94c5f1 in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:85: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e69538d in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e697148 in /usr/bin/clickhouse 9. /build/src/Storages/StorageS3.cpp:1569: DB::StorageS3::getTableStructureFromDataImpl(DB::StorageS3::Configuration const&, std::optional const&, std::shared_ptr) @ 0x000000001d94571e in /usr/bin/clickhouse 10. /build/src/Storages/StorageS3.cpp:997: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000001d944f95 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3* std::construct_at[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, DB::StorageS3*>(DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a1dd1 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void, void>(std::allocator&, DB::StorageS3*, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a1ada in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&>(std::allocator, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a1785 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a9a15ba in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x000000001a99ab40 in /usr/bin/clickhouse 16. /build/src/TableFunctions/TableFunctionS3.cpp:351: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9994a5 in /usr/bin/clickhouse 17. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 18. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 19. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:15:34.986276 [ 1122 ] {970e41d0-3022-45fb-b0ee-900590f3c5d1} executeQuery: Code: 43. DB::Exception: Illegal type UInt8 of argument of function arrayShiftLeft, expected String: While processing arrayShiftLeft(['foo'], 3, 3). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46402) (comment: 02845_arrayShiftRotate.sql) (in query: select arrayShiftLeft(['foo'], 3, 3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayShiftRotate.cpp:81: DB::FunctionArrayShiftRotate, DB::NameArrayShiftLeft>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000132c91cf in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:15:35.112128 [ 1123 ] {fa22e385-0798-4128-bc5e-68696acf2b1b} executeQuery: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/user_files/a, errno: 2, strerror: No such file or directory: while executing 'FUNCTION file(materialize('a') :: 1) -> file(materialize('a')) String : 0'. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46422) (comment: 02843_context_has_expired.sql) (in query: SELECT 1 in (SELECT file(materialize('a')));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:169: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x00000000138e14f0 in /usr/bin/clickhouse 6. /build/src/Common/Exception.cpp:224: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x00000000138dcc9b in /usr/bin/clickhouse 7. /build/src/IO/ReadBufferFromFile.cpp:48: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x00000000139737b6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionFile.cpp:135: DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b8f6103 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 17. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 2024.12.17 01:15:35.112128 [ 1122 ] {970e41d0-3022-45fb-b0ee-900590f3c5d1} TCPHandler: Code: 43. DB::Exception: Illegal type UInt8 of argument of function arrayShiftLeft, expected String: While processing arrayShiftLeft(['foo'], 3, 3). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayShiftRotate.cpp:81: DB::FunctionArrayShiftRotate, DB::NameArrayShiftLeft>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000132c91cf in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:15:35.113503 [ 1123 ] {fa22e385-0798-4128-bc5e-68696acf2b1b} TCPHandler: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/user_files/a, errno: 2, strerror: No such file or directory: while executing 'FUNCTION file(materialize('a') :: 1) -> file(materialize('a')) String : 0'. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:169: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x00000000138e14f0 in /usr/bin/clickhouse 6. /build/src/Common/Exception.cpp:224: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x00000000138dcc9b in /usr/bin/clickhouse 7. /build/src/IO/ReadBufferFromFile.cpp:48: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x00000000139737b6 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionFile.cpp:135: DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b8f6103 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 17. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 2024.12.17 01:15:35.121490 [ 1122 ] {a06a95a3-9f6c-4b4e-9538-4f5f42a2a822} executeQuery: Code: 43. DB::Exception: Illegal type String of argument of function arrayShiftLeft, expected UInt8: While processing arrayShiftLeft([1], 3, 'foo'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46402) (comment: 02845_arrayShiftRotate.sql) (in query: select arrayShiftLeft([1], 3, 'foo');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayShiftRotate.cpp:81: DB::FunctionArrayShiftRotate, DB::NameArrayShiftLeft>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000132c91cf in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:15:35.122357 [ 1122 ] {a06a95a3-9f6c-4b4e-9538-4f5f42a2a822} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument of function arrayShiftLeft, expected UInt8: While processing arrayShiftLeft([1], 3, 'foo'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayShiftRotate.cpp:81: DB::FunctionArrayShiftRotate, DB::NameArrayShiftLeft>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000132c91cf in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:15:37.055147 [ 1123 ] {cfc67cd2-d0f0-4246-9c1d-7c5ad045e63d} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statement with subquery may be nondeterministic, see allow_nondeterministic_mutations setting. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46428) (comment: 02842_mutations_replace_non_deterministic.sql) (in query: -- Too big result. ALTER TABLE t_mutations_nondeterministic UPDATE v = (SELECT groupArray(number) FROM numbers(10000)) WHERE 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [120]) @ 0x000000001b8aa09e in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1285: DB::MutationsInterpreter::validate() @ 0x000000001cc6eff6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47e3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:37.055981 [ 1123 ] {cfc67cd2-d0f0-4246-9c1d-7c5ad045e63d} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statement with subquery may be nondeterministic, see allow_nondeterministic_mutations setting. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [120]) @ 0x000000001b8aa09e in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1285: DB::MutationsInterpreter::validate() @ 0x000000001cc6eff6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47e3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:38.045901 [ 1123 ] {fb1ecb7a-5204-4c63-a494-e27085be39dc} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'filesystemCapacity' is non-deterministic. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46428) (comment: 02842_mutations_replace_non_deterministic.sql) (in query: ALTER TABLE t_mutations_nondeterministic UPDATE v = filesystemCapacity(materialize('default')) WHERE 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc6f120 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47e3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:38.046736 [ 1123 ] {fb1ecb7a-5204-4c63-a494-e27085be39dc} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'filesystemCapacity' is non-deterministic. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc6f120 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47e3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:39.424013 [ 1121 ] {3cbeda89-183a-4b45-9ea9-e8f3b0a132ac} executeQuery: Code: 44. DB::Exception: Sorting key cannot contain constants. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46494) (comment: 02816_check_projection_metadata.sql) (in query: CREATE TABLE kek (`uuid` FixedString(16), `id` int, `ns` String, `dt` DateTime64(6), PROJECTION null_pk (SELECT * ORDER BY ns, 1, 4)) ENGINE = MergeTree ORDER BY (id, dt, uuid) SETTINGS index_granularity = 9721, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 2594, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 789595787, index_granularity_bytes = 9102806, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 19399, primary_key_compress_block_size = 28918), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:474: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de6449d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63db0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:606: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63cc3 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 11. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 24. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:15:39.425089 [ 1121 ] {3cbeda89-183a-4b45-9ea9-e8f3b0a132ac} TCPHandler: Code: 44. DB::Exception: Sorting key cannot contain constants. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:474: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de6449d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63db0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:606: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63cc3 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 11. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 24. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:15:39.617173 [ 1120 ] {9264c678-a8af-4f06-bd6d-14b7a754edca} executeQuery: Code: 36. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): __settings_17558612725642278067_9650240350333316723. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46506) (comment: 02815_logical_error_cannot_get_column_name_of_set.sql) (in query: SELECT * FROM numbers(SETTINGS x = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Interpreters/evaluateConstantExpression.cpp:93: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a154 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:61: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a959c6c in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9598b2 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:39.618034 [ 1120 ] {9264c678-a8af-4f06-bd6d-14b7a754edca} TCPHandler: Code: 36. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): __settings_17558612725642278067_9650240350333316723. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Interpreters/evaluateConstantExpression.cpp:93: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a154 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:61: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a959c6c in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9598b2 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:39.746602 [ 1120 ] {98eff0b3-b1e6-4981-b4ea-4f50439144da} executeQuery: Code: 46. DB::Exception: Unknown function numbers: While processing numbers(SETTINGS x = 1). (UNKNOWN_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46506) (comment: 02815_logical_error_cannot_get_column_name_of_set.sql) (in query: SELECT * FROM numbers(numbers(SETTINGS x = 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x00000000139fecac in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x000000001abf2d4c in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x000000001abf344a in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe7c44 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb7ccd in /usr/bin/clickhouse 16. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089ecb in /usr/bin/clickhouse 17. /build/src/TableFunctions/TableFunctionNumbers.cpp:61: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a959c6c in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9598b2 in /usr/bin/clickhouse 19. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:15:39.747401 [ 1120 ] {98eff0b3-b1e6-4981-b4ea-4f50439144da} TCPHandler: Code: 46. DB::Exception: Unknown function numbers: While processing numbers(SETTINGS x = 1). (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x00000000139fecac in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x000000001abf2d4c in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x000000001abf344a in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe7c44 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb7ccd in /usr/bin/clickhouse 16. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089ecb in /usr/bin/clickhouse 17. /build/src/TableFunctions/TableFunctionNumbers.cpp:61: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a959c6c in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9598b2 in /usr/bin/clickhouse 19. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:15:39.877764 [ 1120 ] {51ec35b8-8245-4436-b905-d9342e6e7932} executeQuery: Code: 46. DB::Exception: Unknown function numbers: While processing numbers(SETTINGS x = 1). (UNKNOWN_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46506) (comment: 02815_logical_error_cannot_get_column_name_of_set.sql) (in query: SELECT * FROM numbers(numbers(SETTINGS x = 1), SETTINGS x = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x00000000139fecac in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x000000001abf2d4c in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x000000001abf344a in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe7c44 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb7ccd in /usr/bin/clickhouse 16. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089ecb in /usr/bin/clickhouse 17. /build/src/TableFunctions/TableFunctionNumbers.cpp:61: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a959c6c in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionNumbers.cpp:42: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a959787 in /usr/bin/clickhouse 19. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:15:39.878621 [ 1120 ] {51ec35b8-8245-4436-b905-d9342e6e7932} TCPHandler: Code: 46. DB::Exception: Unknown function numbers: While processing numbers(SETTINGS x = 1). (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x00000000139fecac in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x000000001abf2d4c in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x000000001abf344a in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe7c44 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb7ccd in /usr/bin/clickhouse 16. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089ecb in /usr/bin/clickhouse 17. /build/src/TableFunctions/TableFunctionNumbers.cpp:61: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a959c6c in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionNumbers.cpp:42: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a959787 in /usr/bin/clickhouse 19. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:15:42.979752 [ 1121 ] {fa512e4f-59c9-42e9-83dc-f77c2f95e05d} executeQuery: Code: 86. DB::HTTPException: Received error from remote server /test%2Fa.tsv. HTTP status code: 403 Forbidden, body: AccessDeniedAccess Denied.test%2Fa.tsv/test/a.tsv1811CB5F921F1B59d57c3ea4-77bf-4a02-9605-db2ef3b0b28c: (in file/uri /test%2Fa.tsv): (while reading header): While executing TabSeparatedRowInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37056) (comment: 02833_url_without_path_encoding.sh) (in query: select count() from url('http://localhost:11111/test%2Fa.tsv') settings enable_url_encoding=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cac1a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca03cb in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cabf71 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca026b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca0086 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c641b0 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c67fb0 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c66980 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c68fb6 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 15. /build/src/IO/PeekableReadBuffer.cpp:179: DB::PeekableReadBuffer::nextImpl() @ 0x000000001399787a in /usr/bin/clickhouse 16. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 17. /build/src/IO/ReadBuffer.h:105: DB::skipBOMIfExists(DB::ReadBuffer&) @ 0x000000001e7eacc8 in /usr/bin/clickhouse 18. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readPrefix() @ 0x000000001e7e75a0 in /usr/bin/clickhouse 19. /build/src/Processors/Formats/IRowInputFormat.cpp:94: DB::IRowInputFormat::generate() @ 0x000000001e7a6c59 in /usr/bin/clickhouse 20. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 21. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 27. /build/src/Storages/StorageURL.cpp:401: DB::StorageURLSource::generate() @ 0x000000001d9fff1c in /usr/bin/clickhouse 28. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 29. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 2024.12.17 01:15:42.991219 [ 1121 ] {fa512e4f-59c9-42e9-83dc-f77c2f95e05d} TCPHandler: Code: 86. DB::HTTPException: Received error from remote server /test%2Fa.tsv. HTTP status code: 403 Forbidden, body: AccessDeniedAccess Denied.test%2Fa.tsv/test/a.tsv1811CB5F921F1B59d57c3ea4-77bf-4a02-9605-db2ef3b0b28c: (in file/uri /test%2Fa.tsv): (while reading header): While executing TabSeparatedRowInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cac1a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca03cb in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cabf71 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca026b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca0086 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c641b0 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c67fb0 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c66980 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c68fb6 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 15. /build/src/IO/PeekableReadBuffer.cpp:179: DB::PeekableReadBuffer::nextImpl() @ 0x000000001399787a in /usr/bin/clickhouse 16. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 17. /build/src/IO/ReadBuffer.h:105: DB::skipBOMIfExists(DB::ReadBuffer&) @ 0x000000001e7eacc8 in /usr/bin/clickhouse 18. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readPrefix() @ 0x000000001e7e75a0 in /usr/bin/clickhouse 19. /build/src/Processors/Formats/IRowInputFormat.cpp:94: DB::IRowInputFormat::generate() @ 0x000000001e7a6c59 in /usr/bin/clickhouse 20. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 21. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 27. /build/src/Storages/StorageURL.cpp:401: DB::StorageURLSource::generate() @ 0x000000001d9fff1c in /usr/bin/clickhouse 28. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 29. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 2024.12.17 01:15:44.081626 [ 1123 ] {3df1dae2-befb-4d73-9193-3a8d06eb6d1b} executeQuery: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but the column in the position 0 is a, not b. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37088) (comment: 02811_primary_key_in_columns.sql) (in query: CREATE TABLE pk_test21 (a String, b String PRIMARY KEY, c String PRIMARY KEY) ORDER BY (a,b,c);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5def0c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:519: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de62bb5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 22. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 01:15:44.082689 [ 1123 ] {3df1dae2-befb-4d73-9193-3a8d06eb6d1b} TCPHandler: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but the column in the position 0 is a, not b. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5def0c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:519: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de62bb5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 22. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 01:15:44.102117 [ 1123 ] {458cbcb2-813f-4399-9876-e0a8985b71b3} executeQuery: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but the column in the position 0 is a, not b. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37088) (comment: 02811_primary_key_in_columns.sql) (in query: CREATE TABLE pk_test22 (a String, b String PRIMARY KEY, c String) ORDER BY (a,b,c);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5def0c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:519: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de62bb5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 22. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 01:15:44.103061 [ 1123 ] {458cbcb2-813f-4399-9876-e0a8985b71b3} TCPHandler: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but the column in the position 0 is a, not b. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5def0c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:519: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de62bb5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 22. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 01:15:44.121462 [ 1123 ] {12d4ae07-d6cd-45bf-b5fe-ad83557a48e0} executeQuery: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but the column in the position 0 is a, not c. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37088) (comment: 02811_primary_key_in_columns.sql) (in query: CREATE TABLE pk_test23 (a String, b String, c String PRIMARY KEY) ORDER BY (a,b,c);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5def0c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:519: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de62bb5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 22. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 01:15:44.122473 [ 1123 ] {12d4ae07-d6cd-45bf-b5fe-ad83557a48e0} TCPHandler: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but the column in the position 0 is a, not c. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5def0c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:519: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de62bb5 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 22. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 01:15:48.247397 [ 1124 ] {15472c12-e8c3-4e65-9a76-c1a05f488c05} executeQuery: Code: 36. DB::Exception: DELETE query is not supported for table test_ifhjcqm1.t_projections_lwd. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37176) (comment: 02792_drop_projection_lwd.sql) (in query: -- LWD does not work, as expected DELETE FROM t_projections_lwd WHERE a = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:109: DB::InterpreterDeleteQuery::execute() @ 0x000000001ca6fbce in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 16. ? @ 0x00007f3559e74ac3 in ? 17. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:48.248052 [ 1124 ] {15472c12-e8c3-4e65-9a76-c1a05f488c05} TCPHandler: Code: 36. DB::Exception: DELETE query is not supported for table test_ifhjcqm1.t_projections_lwd. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:109: DB::InterpreterDeleteQuery::execute() @ 0x000000001ca6fbce in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 16. ? @ 0x00007f3559e74ac3 in ? 17. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:15:55.417871 [ 1435 ] {a6918d28-f652-4ed6-a522-f0241f267b67} MergeTreeDataWriter: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 'string1').). 2024.12.17 01:16:03.630033 [ 2669 ] {0fc9a70d-76bd-4ce7-be76-dbcbc9d9157a} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'array_1' of function arrayJaccardIndex, expected Array, got String: While processing 'a' AS arr1, 2 AS arr2, round(arrayJaccardIndex(arr1, arr2), 2). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51930) (comment: 02737_arrayJaccardIndex.sql) (in query: SELECT 'a' AS arr1, 2 AS arr2, round(arrayJaccardIndex(arr1, arr2), 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e40 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayJaccardIndex.cpp:93: DB::FunctionArrayJaccardIndex::getReturnTypeImpl(std::vector> const&) const @ 0x0000000013288a91 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:03.631087 [ 2669 ] {0fc9a70d-76bd-4ce7-be76-dbcbc9d9157a} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'array_1' of function arrayJaccardIndex, expected Array, got String: While processing 'a' AS arr1, 2 AS arr2, round(arrayJaccardIndex(arr1, arr2), 2). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e40 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayJaccardIndex.cpp:93: DB::FunctionArrayJaccardIndex::getReturnTypeImpl(std::vector> const&) const @ 0x0000000013288a91 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:03.753561 [ 2669 ] {dc2edcc1-e0aa-41da-b3ae-88610897616c} executeQuery: Code: 43. DB::Exception: array aggregate functions cannot be performed on two empty arrays: While processing [] AS arr1, [] AS arr2, round(arrayJaccardIndex(arr1, arr2), 2). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51930) (comment: 02737_arrayJaccardIndex.sql) (in query: SELECT [] AS arr1, [] AS arr2, round(arrayJaccardIndex(arr1, arr2), 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [66]) @ 0x000000000d72763e in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayJaccardIndex.cpp:73: void DB::FunctionArrayJaccardIndex::vectorWithEmptyIntersect(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0x0000000013288f5a in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayJaccardIndex.cpp:139: DB::FunctionArrayJaccardIndex::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013287f8b in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 2024.12.17 01:16:03.754688 [ 2669 ] {dc2edcc1-e0aa-41da-b3ae-88610897616c} TCPHandler: Code: 43. DB::Exception: array aggregate functions cannot be performed on two empty arrays: While processing [] AS arr1, [] AS arr2, round(arrayJaccardIndex(arr1, arr2), 2). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [66]) @ 0x000000000d72763e in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayJaccardIndex.cpp:73: void DB::FunctionArrayJaccardIndex::vectorWithEmptyIntersect(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0x0000000013288f5a in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayJaccardIndex.cpp:139: DB::FunctionArrayJaccardIndex::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013287f8b in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 2024.12.17 01:16:03.856337 [ 2669 ] {012e810a-5341-4422-9fb3-9ad2dcb1694f} executeQuery: Code: 386. DB::Exception: There is no subtype for types String, UInt8 because some of them are String/FixedString and some of them are not: While processing ['1', '2'] AS arr1, [1, 2] AS arr2, round(arrayJaccardIndex(arr1, arr2), 2). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51930) (comment: 02737_arrayJaccardIndex.sql) (in query: SELECT ['1', '2'] AS arr1, [1,2] AS arr2, round(arrayJaccardIndex(arr1, arr2), 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/DataTypes/getMostSubtype.cpp:53: DB::getMostSubtype(std::vector, std::allocator>> const&, bool, bool)::$_0::operator()(String const&) const @ 0x000000001ba17adf in /usr/bin/clickhouse 7. /build/src/DataTypes/getMostSubtype.cpp:232: DB::getMostSubtype(std::vector, std::allocator>> const&, bool, bool) @ 0x000000001ba1685d in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIntersect.cpp:156: DB::FunctionArrayIntersect::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001322f458 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 14. /build/src/Functions/array/arrayJaccardIndex.cpp:115: DB::FunctionArrayJaccardIndex::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013287c28 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 2024.12.17 01:16:03.857173 [ 2669 ] {012e810a-5341-4422-9fb3-9ad2dcb1694f} TCPHandler: Code: 386. DB::Exception: There is no subtype for types String, UInt8 because some of them are String/FixedString and some of them are not: While processing ['1', '2'] AS arr1, [1, 2] AS arr2, round(arrayJaccardIndex(arr1, arr2), 2). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/DataTypes/getMostSubtype.cpp:53: DB::getMostSubtype(std::vector, std::allocator>> const&, bool, bool)::$_0::operator()(String const&) const @ 0x000000001ba17adf in /usr/bin/clickhouse 7. /build/src/DataTypes/getMostSubtype.cpp:232: DB::getMostSubtype(std::vector, std::allocator>> const&, bool, bool) @ 0x000000001ba1685d in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIntersect.cpp:156: DB::FunctionArrayIntersect::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001322f458 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 14. /build/src/Functions/array/arrayJaccardIndex.cpp:115: DB::FunctionArrayJaccardIndex::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013287c28 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 2024.12.17 01:16:05.033831 [ 1121 ] {c68d4bc9-fa24-42f5-828f-f7dca3563999} executeQuery: Code: 47. DB::Exception: Missing columns: 'non_existent_column' while processing query: 'WITH table_0 AS (SELECT * FROM system.users) SELECT non_existent_column FROM table_0', required columns: 'non_existent_column' 'non_existent_column'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51884) (comment: 02766_prql.sh) (in query: from s"SELECT * FROM system.users" | select non_existent_column;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:05.034799 [ 1121 ] {c68d4bc9-fa24-42f5-828f-f7dca3563999} TCPHandler: Code: 47. DB::Exception: Missing columns: 'non_existent_column' while processing query: 'WITH table_0 AS (SELECT * FROM system.users) SELECT non_existent_column FROM table_0', required columns: 'non_existent_column' 'non_existent_column'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:05.418745 [ 1435 ] {b0c29a7e-6e4b-4875-8b7d-07d23a2e7404} MergeTreeDataWriter: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 'string1').). 2024.12.17 01:16:05.614672 [ 1121 ] {6c574a1d-da6a-4db9-a4d0-dabfa7e39fb3} executeQuery: Code: 60. DB::Exception: Table test_j415q6kc.non_existent_table does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51884) (comment: 02766_prql.sh) (in query: from non_existent_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:05.615451 [ 1121 ] {6c574a1d-da6a-4db9-a4d0-dabfa7e39fb3} TCPHandler: Code: 60. DB::Exception: Table test_j415q6kc.non_existent_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:08.802327 [ 2669 ] {043275af-5533-4e69-bfd4-50ba3553af44} executeQuery: Code: 36. DB::Exception: The change of data type Nullable(String) of column `value` to Object('json') is not allowed. It has known bugs. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52024) (comment: 02725_object_column_alter.sql) (in query: ALTER TABLE t_to MODIFY COLUMN value Object('json');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1170: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dbc4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:08.803008 [ 2669 ] {043275af-5533-4e69-bfd4-50ba3553af44} TCPHandler: Code: 36. DB::Exception: The change of data type Nullable(String) of column `value` to Object('json') is not allowed. It has known bugs. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1170: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dbc4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:08.810901 [ 2669 ] {7b2fe98d-d5e0-44bd-bc20-d7adf911b285} executeQuery: Code: 36. DB::Exception: The change of data type Object('json') of column `value` to Nullable(String) is not allowed. It has known bugs. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52024) (comment: 02725_object_column_alter.sql) (in query: ALTER TABLE t_from MODIFY COLUMN value Nullable(String);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1170: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dbc4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:08.811510 [ 2669 ] {7b2fe98d-d5e0-44bd-bc20-d7adf911b285} TCPHandler: Code: 36. DB::Exception: The change of data type Object('json') of column `value` to Nullable(String) is not allowed. It has known bugs. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1170: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58dbc4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:09.077915 [ 1121 ] {6b75a397-d217-4458-8095-d62ebd8957f1} executeQuery: Code: 475. DB::Exception: The same column in ORDER BY before WITH FILL (sorting prefix) and INTERPOLATE is not allowed. Column: value. (INVALID_WITH_FILL_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52006) (comment: 02730_with_fill_by_sorting_prefix.sql) (in query: -- checking that sorting prefix columns can't be used in INTERPOLATE SELECT * FROM ts ORDER BY sensor_id, value, timestamp WITH FILL FROM 6 TO 10 INTERPOLATE ( value AS 1 );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/FillingTransform.cpp:285: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001ee33a81 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::FillingTransform* std::construct_at[abi:v15000], bool const&, DB::FillingTransform*>(DB::FillingTransform*, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee31df8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], bool const&, void, void>(std::allocator&, DB::FillingTransform*, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee31b61 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], bool const&>(std::allocator, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee3184d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee316a0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], bool const&, void>(DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee30a86 in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/FillingStep.cpp:53: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x000000001ee307f1 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee30747 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee30705 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee306c5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000001ee3066c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) const @ 0x000000001b83c508 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::Block const&, DB::Pipe::StreamType)>::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x000000001b83c484 in /usr/bin/clickhouse 19. /build/src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x000000001b82a8ae in /usr/bin/clickhouse 20. /build/src/QueryPipeline/Pipe.cpp:658: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x000000001b82a796 in /usr/bin/clickhouse 21. /build/src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x000000001b8590ce in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/FillingStep.cpp:48: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee30142 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee50adc in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 01:16:09.079008 [ 1121 ] {6b75a397-d217-4458-8095-d62ebd8957f1} TCPHandler: Code: 475. DB::Exception: The same column in ORDER BY before WITH FILL (sorting prefix) and INTERPOLATE is not allowed. Column: value. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/FillingTransform.cpp:285: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001ee33a81 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::FillingTransform* std::construct_at[abi:v15000], bool const&, DB::FillingTransform*>(DB::FillingTransform*, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee31df8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], bool const&, void, void>(std::allocator&, DB::FillingTransform*, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee31b61 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], bool const&>(std::allocator, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee3184d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee316a0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], bool const&, void>(DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee30a86 in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/FillingStep.cpp:53: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x000000001ee307f1 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee30747 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee30705 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee306c5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000001ee3066c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) const @ 0x000000001b83c508 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::Block const&, DB::Pipe::StreamType)>::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x000000001b83c484 in /usr/bin/clickhouse 19. /build/src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x000000001b82a8ae in /usr/bin/clickhouse 20. /build/src/QueryPipeline/Pipe.cpp:658: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x000000001b82a796 in /usr/bin/clickhouse 21. /build/src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x000000001b8590ce in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/FillingStep.cpp:48: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee30142 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee50adc in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 01:16:09.404445 [ 1121 ] {974d38fa-9093-4f60-a21c-bae05fc9a8b1} executeQuery: Code: 36. DB::Exception: Cannot specify codec for column type ALIAS. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52052) (comment: 02725_alias_columns_should_not_allow_compression_codec.sql) (in query: CREATE TABLE IF NOT EXISTS alias_column_should_not_allow_compression_fail (`user_id` UUID, `user_id_hashed` ALIAS cityHash64(user_id) CODEC(LZ4HC(1))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 9464, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 5415, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 29493876, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 87104, primary_key_compress_block_size = 70879), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1f92be in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:634: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e77b1 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:09.405407 [ 1121 ] {974d38fa-9093-4f60-a21c-bae05fc9a8b1} TCPHandler: Code: 36. DB::Exception: Cannot specify codec for column type ALIAS. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1f92be in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:634: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e77b1 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:09.504131 [ 1121 ] {a5234bee-23d4-4974-9084-13dd52ee0e13} executeQuery: Code: 36. DB::Exception: Cannot specify codec for column type ALIAS. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52052) (comment: 02725_alias_columns_should_not_allow_compression_codec.sql) (in query: alter table alias_column_should_not_allow_compression modify column user_id_hashed codec(LZ4HC(1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1f92be in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1128: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58d0da in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:09.505067 [ 1121 ] {a5234bee-23d4-4974-9084-13dd52ee0e13} TCPHandler: Code: 36. DB::Exception: Cannot specify codec for column type ALIAS. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1f92be in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1128: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58d0da in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:09.589482 [ 1121 ] {3de53519-a942-42a2-ab24-d5561ee8e1be} executeQuery: Code: 36. DB::Exception: Cannot specify codec for column type ALIAS. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52052) (comment: 02725_alias_columns_should_not_allow_compression_codec.sql) (in query: alter table alias_column_should_not_allow_compression add column user_id_hashed_1 UInt64 ALIAS (cityHash64(user_id)) codec(LZ4HC(1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1f92be in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:110: DB::AlterCommand::parse(DB::ASTAlterCommand const*) @ 0x000000001d585042 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:130: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d3bdf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:09.590297 [ 1121 ] {3de53519-a942-42a2-ab24-d5561ee8e1be} TCPHandler: Code: 36. DB::Exception: Cannot specify codec for column type ALIAS. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1f92be in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:110: DB::AlterCommand::parse(DB::ASTAlterCommand const*) @ 0x000000001d585042 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:130: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d3bdf in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:15.417710 [ 1435 ] {e377cfc6-6295-4014-9706-b3c085d7de65} MergeTreeDataWriter: Incorrect data: number of rows with sign = 1 (3) differs with number of rows with sign = -1 (0) by more than one (for key: 'string2').). 2024.12.17 01:16:15.425638 [ 1435 ] {e377cfc6-6295-4014-9706-b3c085d7de65} MergeTreeDataWriter: Incorrect data: number of rows with sign = 1 (2) differs with number of rows with sign = -1 (0) by more than one (for key: 'string2').). 2024.12.17 01:16:20.274719 [ 2885 ] {c2f31e7f-40c9-4cf9-a4e8-545440ca2e30} executeQuery: Code: 131. DB::Exception: Too long name of aggregate function, maximum: 1000: While processing minOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNull(1). (TOO_LARGE_STRING_SIZE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53366) (comment: 02688_long_aggregate_function_names.sql) (in query: SELECT minOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNull(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x000000000b93b533 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:268: DB::AggregateFunctionFactory::isAggregateFunctionName(String) const @ 0x000000001ac01b69 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:201: DB::(anonymous namespace)::CustomizeAggregateFunctionsMoveSuffixData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x000000001cfab0a4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::(anonymous namespace)::CustomizeAggregateFunctionsMoveSuffixData&) @ 0x000000001cfab021 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x000000001cfaae20 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfab741 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfaadaa in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfab7e6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfab74e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfaadaa in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfab7e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfab74e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfaadaa in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfa1865 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1413: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9de98 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9bd47 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:16:20.276258 [ 2885 ] {c2f31e7f-40c9-4cf9-a4e8-545440ca2e30} TCPHandler: Code: 131. DB::Exception: Too long name of aggregate function, maximum: 1000: While processing minOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNull(1). (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x000000000b93b533 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:268: DB::AggregateFunctionFactory::isAggregateFunctionName(String) const @ 0x000000001ac01b69 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:201: DB::(anonymous namespace)::CustomizeAggregateFunctionsMoveSuffixData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x000000001cfab0a4 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::(anonymous namespace)::CustomizeAggregateFunctionsMoveSuffixData&) @ 0x000000001cfab021 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x000000001cfaae20 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfab741 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfaadaa in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfab7e6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfab74e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfaadaa in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfab7e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfab74e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfaadaa in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfa1865 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1413: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9de98 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9bd47 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:16:20.844480 [ 2670 ] {e3e83126-ba3a-4007-8f2b-4e152dea5654} executeQuery: Code: 117. DB::Exception: Incorrect size of a string (zero) in BSON: (at row 6) : While executing BSONEachRowRowInputFormat. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41522) (comment: 02686_bson3.sql) (in query: -- It correctly throws exception about incorrect data: SELECT * FROM format(BSONEachRow, 'WatchID Int64, JavaEnable Int16, Title String, GoodEvent Int16, EventTime DateTime, EventDate Date, CounterID Int32, ClientIP Int32, RegionID Int32, UserID Int64, CounterClass Int16, OS Int16, UserAgent Int16, URL String, Referer String, IsRefresh Int16, RefererCategoryID Int16, RefererRegionID Int32, URLCategoryID Int16, URLRegionID Int32, ResolutionWidth Int16, ResolutionHeight Int16, ResolutionDepth Int16, FlashMajor Int16, FlashMinor Int16, FlashMinor2 String, NetMajor Int16, NetMinor Int16, UserAgentMajor Int16, UserAgentMinor String, CookieEnable Int16, JavascriptEnable Int16, IsMobile Int16, MobilePhone Int16, MobilePhoneModel String, Params String, IPNetworkID Int32, TraficSourceID Int16, SearchEngineID Int16, SearchPhrase String, AdvEngineID Int16, IsArtifical Int16, WindowClientWidth Int16, WindowClientHeight Int16, ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 Int16, SilverlightVersion2 Int16, SilverlightVersion3 Int32, SilverlightVersion4 Int16, PageCharset String, CodeVersion Int32, IsLink Int16, IsDownload Int16, IsNotBounce Int16, FUniqID Int64, OriginalURL String, HID Int32, IsOldCounter Int16, IsEvent Int16, IsParameter Int16, DontCountHits Int16, WithHash Int16, HitColor String, LocalEventTime DateTime, Age Int16, Sex Int16, Income Int16, Interests Int16, Robotness Int16, RemoteIP Int32, WindowName Int32, OpenerName Int32, HistoryLength Int16, BrowserLanguage String, BrowserCountry String, SocialNetwork String, SocialAction String, HTTPError Int16, SendTiming Int32, DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32, FetchTiming Int32, SocialSourceNetworkID Int16, SocialSourcePage String, ParamPrice Int64, ParamOrderID String, ParamCurrency String, ParamCurrencyID Int16, OpenstatServiceName String, OpenstatCampaignID String, OpenstatAdID String, OpenstatSourceID String, UTMSource String, UTMMedium String, UTMCampaign String, UTMContent String, UTMTerm String, FromTag String, HasGCLID Int16, RefererHash Int64, URLHash Int64, CLID Int32', $$^WatchIDc*5/ !p~JavaEnableTitleGoodEventEventTime7ðâQEventDate>CounterIDClientIP®Æz·RegionIDGUserID× ’•:6×ÝCounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnabl“ÿÿÿÿÿï¶sMobileMobilePhoneMobilePhoneModelParamsIPNetworkID¯á9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneÿÿÿÿClientEventTimeîáSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime&·ãQAgeSexIncomeInterestsRobotnessRemoteIP^DIÄWindowNameÿÿÿÿOpenerNameÿÿÿÿHistoryLengthÿÿÿÿBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+‚Œ'ÕãûURLHashÍ|3úÐb.‹CLID^WatchID úFÚÓ“2qJavaEnableTitleGoodEventEventTimen$äQEventDate>CounterIDClientIP®Æz·RegionIDGUserID× ’•:6×ÝCounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID¯á9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneÿÿÿÿClientEventTimeîáSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeǘãQAgeSexIncomeInterestsRobotnessRemoteIP^DIÄWindowNameÿÿÿÿOpenerNameÿÿÿÿHistoryLengthÿÿÿÿBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageP˜amPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+‚Œ'ÕãûURLHashÍ|3úÐb.‹CLID^WatchIDl!è–|¨@HJavaEnableTitleGoodEventEventTimeÃ)äQEventDate>CounterIDClientIP®Æz·RegionIDGUserID× ’•:6×ÝCounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID¯á9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneÿÿÿÿClientEventTimeîáSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime}žãQAgeSexIncomeInterestsRobotnessRemoteIP^DIÄWindowNameÿÿÿÿOpenerNameÿÿÿÿHistoryLengthÿÿÿÿBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+‚Œ'ÕãûURLHashÍ|3úÐb.‹CLID^WatchID²Ç=ÐŒWJavaEnableTitleGoodEventEventTime8*äQEventDate>CounterIDClientIP®Æz·RegionIDGUserID× ’•:6×ÝCounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID¯á9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneÿÿÿÿClientEventTimeîáSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeÝžãQAgeSexIncomeInterestsRobotnessRemoteIP^DIÄWindowNameÿÿÿÿOpenerNameÿÿÿÿHistoryLengthÿÿÿÿBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+‚Œ'ÕãûURLHashÍ|3úÐb.‹CLID‹WatchIDéòˆE&LyJavaEnableTitleGoodEventEventTimeJîâQEventDate>CounterIDClientIPº‹I`RegionID'UserIDq—íJd8CounterClassOSUserAgentURL-http://holodilnik.ru/russia/05jul2013&model=0RefererIsRefreshRefererCategoryIDRefererRegionIDURLCateParams String, IPNetworkID Int32, TraficSourceID Int16, SearchEngineID Int16, SearchPhrase String, AdvEngineID Int16, IsArtifical Int16, WindowClientWidth Int16, WindowClientHeight Int16, ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 Int16, SilverlightVersion2 Int16, SilverlightVersion3 Int32, SilverlightVersion4 Int16, PageCharset String, CodeVersion Int32, IsLink Int16, IsDownload Int16, IsNotBounce Int16, FUniqID Int64, OriginalURL String, HID Int32, IsOldCounter Int16, IsEvent Int16, IsParameter Int16, DontCountHits Int16, WithHash Int16, HitColor String, LocalEventTime DateTime, Age Int16, Sex Int16, Income Int16, Interests Int16, Robotness Int16, RemoteIP Int32, WindowName Int32, OpenerName Int32, HistoryLength Int16, BrowserLanguage String, BrowserCountry String, SocialNetwork String, SocialAction String, HTTPError Int16, SendTiming Int32, DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32,ÿÿÿÿHistoryLengthÿÿÿÿBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+‚Œ'ÕãûURLHashŽ oâïòeCLID¦WatchID¹ãk=÷±pJavaEnableTitleGoodEventEventTimeÉ ãQEventDate>CounterIDClien“¶¯ÿQ9…HRegionIDGUserID ÎKs}¡ïCounterClassOSUserAgentURLHhttp://afisha.mail.ru/catalog/314/women.ru/ency=1&page3/?errovat-pinnikiRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryID0=URLRegionIDØResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID¯á9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneÿÿÿÿClientEventTimeîáSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4 PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqID:¤ìWëÂmOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeA¶ãQAgeSexIncomeInterestsRobotnessRemoteIP^DIÄWindowNameÿÿÿÿOpenerNameÿÿÿÿHistoryLengthÿÿÿÿBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+‚Œ'ÕãûURLHashý€ à#â\CLIDœWatchIDæ1þž oíCJavaEnableTitleGoodEventEventTimeµ0äQEventDate>CounterIDClientIPÉ^{]RegionIDÅUserID&n%Št"6CounterClassOS'UserAgentURL>http://bonprix.ru/index.ru/cinema/art/0 986 424 233 ÑезонRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionID±ResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID‰#(TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneÿÿÿÿClientEventTimeîáSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime¼£ãQAgeSexIncomeInterestsRobotnessRemoteIP…UWindowNameÿÿÿÿOpenerNameÿÿÿÿHistoryLengthÿÿÿÿBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+‚Œ'ÕãûURLHashX-h³ýX CLID˜WatchID»-ÞC_JavaEnableTitleGoodEventEventTime83äQEventDate>CounterIDClientIPÉ^{]RegionIDÅUserID&n%Št"6CounterClassOS'UserAgentURL:http://bonprix.ru/index.ru/cinema/art/A00387,3797); ru)&bLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionID±ResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID‰#(TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneÿÿÿÿClientEventTimeîáSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime ¦ãQAgeSexIncomeInterestsRobotnessRemoteIP…UWindowNameÿÿÿÿOpenerNameÿÿÿÿHistoryLengthÿÿÿÿBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+‚Œ'ÕãûURLHashvÀvÍÀ‰ÇCLIDWatchIDìÒŒ\JavaEnableTitleGoodEventEventTime× äQEventDate>CounterIDClientIPgURegionIDåUserIDƒs—yyçófCounterClassOS,UserAgentURL1http://tours/Ekategoriya%2F&sr=http://slovareniyeRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDØesRolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajor UserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID¶œTraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneÿÿÿÿClientEventTimeîáSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeY’ãQAgeSexIncomeInterestsRobotnessRemoteIP€=kWindowNameÿÿÿÿOpenerNameÿÿÿÿHistoryLengthÿÿÿÿBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+‚Œ'ÕãûURLHashh˜´9›DCLID^WatchIDÛ/E‚ÜJÛ{JavaEnableTitleGoodEventEventTimeÖ1ãQEventDate>CounterIDClientIP®Æz·RegionIDGUserID× ’•:6×ÝCounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhkneModelParamsIPNetworkID¯á9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZoneÿÿÿÿClientEventTimeîáSilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime‹ÏãQAgeSexIncomeInterestsRobotnessRemoteIP^DIÄWindowNameÿÿÿÿOpenerNameÿÿÿÿHistoryLengthÿÿÿÿBrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+‚Œ'ÕãûURLHashÍ|3úÐb.‹CLID$$);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e33be in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:288: void DB::readAndInsertString(DB::ReadBuffer&, DB::IColumn&, DB::BSONType) @ 0x000000001e7ca45e in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:629: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001e7c5c4c in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7cb914 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001e6f5901 in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionFormat.cpp:87: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x000000001a9d645a in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionFormat.cpp:101: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9d6745 in /usr/bin/clickhouse 20. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 22. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:16:20.845792 [ 2670 ] {e3e83126-ba3a-4007-8f2b-4e152dea5654} TCPHandler: Code: 117. DB::Exception: Incorrect size of a string (zero) in BSON: (at row 6) : While executing BSONEachRowRowInputFormat. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e33be in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:288: void DB::readAndInsertString(DB::ReadBuffer&, DB::IColumn&, DB::BSONType) @ 0x000000001e7ca45e in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:629: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001e7c5c4c in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7cb914 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001e6f5901 in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionFormat.cpp:87: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x000000001a9d645a in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionFormat.cpp:101: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9d6745 in /usr/bin/clickhouse 20. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 22. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:16:21.768555 [ 2670 ] {ba02611a-7b69-42f3-8f78-b505f9716816} executeQuery: Code: 50. DB::Exception: Unknown BSON type: 0x00: While executing BSONEachRowRowInputFormat. (UNKNOWN_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41530) (comment: 02684_bson.sql) (in query: -- It correctly throws exception about incorrect data: SELECT * FROM format('BSONEachRow', 'WatchID Int64, JavaEnable Int16, Title String, GoodEvent Int16, EventTime DateTime, EventDate Date, CounterID Int32, ClientIP Int32, RegionID Int32, UserID Int64, CounterClass Int16, OS Int16, UserAgent Int16, URL String, Referer String, IsRefresh Int16, RefererCategoryID Int16, RefererRegionID Int32, URLCategoryID Int16, URLRegionID Int32, ResolutionWidth Int16, ResolutionHeight Int16, ResolutionDepth Int16, FlashMajor Int16, FlashMinor Int16, FlashMinor2 String, NetMajor Int16, NetMinor Int16, UserAgentMajor Int16, UserAgentMinor String, CookieEnable Int16, JavascriptEnable Int16, IsMobile Int16, MobilePhone Int16, MobilePhoneModel String, Params String, IPNetworkID Int32, TraficSourceID Int16, SearchEngineID Int16, SearchPhrase String, AdvEngineID Int16, IsArtifical Int16, WindowClientWidth Int16, WindowClientHeight Int16, ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 Int16, SilverlightVersion2 Int16, SilverlightVersion3 Int32, SilverlightVersion4 Int16, PageCharset String, CodeVersion Int32, IsLink Int16, IsDownload Int16, IsNotBounce Int16, FUniqID Int64, OriginalURL String, HID Int32, IsOldCounter Int16, IsEvent Int16, IsParameter Int16, DontCountHits Int16, WithHash Int16, HitColor String, LocalEventTime DateTime, Age Int16, Sex Int16, Income Int16, Interests Int16, Robotness Int16, RemoteIP Int32, WindowName Int32, OpenerName Int32, HistoryLength Int16, BrowserLanguage String, BrowserCountry String, SocialNetwork String, SocialAction String, HTTPError Int16, SendTiming Int32, DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32, FetchTiming Int32, SocialSourceNetworkID Int16, SocialSourcePage String, ParamPrice Int64, ParamOrderID String, ParamCurrency String, ParamCurrencyID Int16, OpenstatServiceName String, OpenstatCampaignID String, OpenstatAdID String, OpenstatSourceID String, UTMSource String, UTMMedium String, UTMCampaign String, UTMContent String, UTMTerm String, FromTag String, HasGCLID Int16, RefererHash Int64, URLHash Int64, CLID Int32', $$^WatchIDc*5/ !p~JavaEnableTitleGoodEventEventTime7��QEventDate>CounterIDClientIP��z�RegionIDGUserID� ��:6��CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID��9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZone����ClientEventTime��SilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime&��QAgeSexIncomeInterestsRobotnessRemoteIP^DI�WindowName����OpenerName����HistoryLength����BrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHash�|3��b.�CLID^WatchID��F�ӓ2qJavaEnableTitleGoodEventEventTimen$�QEventDate>CounterIDClientIP��z�RegionIDGUserID� ��:6��CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthmingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHashv�v����CLID�WatchID���\JavaEnableTitleGoodEventEventTime� �QEventDate>CounterIDClientIP�gURegionID�UserID�s�yy��fCounterClassOS,UserAgentURL1http://tours/Ekategoriya%2F&sr=http://slovareniyeRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionID�ResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajor UserAgentMinorD�CookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID��TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZone����ClientEventTime��SilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTimeY��QAgeSexIncomeInterestsRobotnessRemoteIP�=kWindowName����OpenerName����HistoryLength����BrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHashh��9�DCLID^WatchID�/E��J�{JavaEnableTitleGoodEventEventTime�1�QEventDate>CounterIDClientIP��z�RegionIDGUserID� ��:6��CounterClassOSUserAgentURLRefererIsRefreshRefererCategoryIDRefererRegionIDURLCategoryIDURLRegionIDResolutionWidthResolutionHeightResolutionDepthFlashMajorFlashMinorFlashMinor2NetMajorNetMinorUserAgentMajorUserAgentMinor�OCookieEnableJavascriptEnableIsMobileMobilePhoneMobilePhoneModelParamsIPNetworkID��9TraficSourceIDSearchEngineIDSearchPhraseAdvEngineIDIsArtificalWindowClientWidthWindowClientHeightClientTimeZone����ClientEventTime��SilverlightVersion1SilverlightVersion2SilverlightVersion3SilverlightVersion4PageCharsetCodeVersionIsLinkIsDownloadIsNotBounceFUniqIDOriginalURLHIDIsOldCounterIsEventIsParameterDontCountHitsWithHashHitColor5LocalEventTime���QAgeSexIncomeInterestsRobotnessRemoteIP^DI�WindowName����OpenerName����HistoryLength����BrowserLanguage�BrowserCountry� SocialNetworkSocialActionHTTPErrorSendTimingDNSTimingConnectTimingResponseStartTimingResponseEndTimingFetchTimingSocialSourceNetworkIDSocialSourcePageParamPriceParamOrderIDParamCurrencyNHParamCurrencyIDOpenstatServiceNameOpenstatCampaignIDOpenstatAdIDOpenstatSourceIDUTMSourceUTMMediumUTMCampaignUTMContentUTMTermFromTagHasGCLIDRefererHashX+��'���URLHash�|3��b.�CLID$$);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Formats/BSONTypes.cpp:23: DB::getBSONType(unsigned char) @ 0x000000001e7d2ae7 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:796: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7cb744 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 9. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001e6f5901 in /usr/bin/clickhouse 17. /build/src/TableFunctions/TableFunctionFormat.cpp:87: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x000000001a9d645a in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionFormat.cpp:101: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9d6745 in /usr/bin/clickhouse 19. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:16:21.769609 [ 2670 ] {ba02611a-7b69-42f3-8f78-b505f9716816} TCPHandler: Code: 50. DB::Exception: Unknown BSON type: 0x00: While executing BSONEachRowRowInputFormat. (UNKNOWN_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Formats/BSONTypes.cpp:23: DB::getBSONType(unsigned char) @ 0x000000001e7d2ae7 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:796: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7cb744 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 9. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001e6f5901 in /usr/bin/clickhouse 17. /build/src/TableFunctions/TableFunctionFormat.cpp:87: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x000000001a9d645a in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionFormat.cpp:101: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9d6745 in /usr/bin/clickhouse 19. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:16:22.183808 [ 2670 ] {9a1a0d3b-0777-4ae2-b5b7-fbca1cb0d6f5} executeQuery: Code: 44. DB::Exception: Sorting key cannot contain constants. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41568) (comment: 02679_query_parameters_dangling_pointer.sql) (in query: CREATE TABLE test.xxx (`a` Int64) ENGINE = MergeTree ORDER BY 'a' SETTINGS index_granularity = 40190, min_bytes_for_wide_part = 624700902, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 13426, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 75, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 21883405, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 31432, primary_key_compress_block_size = 51040), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:474: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de6449d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63db0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:16:22.184926 [ 2670 ] {9a1a0d3b-0777-4ae2-b5b7-fbca1cb0d6f5} TCPHandler: Code: 44. DB::Exception: Sorting key cannot contain constants. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:474: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de6449d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63db0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:16:23.443438 [ 2885 ] {cdb18a59-6053-4bb7-9151-81cc53656fa5} executeQuery: Code: 1. DB::Exception: Qualified matcher arr.* find non compound expression [1, 2, 3] AS arr with type Array(UInt8). Expected tuple or array of tuples. In scope WITH [1, 2, 3] AS arr SELECT arr.*. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41576) (comment: 02677_analyzer_compound_expressions.sql) (in query: WITH [1, 2, 3] AS arr SELECT arr.*;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000b2405e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3769: DB::(anonymous namespace)::QueryAnalyzer::resolveQualifiedMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c950151 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4058: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c94d6b4 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5514: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e7a0 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:23.444407 [ 2885 ] {cdb18a59-6053-4bb7-9151-81cc53656fa5} TCPHandler: Code: 1. DB::Exception: Qualified matcher arr.* find non compound expression [1, 2, 3] AS arr with type Array(UInt8). Expected tuple or array of tuples. In scope WITH [1, 2, 3] AS arr SELECT arr.*. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x000000000b2405e4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3769: DB::(anonymous namespace)::QueryAnalyzer::resolveQualifiedMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c950151 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4058: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c94d6b4 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5514: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e7a0 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:23.592256 [ 2885 ] {ee23bac8-0299-46d9-b49c-61d72bd924e7} executeQuery: Code: 44. DB::Exception: The second argument of function getSubcolumn should be a constant string with the name of a subcolumn: In scope SELECT getSubcolumn([1, 2, 3], materialize('size0')). (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41576) (comment: 02677_analyzer_compound_expressions.sql) (in query: SELECT getSubcolumn([1, 2, 3], materialize('size0'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/getSubcolumn.cpp:45: DB::(anonymous namespace)::FunctionGetSubcolumn::getSubcolumnName(std::vector> const&) @ 0x000000000e48f848 in /usr/bin/clickhouse 7. /build/src/Functions/getSubcolumn.cpp:30: DB::(anonymous namespace)::FunctionGetSubcolumn::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e48f719 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5251: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935e90 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 2024.12.17 01:16:23.593129 [ 2885 ] {ee23bac8-0299-46d9-b49c-61d72bd924e7} TCPHandler: Code: 44. DB::Exception: The second argument of function getSubcolumn should be a constant string with the name of a subcolumn: In scope SELECT getSubcolumn([1, 2, 3], materialize('size0')). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/getSubcolumn.cpp:45: DB::(anonymous namespace)::FunctionGetSubcolumn::getSubcolumnName(std::vector> const&) @ 0x000000000e48f848 in /usr/bin/clickhouse 7. /build/src/Functions/getSubcolumn.cpp:30: DB::(anonymous namespace)::FunctionGetSubcolumn::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e48f719 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5251: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935e90 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 2024.12.17 01:16:23.721352 [ 2885 ] {b951a330-2f0b-444c-8a86-41a37e158983} executeQuery: Code: 44. DB::Exception: There is no subcolumn aaa in type Array(UInt8): In scope SELECT getSubcolumn([1, 2, 3], 'aaa'). (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41576) (comment: 02677_analyzer_compound_expressions.sql) (in query: SELECT getSubcolumn([1, 2, 3], 'aaa');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type>, std::basic_string_view>&, String&&) @ 0x000000000e273aec in /usr/bin/clickhouse 6. /build/src/DataTypes/IDataType.cpp:118: std::shared_ptr DB::IDataType::getForSubcolumn>(std::basic_string_view>, DB::ISerialization::SubstreamData const&, std::shared_ptr DB::ISerialization::SubstreamData::*, bool) const @ 0x000000001b9cd05a in /usr/bin/clickhouse 7. /build/src/DataTypes/IDataType.cpp:137: DB::IDataType::getSubcolumnType(std::basic_string_view>) const @ 0x000000001b9cb946 in /usr/bin/clickhouse 8. /build/src/Functions/getSubcolumn.cpp:31: DB::(anonymous namespace)::FunctionGetSubcolumn::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e48f752 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5251: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935e90 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 20. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 2024.12.17 01:16:23.722539 [ 2885 ] {b951a330-2f0b-444c-8a86-41a37e158983} TCPHandler: Code: 44. DB::Exception: There is no subcolumn aaa in type Array(UInt8): In scope SELECT getSubcolumn([1, 2, 3], 'aaa'). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type>, std::basic_string_view>&, String&&) @ 0x000000000e273aec in /usr/bin/clickhouse 6. /build/src/DataTypes/IDataType.cpp:118: std::shared_ptr DB::IDataType::getForSubcolumn>(std::basic_string_view>, DB::ISerialization::SubstreamData const&, std::shared_ptr DB::ISerialization::SubstreamData::*, bool) const @ 0x000000001b9cd05a in /usr/bin/clickhouse 7. /build/src/DataTypes/IDataType.cpp:137: DB::IDataType::getSubcolumnType(std::basic_string_view>) const @ 0x000000001b9cb946 in /usr/bin/clickhouse 8. /build/src/Functions/getSubcolumn.cpp:31: DB::(anonymous namespace)::FunctionGetSubcolumn::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e48f752 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5251: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935e90 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 20. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 2024.12.17 01:16:25.052952 [ 2885 ] {5f61eb7f-4995-43d4-bd04-b9f406fdb0c9} executeQuery: Code: 41. DB::Exception: Value 1 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('AD 1999', 'G Y'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('AD 1999', 'G Y');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194d5e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190d70b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1264: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192bb48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:25.054268 [ 2885 ] {5f61eb7f-4995-43d4-bd04-b9f406fdb0c9} TCPHandler: Code: 41. DB::Exception: Value 1 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('AD 1999', 'G Y'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194d5e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190d70b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1264: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192bb48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:25.181425 [ 2885 ] {0c380020-7e1b-41c2-a2b7-9808d52b36cc} executeQuery: Code: 41. DB::Exception: Invalid format input AD 1999 is malformed at 99: While processing parseDateTimeInJodaSyntax('AD 1999', 'G YY'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('AD 1999', 'G YY');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:25.182387 [ 2885 ] {0c380020-7e1b-41c2-a2b7-9808d52b36cc} TCPHandler: Code: 41. DB::Exception: Invalid format input AD 1999 is malformed at 99: While processing parseDateTimeInJodaSyntax('AD 1999', 'G YY'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:25.193590 [ 2885 ] {e1071683-5136-41ee-985b-da200bf93756} executeQuery: Code: 41. DB::Exception: Value 199 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('AD 1999', 'G YYY'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('AD 1999', 'G YYY');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194d5e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190d70b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1264: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192bb48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:25.194609 [ 2885 ] {e1071683-5136-41ee-985b-da200bf93756} TCPHandler: Code: 41. DB::Exception: Value 199 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('AD 1999', 'G YYY'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194d5e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190d70b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1264: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192bb48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:25.274341 [ 2885 ] {d1fa8dc0-b434-4bea-9ffb-03999ad11931} executeQuery: Code: 41. DB::Exception: Era BC exceeds the range of DateTime: While processing parseDateTimeInJodaSyntax('BC', 'G'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('BC', 'G');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c576f7e in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:151: DB::(anonymous namespace)::DateTime::setEra(String const&) @ 0x000000001192fbf6 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1246: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaEra(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192b887 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f848 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f7dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192f741 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x000000001192f6fa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f695 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f655 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f615 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f59d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:25.275308 [ 2885 ] {d1fa8dc0-b434-4bea-9ffb-03999ad11931} TCPHandler: Code: 41. DB::Exception: Era BC exceeds the range of DateTime: While processing parseDateTimeInJodaSyntax('BC', 'G'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c576f7e in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:151: DB::(anonymous namespace)::DateTime::setEra(String const&) @ 0x000000001192fbf6 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1246: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaEra(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192b887 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f848 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f7dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192f741 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x000000001192f6fa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f695 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f655 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f615 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f59d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:25.356746 [ 2885 ] {ae7937c6-63d9-475a-8f52-e68d1aa07677} executeQuery: Code: 41. DB::Exception: Unknown era ab (expected 'ad' or 'bc'): While processing parseDateTimeInJodaSyntax('AB', 'G'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('AB', 'G');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:153: DB::(anonymous namespace)::DateTime::setEra(String const&) @ 0x000000001192fca4 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1246: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaEra(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192b887 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f848 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f7dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192f741 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x000000001192f6fa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f695 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f655 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f615 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f59d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:25.357728 [ 2885 ] {ae7937c6-63d9-475a-8f52-e68d1aa07677} TCPHandler: Code: 41. DB::Exception: Unknown era ab (expected 'ad' or 'bc'): While processing parseDateTimeInJodaSyntax('AB', 'G'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:153: DB::(anonymous namespace)::DateTime::setEra(String const&) @ 0x000000001192fca4 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1246: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaEra(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192b887 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f848 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f7dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192f741 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x000000001192f6fa in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f695 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f655 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f615 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f59d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:25.401590 [ 2885 ] {c99a00bf-c770-48b6-8df6-1525b2474f69} executeQuery: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1969', 'YYYY', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194d5e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190d70b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1264: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192bb48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:25.402420 [ 2885 ] {c99a00bf-c770-48b6-8df6-1525b2474f69} TCPHandler: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194d5e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190d70b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1264: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192bb48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:25.412971 [ 2885 ] {c1a5555f-d499-4626-9ecd-fcecd41afda7} executeQuery: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('2107', 'YYYY', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194d5e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190d70b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1264: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192bb48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:25.413947 [ 2885 ] {c1a5555f-d499-4626-9ecd-fcecd41afda7} TCPHandler: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194d5e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190d70b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1264: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192bb48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:25.524103 [ 2885 ] {0b707694-02a4-4643-a85e-226ed76f43a9} executeQuery: Code: 41. DB::Exception: Unable to parse fragment YYYY from +1999 because read number failed: While processing parseDateTimeInJodaSyntax('+1999', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('+1999', 'YYYY', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119503cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1221: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011930aa8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1262: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192bb31 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:25.525479 [ 2885 ] {0b707694-02a4-4643-a85e-226ed76f43a9} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment YYYY from +1999 because read number failed: While processing parseDateTimeInJodaSyntax('+1999', 'YYYY', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119503cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1221: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011930aa8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1262: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192bb31 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:25.637690 [ 2885 ] {39e4ca37-177a-4d77-8760-d93c5043143b} executeQuery: Code: 41. DB::Exception: Value 1 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1', 'YY', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1', 'YY', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194d5e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190d70b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1264: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192bb48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:25.638549 [ 2885 ] {39e4ca37-177a-4d77-8760-d93c5043143b} TCPHandler: Code: 41. DB::Exception: Value 1 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1', 'YY', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194d5e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190d70b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1264: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYearOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192bb48 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:25.927917 [ 2885 ] {158a18cc-996d-470c-9db4-0dc053d2decc} executeQuery: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'yyyy', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1969', 'yyyy', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194d5e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190d70b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1328: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192c447 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:25.929026 [ 2885 ] {158a18cc-996d-470c-9db4-0dc053d2decc} TCPHandler: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'yyyy', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194d5e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190d70b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1328: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192c447 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:25.940567 [ 2885 ] {19c7bb6d-f466-4d79-8a98-775af12c26af} executeQuery: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'yyyy', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('2107', 'yyyy', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194d5e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190d70b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1328: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192c447 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:25.941648 [ 2885 ] {19c7bb6d-f466-4d79-8a98-775af12c26af} TCPHandler: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'yyyy', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194d5e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190d70b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1328: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192c447 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:26.180173 [ 2661 ] {f1578ede-d855-486c-a66c-5aa45530298e} executeQuery: Code: 36. DB::Exception: Parameters list to aggregate functions cannot be empty. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41626) (comment: 02661_quantile_approx.sql) (in query: select medianGK()(number) from numbers(10) SETTINGS allow_experimental_analyzer = 0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c158a3e in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/parseAggregateFunctionParameters.cpp:24: DB::getAggregateFunctionParametersArray(std::shared_ptr const&, String const&, std::shared_ptr) @ 0x000000001ac0a463 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:581: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab1fd in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:26.180965 [ 2661 ] {f1578ede-d855-486c-a66c-5aa45530298e} TCPHandler: Code: 36. DB::Exception: Parameters list to aggregate functions cannot be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c158a3e in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/parseAggregateFunctionParameters.cpp:24: DB::getAggregateFunctionParametersArray(std::shared_ptr const&, String const&, std::shared_ptr) @ 0x000000001ac0a463 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:581: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab1fd in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:26.302090 [ 2885 ] {5f3fe7b5-a5b9-4176-b73e-faef45a16615} executeQuery: Code: 321. DB::Exception: Seconds since epoch is negative: While processing parseDateTimeInJodaSyntax('1970', 'xxxx', 'UTC'). (VALUE_IS_OUT_OF_RANGE_OF_DATA_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1970', 'xxxx', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001194f7be in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:443: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x00000000119062f1 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928bda in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 2024.12.17 01:16:26.411040 [ 2885 ] {5f3fe7b5-a5b9-4176-b73e-faef45a16615} TCPHandler: Code: 321. DB::Exception: Seconds since epoch is negative: While processing parseDateTimeInJodaSyntax('1970', 'xxxx', 'UTC'). (VALUE_IS_OUT_OF_RANGE_OF_DATA_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001194f7be in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:443: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x00000000119062f1 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928bda in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 2024.12.17 01:16:26.411175 [ 2661 ] {fd640ffd-67f6-41bd-ac2e-605e9546e2ce} executeQuery: Code: 42. DB::Exception: Aggregate function quantileGK requires at least one param. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41626) (comment: 02661_quantile_approx.sql) (in query: select medianGK()(number) from numbers(10) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:92: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15976 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e155ca in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15389 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1506f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e14ee2 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e00eee in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014dffdd3 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 2024.12.17 01:16:26.412176 [ 2661 ] {fd640ffd-67f6-41bd-ac2e-605e9546e2ce} TCPHandler: Code: 42. DB::Exception: Aggregate function quantileGK requires at least one param. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:92: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15976 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e155ca in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15389 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1506f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e14ee2 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e00eee in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014dffdd3 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 2024.12.17 01:16:26.503475 [ 2661 ] {9cb95700-033c-47d3-8b7c-899543b7021e} executeQuery: Code: 36. DB::Exception: Parameters list to aggregate functions cannot be empty. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41626) (comment: 02661_quantile_approx.sql) (in query: select quantileGK()(number) from numbers(10) SETTINGS allow_experimental_analyzer = 0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c158a3e in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/parseAggregateFunctionParameters.cpp:24: DB::getAggregateFunctionParametersArray(std::shared_ptr const&, String const&, std::shared_ptr) @ 0x000000001ac0a463 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:581: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab1fd in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:26.503524 [ 2885 ] {5ec3c889-16ca-4b24-aadc-9d5ef4d0a56e} executeQuery: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'xxxx', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1969', 'xxxx', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194d5e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190d70b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1272: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaWeekYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192bc4a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:26.504383 [ 2661 ] {9cb95700-033c-47d3-8b7c-899543b7021e} TCPHandler: Code: 36. DB::Exception: Parameters list to aggregate functions cannot be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c158a3e in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/parseAggregateFunctionParameters.cpp:24: DB::getAggregateFunctionParametersArray(std::shared_ptr const&, String const&, std::shared_ptr) @ 0x000000001ac0a463 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:581: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab1fd in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:26.504417 [ 2885 ] {5ec3c889-16ca-4b24-aadc-9d5ef4d0a56e} TCPHandler: Code: 41. DB::Exception: Value 1969 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('1969', 'xxxx', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194d5e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190d70b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1272: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaWeekYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192bc4a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:26.514194 [ 2661 ] {4673638d-deb8-4c15-ac26-7c9f3240b594} executeQuery: Code: 42. DB::Exception: Aggregate function quantileGK requires at least one param. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41626) (comment: 02661_quantile_approx.sql) (in query: select quantileGK()(number) from numbers(10) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:92: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15976 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e155ca in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15389 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1506f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e14ee2 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e00eee in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014dffdd3 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 2024.12.17 01:16:26.515075 [ 2661 ] {4673638d-deb8-4c15-ac26-7c9f3240b594} TCPHandler: Code: 42. DB::Exception: Aggregate function quantileGK requires at least one param. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:92: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15976 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e155ca in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15389 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1506f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e14ee2 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e00eee in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014dffdd3 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 2024.12.17 01:16:26.515305 [ 2885 ] {2e7e9b47-6380-42e2-8fae-7903c801c154} executeQuery: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'xxxx', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('2107', 'xxxx', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194d5e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190d70b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1272: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaWeekYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192bc4a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:26.516415 [ 2885 ] {2e7e9b47-6380-42e2-8fae-7903c801c154} TCPHandler: Code: 41. DB::Exception: Value 2107 for year must be in the range [1970, 2106]: While processing parseDateTimeInJodaSyntax('2107', 'xxxx', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int const&, int const&) @ 0x000000001194d5e8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:168: DB::(anonymous namespace)::DateTime::setYear(int, bool, bool) @ 0x000000001190d70b in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1272: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaWeekYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192bc4a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:26.668529 [ 2885 ] {8ea02276-df5c-4681-ab5c-07294a0ec292} executeQuery: Code: 41. DB::Exception: Invalid date, out of range (year: 1900 month: 1 day_of_month: 1): While processing parseDateTimeInJodaSyntax('19', 'CC', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('19', 'CC', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x000000001194fde8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:411: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x000000001190ff07 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001190623d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928bda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:26.777301 [ 2885 ] {8ea02276-df5c-4681-ab5c-07294a0ec292} TCPHandler: Code: 41. DB::Exception: Invalid date, out of range (year: 1900 month: 1 day_of_month: 1): While processing parseDateTimeInJodaSyntax('19', 'CC', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x000000001194fde8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:411: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x000000001190ff07 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001190623d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928bda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:26.777455 [ 2661 ] {04c467b3-8de9-4a5c-b0d0-43c6e2af00a1} executeQuery: Code: 42. DB::Exception: Aggregate function quantileGK requires one level parameter or less. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41626) (comment: 02661_quantile_approx.sql) (in query: select quantileGK(100, 0.5, 0.75)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:87: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e157fd in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e155ca in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15389 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1506f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e14ee2 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e00eee in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014dffdd3 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 2024.12.17 01:16:26.778503 [ 2661 ] {04c467b3-8de9-4a5c-b0d0-43c6e2af00a1} TCPHandler: Code: 42. DB::Exception: Aggregate function quantileGK requires one level parameter or less. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:87: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e157fd in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e155ca in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15389 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1506f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e14ee2 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e00eee in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014dffdd3 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 2024.12.17 01:16:26.894954 [ 2661 ] {a775be44-7b62-4744-a5e8-027377629396} executeQuery: Code: 43. DB::Exception: Aggregate function quantileGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41626) (comment: 02661_quantile_approx.sql) (in query: select quantileGK('abc', 0.5)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:97: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15ac3 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e155ca in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15389 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1506f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e14ee2 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e00eee in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014dffdd3 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 2024.12.17 01:16:26.969682 [ 2661 ] {a775be44-7b62-4744-a5e8-027377629396} TCPHandler: Code: 43. DB::Exception: Aggregate function quantileGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:97: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15ac3 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e155ca in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15389 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1506f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e14ee2 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e00eee in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014dffdd3 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 2024.12.17 01:16:26.969729 [ 2885 ] {ec563bdd-5586-4234-a48f-710e202fd0f6} executeQuery: Code: 41. DB::Exception: Value 22 for century must be in the range [19, 21]: While processing parseDateTimeInJodaSyntax('22', 'CC', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('22', 'CC', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194c9f3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:159: DB::(anonymous namespace)::DateTime::setCentury(int) @ 0x000000001190ce27 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1256: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaCenturyOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192ba40 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:26.971150 [ 2885 ] {ec563bdd-5586-4234-a48f-710e202fd0f6} TCPHandler: Code: 41. DB::Exception: Value 22 for century must be in the range [19, 21]: While processing parseDateTimeInJodaSyntax('22', 'CC', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194c9f3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:159: DB::(anonymous namespace)::DateTime::setCentury(int) @ 0x000000001190ce27 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1256: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaCenturyOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192ba40 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:26.981953 [ 2661 ] {81fedeb7-189a-45da-b36b-2d868441af36} executeQuery: Code: 43. DB::Exception: Aggregate function quantileGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41626) (comment: 02661_quantile_approx.sql) (in query: select quantileGK(1.23, 0.5)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:97: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15ac3 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e155ca in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15389 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1506f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e14ee2 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e00eee in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014dffdd3 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 2024.12.17 01:16:26.983162 [ 2661 ] {81fedeb7-189a-45da-b36b-2d868441af36} TCPHandler: Code: 43. DB::Exception: Aggregate function quantileGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:97: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15ac3 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e155ca in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15389 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1506f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e14ee2 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e00eee in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014dffdd3 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 2024.12.17 01:16:27.102607 [ 2661 ] {57b6a6fb-8ba9-401f-869e-1fe88932d4b7} executeQuery: Code: 36. DB::Exception: Aggregate function quantileGK requires accuracy parameter with positive value but is -100. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41626) (comment: 02661_quantile_approx.sql) (in query: select quantileGK(-100, 0.5)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, long&) @ 0x0000000014e02e4c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:106: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15c85 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e155ca in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15389 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1506f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e14ee2 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e00eee in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014dffdd3 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 2024.12.17 01:16:27.182921 [ 2661 ] {57b6a6fb-8ba9-401f-869e-1fe88932d4b7} TCPHandler: Code: 36. DB::Exception: Aggregate function quantileGK requires accuracy parameter with positive value but is -100. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, long&) @ 0x0000000014e02e4c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:106: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15c85 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>* std::construct_at[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*>(DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e155ca in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantileGK, false, void, false>>>::construct[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantileGK, false, void, false>>&, DB::AggregateFunctionQuantile, DB::NameQuantileGK, false, void, false>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e15389 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e1506f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::allocate_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::allocator, DB::NameQuantileGK, false, void, false>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantileGK, false, void, false>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e14ee2 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantileGK, false, void, false>> std::make_shared[abi:v15000], DB::NameQuantileGK, false, void, false>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e00eee in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014dffdd3 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 2024.12.17 01:16:27.182978 [ 2885 ] {29366c0c-f846-4e22-91f5-6a7280f139da} executeQuery: Code: 41. DB::Exception: Value 0 for month of year must be in the range [1, 12]: While processing parseDateTimeInJodaSyntax('0', 'M', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('0', 'M', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194c9f3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:195: DB::(anonymous namespace)::DateTime::setMonth(int) @ 0x000000001190c787 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1344: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192c5e0 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:27.184001 [ 2885 ] {29366c0c-f846-4e22-91f5-6a7280f139da} TCPHandler: Code: 41. DB::Exception: Value 0 for month of year must be in the range [1, 12]: While processing parseDateTimeInJodaSyntax('0', 'M', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194c9f3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:195: DB::(anonymous namespace)::DateTime::setMonth(int) @ 0x000000001190c787 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1344: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192c5e0 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:27.192983 [ 2661 ] {c5d60c20-20a8-4c2c-8b51-cede285761eb} executeQuery: Code: 36. DB::Exception: Parameters list to aggregate functions cannot be empty. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41626) (comment: 02661_quantile_approx.sql) (in query: select quantilesGK()(number) from numbers(10) SETTINGS allow_experimental_analyzer = 0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c158a3e in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/parseAggregateFunctionParameters.cpp:24: DB::getAggregateFunctionParametersArray(std::shared_ptr const&, String const&, std::shared_ptr) @ 0x000000001ac0a463 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:581: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab1fd in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:27.193660 [ 2661 ] {c5d60c20-20a8-4c2c-8b51-cede285761eb} TCPHandler: Code: 36. DB::Exception: Parameters list to aggregate functions cannot be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c158a3e in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/parseAggregateFunctionParameters.cpp:24: DB::getAggregateFunctionParametersArray(std::shared_ptr const&, String const&, std::shared_ptr) @ 0x000000001ac0a463 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:581: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab1fd in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:27.195005 [ 2885 ] {e744dccd-6f52-4285-999c-90cf11b2ff7c} executeQuery: Code: 41. DB::Exception: Value 13 for month of year must be in the range [1, 12]: While processing parseDateTimeInJodaSyntax('13', 'M', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('13', 'M', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194c9f3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:195: DB::(anonymous namespace)::DateTime::setMonth(int) @ 0x000000001190c787 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1344: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192c5e0 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:27.195880 [ 2885 ] {e744dccd-6f52-4285-999c-90cf11b2ff7c} TCPHandler: Code: 41. DB::Exception: Value 13 for month of year must be in the range [1, 12]: While processing parseDateTimeInJodaSyntax('13', 'M', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194c9f3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:195: DB::(anonymous namespace)::DateTime::setMonth(int) @ 0x000000001190c787 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1344: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192c5e0 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:27.328216 [ 2661 ] {9e2c138d-518a-4779-95ad-9fea8470f402} executeQuery: Code: 42. DB::Exception: Aggregate function for calculation of multiple quantiles require at least one parameter. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41626) (comment: 02661_quantile_approx.sql) (in query: select quantilesGK()(number) from numbers(10) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [88]) @ 0x000000000b6532fe in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/QuantilesCommon.h:46: DB::QuantileLevels::QuantileLevels(DB::Array const&, bool) @ 0x000000001468f061 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:82: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8737f in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8724a in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e87009 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e86cef in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e86b62 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e7cb0e in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e00533 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 29. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 2024.12.17 01:16:27.328313 [ 2885 ] {60df7bdd-c1ba-4940-ba8a-162ce5b48ce9} executeQuery: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTimeInJodaSyntax('12345', 'M', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('12345', 'M', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:27.329314 [ 2661 ] {9e2c138d-518a-4779-95ad-9fea8470f402} TCPHandler: Code: 42. DB::Exception: Aggregate function for calculation of multiple quantiles require at least one parameter. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [88]) @ 0x000000000b6532fe in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/QuantilesCommon.h:46: DB::QuantileLevels::QuantileLevels(DB::Array const&, bool) @ 0x000000001468f061 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:82: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8737f in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8724a in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e87009 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e86cef in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e86b62 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e7cb0e in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e00533 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 29. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 2024.12.17 01:16:27.329532 [ 2885 ] {60df7bdd-c1ba-4940-ba8a-162ce5b48ce9} TCPHandler: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTimeInJodaSyntax('12345', 'M', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:27.338768 [ 2661 ] {faeaef47-03db-4123-9db4-8e165f42457c} executeQuery: Code: 42. DB::Exception: Aggregate function for calculation of multiple quantiles require at least one parameter. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41626) (comment: 02661_quantile_approx.sql) (in query: select quantilesGK(100)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [88]) @ 0x000000000b6532fe in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/QuantilesCommon.h:46: DB::QuantileLevels::QuantileLevels(DB::Array const&, bool) @ 0x000000001468f061 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:82: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8737f in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8724a in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e87009 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e86cef in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e86b62 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e7cb0e in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e00533 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 29. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 2024.12.17 01:16:27.339703 [ 2661 ] {faeaef47-03db-4123-9db4-8e165f42457c} TCPHandler: Code: 42. DB::Exception: Aggregate function for calculation of multiple quantiles require at least one parameter. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [88]) @ 0x000000000b6532fe in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/QuantilesCommon.h:46: DB::QuantileLevels::QuantileLevels(DB::Array const&, bool) @ 0x000000001468f061 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:82: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8737f in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8724a in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e87009 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e86cef in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e86b62 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e7cb0e in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e00533 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 28. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 29. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 2024.12.17 01:16:27.486579 [ 2885 ] {78887b86-7069-41ec-9482-24f665d63427} executeQuery: Code: 41. DB::Exception: Invalid format input Decembr is malformed at embr: While processing parseDateTimeInJodaSyntax('Decembr', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: --- invalid month names select parseDateTimeInJodaSyntax('Decembr', 'MMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:27.486673 [ 2661 ] {f56c5ec2-1c9f-43c1-9518-1b032b21a83b} executeQuery: Code: 43. DB::Exception: Aggregate function quantilesGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41626) (comment: 02661_quantile_approx.sql) (in query: select quantilesGK('abc', 0.5, 0.75)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:97: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8760f in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8724a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e87009 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e86cef in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e86b62 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e7cb0e in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e00533 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 2024.12.17 01:16:27.487515 [ 2885 ] {78887b86-7069-41ec-9482-24f665d63427} TCPHandler: Code: 41. DB::Exception: Invalid format input Decembr is malformed at embr: While processing parseDateTimeInJodaSyntax('Decembr', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:27.487665 [ 2661 ] {f56c5ec2-1c9f-43c1-9518-1b032b21a83b} TCPHandler: Code: 43. DB::Exception: Aggregate function quantilesGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:97: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8760f in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8724a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e87009 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e86cef in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e86b62 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e7cb0e in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e00533 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 2024.12.17 01:16:27.496760 [ 2661 ] {c61ac9ac-6192-4885-90cd-beb241c9b38c} executeQuery: Code: 43. DB::Exception: Aggregate function quantilesGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41626) (comment: 02661_quantile_approx.sql) (in query: select quantilesGK(1.23, 0.5, 0.75)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:97: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8760f in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8724a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e87009 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e86cef in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e86b62 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e7cb0e in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e00533 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 2024.12.17 01:16:27.497537 [ 2885 ] {03a71af1-54f1-4338-8166-fed4db408081} executeQuery: Code: 41. DB::Exception: Invalid format input Decembr is malformed at embr: While processing parseDateTimeInJodaSyntax('Decembr', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('Decembr', 'MMMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:27.497611 [ 2661 ] {c61ac9ac-6192-4885-90cd-beb241c9b38c} TCPHandler: Code: 43. DB::Exception: Aggregate function quantilesGK requires accuracy parameter with integer type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:97: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8760f in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8724a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e87009 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e86cef in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e86b62 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e7cb0e in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e00533 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 2024.12.17 01:16:27.498550 [ 2885 ] {03a71af1-54f1-4338-8166-fed4db408081} TCPHandler: Code: 41. DB::Exception: Invalid format input Decembr is malformed at embr: While processing parseDateTimeInJodaSyntax('Decembr', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:27.624834 [ 2661 ] {6faecaf2-5549-47b2-8021-9ecb2f43014a} executeQuery: Code: 36. DB::Exception: Aggregate function quantilesGK requires accuracy parameter with positive value but is -100. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41626) (comment: 02661_quantile_approx.sql) (in query: select quantilesGK(-100, 0.5, 0.75)(number) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, long&) @ 0x0000000014e02e4c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:106: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e877d3 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8724a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e87009 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e86cef in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e86b62 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e7cb0e in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e00533 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 2024.12.17 01:16:27.624797 [ 2885 ] {f9c59f61-cbd2-48fa-aa97-9db1a4895da5} executeQuery: Code: 41. DB::Exception: Invalid format input Decemberary is malformed at ary: While processing parseDateTimeInJodaSyntax('Decemberary', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('Decemberary', 'MMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:27.626037 [ 2661 ] {6faecaf2-5549-47b2-8021-9ecb2f43014a} TCPHandler: Code: 36. DB::Exception: Aggregate function quantilesGK requires accuracy parameter with positive value but is -100. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, long&) @ 0x0000000014e02e4c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:106: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>::AggregateFunctionQuantile(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e877d3 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>* std::construct_at[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*>(DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e8724a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, DB::NameQuantilesGK, false, void, true>>>::construct[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void, void>(std::allocator, DB::NameQuantilesGK, false, void, true>>&, DB::AggregateFunctionQuantile, DB::NameQuantilesGK, false, void, true>*, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e87009 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e86cef in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::allocate_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::allocator, DB::NameQuantilesGK, false, void, true>>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator, DB::NameQuantilesGK, false, void, true>> const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e86b62 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr, DB::NameQuantilesGK, false, void, true>> std::make_shared[abi:v15000], DB::NameQuantilesGK, false, void, true>, std::vector, std::allocator>> const&, DB::Array const&, void>(std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000014e7cb0e in /usr/bin/clickhouse 12. /build/src/AggregateFunctions/AggregateFunctionQuantileApprox.cpp:36: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014e00533 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5079: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93458d in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 23. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 24. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 25. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 26. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 27. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 28. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 2024.12.17 01:16:27.626217 [ 2885 ] {f9c59f61-cbd2-48fa-aa97-9db1a4895da5} TCPHandler: Code: 41. DB::Exception: Invalid format input Decemberary is malformed at ary: While processing parseDateTimeInJodaSyntax('Decemberary', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:27.635854 [ 2885 ] {8b7e5759-53e1-423f-8222-70ef2eaf0a7c} executeQuery: Code: 41. DB::Exception: Invalid format input Decemberary is malformed at ary: While processing parseDateTimeInJodaSyntax('Decemberary', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('Decemberary', 'MMMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:27.636881 [ 2885 ] {8b7e5759-53e1-423f-8222-70ef2eaf0a7c} TCPHandler: Code: 41. DB::Exception: Invalid format input Decemberary is malformed at ary: While processing parseDateTimeInJodaSyntax('Decemberary', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:27.727907 [ 2885 ] {82c04589-98ac-466a-972b-ff30723e6dc9} executeQuery: Code: 41. DB::Exception: Unable to parse fragment MMM from asdf because of unknown month of year text: asd: While processing parseDateTimeInJodaSyntax('asdf', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('asdf', 'MMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x000000001194b2a8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1354: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYearText(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192c868 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f848 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f7dd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192f741 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x000000001192f6fa in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f695 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f655 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f615 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f59d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 17. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 2024.12.17 01:16:27.729075 [ 2885 ] {82c04589-98ac-466a-972b-ff30723e6dc9} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment MMM from asdf because of unknown month of year text: asd: While processing parseDateTimeInJodaSyntax('asdf', 'MMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x000000001194b2a8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1354: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYearText(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192c868 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f848 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f7dd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192f741 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x000000001192f6fa in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f695 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f655 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f615 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f59d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 17. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 2024.12.17 01:16:27.740985 [ 2885 ] {3a2e7f29-04cb-4ace-b769-65680bb8ceff} executeQuery: Code: 41. DB::Exception: Unable to parse fragment MMMM from asdf because of unknown month of year text: asd: While processing parseDateTimeInJodaSyntax('asdf', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('asdf', 'MMMM', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x000000001194b2a8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1354: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYearText(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192c868 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f848 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f7dd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192f741 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x000000001192f6fa in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f695 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f655 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f615 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f59d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 17. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 2024.12.17 01:16:27.742130 [ 2885 ] {3a2e7f29-04cb-4ace-b769-65680bb8ceff} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment MMMM from asdf because of unknown month of year text: asd: While processing parseDateTimeInJodaSyntax('asdf', 'MMMM', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x000000001194b2a8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1354: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMonthOfYearText(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192c868 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f848 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f7dd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192f741 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(int, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x000000001192f6fa in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f695 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f655 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f615 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192f59d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 17. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 2024.12.17 01:16:27.910097 [ 2885 ] {ed7aa4f0-84ea-4a31-8966-8ba273d9adbb} executeQuery: Code: 41. DB::Exception: Value 0 for day of month must be in the range [1, 31]: While processing parseDateTimeInJodaSyntax('0', 'd', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('0', 'd', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194c9f3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:240: DB::(anonymous namespace)::DateTime::setDayOfMonth(int) @ 0x000000001190d167 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1383: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfMonth(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192cbec in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:27.911153 [ 2885 ] {ed7aa4f0-84ea-4a31-8966-8ba273d9adbb} TCPHandler: Code: 41. DB::Exception: Value 0 for day of month must be in the range [1, 31]: While processing parseDateTimeInJodaSyntax('0', 'd', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194c9f3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:240: DB::(anonymous namespace)::DateTime::setDayOfMonth(int) @ 0x000000001190d167 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1383: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfMonth(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192cbec in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:27.921596 [ 2885 ] {8c5eb015-aeef-42e3-a35b-f413ef38ff86} executeQuery: Code: 41. DB::Exception: Value 32 for day of month must be in the range [1, 31]: While processing parseDateTimeInJodaSyntax('32', 'd', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('32', 'd', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194c9f3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:240: DB::(anonymous namespace)::DateTime::setDayOfMonth(int) @ 0x000000001190d167 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1383: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfMonth(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192cbec in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:27.922553 [ 2885 ] {8c5eb015-aeef-42e3-a35b-f413ef38ff86} TCPHandler: Code: 41. DB::Exception: Value 32 for day of month must be in the range [1, 31]: While processing parseDateTimeInJodaSyntax('32', 'd', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194c9f3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:240: DB::(anonymous namespace)::DateTime::setDayOfMonth(int) @ 0x000000001190d167 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1383: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfMonth(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192cbec in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:27.932203 [ 2885 ] {0c1f8f3a-dc62-4432-92fe-dea8fe593b92} executeQuery: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTimeInJodaSyntax('12345', 'd', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('12345', 'd', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:27.933032 [ 2885 ] {0c1f8f3a-dc62-4432-92fe-dea8fe593b92} TCPHandler: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTimeInJodaSyntax('12345', 'd', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:27.942363 [ 2885 ] {3f1fc570-c046-4bfc-be5c-1a9e3493c64b} executeQuery: Code: 41. DB::Exception: Invalid date, out of range (year: 2000 month: 2 day_of_month: 31): While processing parseDateTimeInJodaSyntax('02-31', 'M-d', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('02-31', 'M-d', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x000000001194fde8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:411: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x000000001190ff07 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001190623d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928bda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:27.943124 [ 2885 ] {3f1fc570-c046-4bfc-be5c-1a9e3493c64b} TCPHandler: Code: 41. DB::Exception: Invalid date, out of range (year: 2000 month: 2 day_of_month: 31): While processing parseDateTimeInJodaSyntax('02-31', 'M-d', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x000000001194fde8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:411: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x000000001190ff07 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001190623d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928bda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:27.952936 [ 2885 ] {82a96c3a-2c68-410f-896b-eb166a5dcb59} executeQuery: Code: 41. DB::Exception: Invalid date, out of range (year: 2000 month: 4 day_of_month: 31): While processing parseDateTimeInJodaSyntax('04-31', 'M-d', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('04-31', 'M-d', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x000000001194fde8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:411: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x000000001190ff07 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001190623d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928bda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:27.953838 [ 2885 ] {82a96c3a-2c68-410f-896b-eb166a5dcb59} TCPHandler: Code: 41. DB::Exception: Invalid date, out of range (year: 2000 month: 4 day_of_month: 31): While processing parseDateTimeInJodaSyntax('04-31', 'M-d', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x000000001194fde8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:411: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x000000001190ff07 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001190623d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928bda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:28.034604 [ 2885 ] {51348793-3815-4db9-809e-4e7c41845b8d} executeQuery: Code: 41. DB::Exception: Invalid date, out of range (year: 2001 month: 2 day_of_month: 29): While processing parseDateTimeInJodaSyntax('2001-02-29', 'YYYY-M-d', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('2001-02-29', 'YYYY-M-d', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x000000001194fde8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:411: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x000000001190ff07 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001190623d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928bda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:28.035653 [ 2885 ] {51348793-3815-4db9-809e-4e7c41845b8d} TCPHandler: Code: 41. DB::Exception: Invalid date, out of range (year: 2001 month: 2 day_of_month: 29): While processing parseDateTimeInJodaSyntax('2001-02-29', 'YYYY-M-d', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x000000001194fde8 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:411: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x000000001190ff07 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:431: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000001190623d in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928bda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:28.389555 [ 2885 ] {36d136b7-c808-4862-8b76-d86970a0439f} executeQuery: Code: 41. DB::Exception: Invalid day of year, out of range (year: 1999 day of year: 366): While processing parseDateTimeInJodaSyntax('1999 366', 'yyyy D', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('1999 366', 'yyyy D', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x000000001194f9cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:401: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDayOfYear(int, int) @ 0x000000001190fe03 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:429: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x0000000011906224 in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928bda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:28.390400 [ 2885 ] {36d136b7-c808-4862-8b76-d86970a0439f} TCPHandler: Code: 41. DB::Exception: Invalid day of year, out of range (year: 1999 day of year: 366): While processing parseDateTimeInJodaSyntax('1999 366', 'yyyy D', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x000000001194f9cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:401: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDayOfYear(int, int) @ 0x000000001190fe03 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:429: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x0000000011906224 in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928bda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:28.415925 [ 2885 ] {96a95633-f408-4db6-b9e4-8de2d42313b0} executeQuery: Code: 41. DB::Exception: Invalid day of year, out of range (year: 2001 day of year: 366): While processing parseDateTimeInJodaSyntax('2000 366 2001', 'yyyy D yyyy', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('2000 366 2001', 'yyyy D yyyy', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x000000001194f9cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:401: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDayOfYear(int, int) @ 0x000000001190fe03 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:429: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x0000000011906224 in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928bda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:28.416797 [ 2885 ] {96a95633-f408-4db6-b9e4-8de2d42313b0} TCPHandler: Code: 41. DB::Exception: Invalid day of year, out of range (year: 2001 day of year: 366): While processing parseDateTimeInJodaSyntax('2000 366 2001', 'yyyy D yyyy', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x000000001194f9cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:401: DB::(anonymous namespace)::DateTime::daysSinceEpochFromDayOfYear(int, int) @ 0x000000001190fe03 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:429: DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x0000000011906224 in /usr/bin/clickhouse 8. /build/src/Functions/parseDateTime.cpp:580: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928bda in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:28.497174 [ 2885 ] {267499b2-8c5a-442d-83ad-a288249bf0d2} executeQuery: Code: 41. DB::Exception: Value 0 for day of year must be in the range [1, 366]: While processing parseDateTimeInJodaSyntax('0', 'D', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('0', 'D', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194c9f3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:225: DB::(anonymous namespace)::DateTime::setDayOfYear(int) @ 0x000000001190e4ca in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1336: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192c4ec in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:28.498348 [ 2885 ] {267499b2-8c5a-442d-83ad-a288249bf0d2} TCPHandler: Code: 41. DB::Exception: Value 0 for day of year must be in the range [1, 366]: While processing parseDateTimeInJodaSyntax('0', 'D', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194c9f3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:225: DB::(anonymous namespace)::DateTime::setDayOfYear(int) @ 0x000000001190e4ca in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1336: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192c4ec in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:28.509601 [ 2885 ] {6abb50a5-0e56-4098-8684-39174d017202} executeQuery: Code: 41. DB::Exception: Value 367 for day of year must be in the range [1, 366]: While processing parseDateTimeInJodaSyntax('367', 'D', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('367', 'D', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194c9f3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:225: DB::(anonymous namespace)::DateTime::setDayOfYear(int) @ 0x000000001190e4ca in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1336: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192c4ec in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:28.510500 [ 2885 ] {6abb50a5-0e56-4098-8684-39174d017202} TCPHandler: Code: 41. DB::Exception: Value 367 for day of year must be in the range [1, 366]: While processing parseDateTimeInJodaSyntax('367', 'D', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194c9f3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:225: DB::(anonymous namespace)::DateTime::setDayOfYear(int) @ 0x000000001190e4ca in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1336: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaDayOfYear(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192c4ec in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:28.658860 [ 2885 ] {a3af9fb5-6977-4618-aa88-559bf86d54d0} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('24', 'H', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: --- invalid hour od day select parseDateTimeInJodaSyntax('24', 'H', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001194e53a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001190f806 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1418: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192d030 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:28.659824 [ 2885 ] {a3af9fb5-6977-4618-aa88-559bf86d54d0} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('24', 'H', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001194e53a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001190f806 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1418: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192d030 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:28.739453 [ 2885 ] {878fb21d-0c39-492c-9f25-e9048b7a9d21} executeQuery: Code: 41. DB::Exception: Unable to parse fragment H from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'H', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('-1', 'H', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119503cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1221: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011930aa8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1416: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192d01c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:28.740588 [ 2885 ] {878fb21d-0c39-492c-9f25-e9048b7a9d21} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment H from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'H', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119503cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1221: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011930aa8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1416: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192d01c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:28.750427 [ 2885 ] {6a4b47d2-d01c-4d64-b264-92976778841f} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'H', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 'H', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:28.751239 [ 2885 ] {6a4b47d2-d01c-4d64-b264-92976778841f} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'H', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:28.910113 [ 2885 ] {b17fde69-88ed-45fb-9852-10c26117140a} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [24, 1] if_hour_of_half_day=false and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('25', 'k', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: -- invalid clock hour of day select parseDateTimeInJodaSyntax('25', 'k', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001194e53a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001190f806 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1426: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192d0d3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:28.911053 [ 2885 ] {b17fde69-88ed-45fb-9852-10c26117140a} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [24, 1] if_hour_of_half_day=false and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('25', 'k', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001194e53a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001190f806 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1426: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192d0d3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:28.919699 [ 2885 ] {954508a0-5c71-41f7-8d68-c6f141fea84c} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [24, 1] if_hour_of_half_day=false and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('0', 'k', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('0', 'k', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001194e53a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001190f806 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1426: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192d0d3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:28.920518 [ 2885 ] {954508a0-5c71-41f7-8d68-c6f141fea84c} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [24, 1] if_hour_of_half_day=false and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('0', 'k', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001194e53a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001190f806 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1426: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192d0d3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:28.929146 [ 2885 ] {67a4164a-7403-4005-a1b4-9554e02d35c6} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'k', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 'k', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:28.930025 [ 2885 ] {67a4164a-7403-4005-a1b4-9554e02d35c6} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'k', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:29.073633 [ 2885 ] {904df6a7-754a-48bb-a39e-49e4f14a7600} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [11, 0] if_hour_of_half_day=true and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('12', 'K', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: -- invalid hour of half day select parseDateTimeInJodaSyntax('12', 'K', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001194e53a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001190f806 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1402: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192ce73 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:29.074921 [ 2885 ] {904df6a7-754a-48bb-a39e-49e4f14a7600} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [11, 0] if_hour_of_half_day=true and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('12', 'K', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001194e53a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001190f806 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1402: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192ce73 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:29.156062 [ 2885 ] {a725f331-8e29-447a-9aa1-10eefa9405e9} executeQuery: Code: 41. DB::Exception: Unable to parse fragment K from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'K', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('-1', 'K', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119503cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1221: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011930aa8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1400: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192ce5c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:29.157155 [ 2885 ] {a725f331-8e29-447a-9aa1-10eefa9405e9} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment K from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'K', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119503cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1221: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011930aa8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1400: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192ce5c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:29.166615 [ 2885 ] {2d28c4dd-6d75-420f-bd02-390326ac4070} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [11, 0] if_hour_of_half_day=true and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('123456789', 'K', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 'K', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001194e53a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001190f806 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1402: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192ce73 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:29.167428 [ 2885 ] {2d28c4dd-6d75-420f-bd02-390326ac4070} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [11, 0] if_hour_of_half_day=true and hour_starts_at_1=false: While processing parseDateTimeInJodaSyntax('123456789', 'K', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001194e53a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001190f806 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1402: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192ce73 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:29.294497 [ 1120 ] {cd023b6d-1914-437e-bfc9-db8f09fcfbf2} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41662) (in query: select _path, _file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:29.383470 [ 1120 ] {cd023b6d-1914-437e-bfc9-db8f09fcfbf2} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:29.383595 [ 2885 ] {feb8c936-8fa6-43ca-8821-93111c085a20} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('13', 'h', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: -- invalid clock hour of half day select parseDateTimeInJodaSyntax('13', 'h', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001194e53a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001190f806 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1410: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192cf93 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:29.384528 [ 2885 ] {feb8c936-8fa6-43ca-8821-93111c085a20} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('13', 'h', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001194e53a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001190f806 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1410: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192cf93 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:29.393824 [ 2885 ] {52bd39fd-4684-4df6-be9c-42c2ebd05ece} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('0', 'h', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('0', 'h', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001194e53a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001190f806 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1410: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192cf93 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:29.394647 [ 2885 ] {52bd39fd-4684-4df6-be9c-42c2ebd05ece} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTimeInJodaSyntax('0', 'h', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000001194e53a in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:307: DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000001190f806 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1410: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaClockHourOfHalfDay(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192cf93 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:29.402984 [ 2885 ] {bab47b0a-9467-472a-834d-921259edca31} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'h', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 'h', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:29.403789 [ 2885 ] {bab47b0a-9467-472a-834d-921259edca31} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'h', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:29.866193 [ 2661 ] {b9599a12-f541-4181-b3f1-933cb1e40745} executeQuery: Code: 42. DB::Exception: Number of arguments for function generateRandomStructure doesn't match: passed 3, expected from 0 to 2: While processing generateRandomStructure(5, 42, 42). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41676) (comment: 02586_generate_random_structure.sql) (in query: select generateRandomStructure(5, 42, 42);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionGenerateRandomStructure.cpp:360: DB::FunctionGenerateRandomStructure::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b8f8706 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:16:29.867049 [ 2661 ] {b9599a12-f541-4181-b3f1-933cb1e40745} TCPHandler: Code: 42. DB::Exception: Number of arguments for function generateRandomStructure doesn't match: passed 3, expected from 0 to 2: While processing generateRandomStructure(5, 42, 42). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionGenerateRandomStructure.cpp:360: DB::FunctionGenerateRandomStructure::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b8f8706 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:16:29.986106 [ 2661 ] {58e3db0a-8e76-4b3c-8608-7ead743b360d} executeQuery: Code: 43. DB::Exception: Illegal type String of the 1 argument of function generateRandomStructure, expected unsigned integer or Null: While processing generateRandomStructure('5'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41676) (comment: 02586_generate_random_structure.sql) (in query: select generateRandomStructure('5');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000b8fc028 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionGenerateRandomStructure.cpp:370: DB::FunctionGenerateRandomStructure::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b8f88d5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:16:30.070348 [ 2661 ] {58e3db0a-8e76-4b3c-8608-7ead743b360d} TCPHandler: Code: 43. DB::Exception: Illegal type String of the 1 argument of function generateRandomStructure, expected unsigned integer or Null: While processing generateRandomStructure('5'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000b8fc028 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionGenerateRandomStructure.cpp:370: DB::FunctionGenerateRandomStructure::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b8f88d5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:16:30.070468 [ 2885 ] {3ac7fd7c-3563-42b4-8a8b-9ff77a00d2f3} executeQuery: Code: 41. DB::Exception: Value 60 for minute must be in the range [0, 59]: While processing parseDateTimeInJodaSyntax('60', 'm', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('60', 'm', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194c9f3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:324: DB::(anonymous namespace)::DateTime::setMinute(int) @ 0x000000001190f2c7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1434: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMinuteOfHour(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192d16c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:30.071659 [ 2885 ] {3ac7fd7c-3563-42b4-8a8b-9ff77a00d2f3} TCPHandler: Code: 41. DB::Exception: Value 60 for minute must be in the range [0, 59]: While processing parseDateTimeInJodaSyntax('60', 'm', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194c9f3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:324: DB::(anonymous namespace)::DateTime::setMinute(int) @ 0x000000001190f2c7 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1434: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMinuteOfHour(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192d16c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:30.080052 [ 2661 ] {892bb46a-0302-4d6d-bcc1-91ecaf3aa941} executeQuery: Code: 43. DB::Exception: Illegal type String of the 2 argument of function generateRandomStructure, expected unsigned integer or Null: While processing generateRandomStructure(5, '42'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41676) (comment: 02586_generate_random_structure.sql) (in query: select generateRandomStructure(5, '42');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000b8fc028 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionGenerateRandomStructure.cpp:370: DB::FunctionGenerateRandomStructure::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b8f88d5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:16:30.081263 [ 2661 ] {892bb46a-0302-4d6d-bcc1-91ecaf3aa941} TCPHandler: Code: 43. DB::Exception: Illegal type String of the 2 argument of function generateRandomStructure, expected unsigned integer or Null: While processing generateRandomStructure(5, '42'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x000000000b8fc028 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionGenerateRandomStructure.cpp:370: DB::FunctionGenerateRandomStructure::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b8f88d5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:16:30.162945 [ 2885 ] {fc49fead-3964-4b2d-8a84-67a07cd2002f} executeQuery: Code: 41. DB::Exception: Unable to parse fragment m from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'm', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('-1', 'm', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119503cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1221: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011930aa8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1432: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMinuteOfHour(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192d15c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:30.301371 [ 2661 ] {ec8d6bd8-efb7-4a51-8412-8e20440a3cf1} executeQuery: Code: 44. DB::Exception: Argument at index 0 for function generateRandomStructure must be constant. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41676) (comment: 02586_generate_random_structure.sql) (in query: select generateRandomStructure(materialize(5), 42);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5def0c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeaac5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:30.301499 [ 2885 ] {fc49fead-3964-4b2d-8a84-67a07cd2002f} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment m from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 'm', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119503cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1221: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011930aa8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1432: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaMinuteOfHour(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192d15c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:30.302213 [ 2661 ] {ec8d6bd8-efb7-4a51-8412-8e20440a3cf1} TCPHandler: Code: 44. DB::Exception: Argument at index 0 for function generateRandomStructure must be constant. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5def0c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeaac5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:30.311358 [ 2885 ] {69ab81fd-e952-4904-97df-10042e07ba53} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'm', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 'm', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:30.311907 [ 2661 ] {78acc9ae-12f9-407f-9afd-9caa79b38a9d} executeQuery: Code: 44. DB::Exception: Argument at index 1 for function generateRandomStructure must be constant. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41676) (comment: 02586_generate_random_structure.sql) (in query: select generateRandomStructure(5, materialize(42));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5def0c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeaac5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:30.312248 [ 2885 ] {69ab81fd-e952-4904-97df-10042e07ba53} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 'm', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:30.312586 [ 2661 ] {78acc9ae-12f9-407f-9afd-9caa79b38a9d} TCPHandler: Code: 44. DB::Exception: Argument at index 1 for function generateRandomStructure must be constant. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5def0c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeaac5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:30.444642 [ 2885 ] {c0479387-9848-4f26-9336-7092cd8209f2} executeQuery: Code: 41. DB::Exception: Value 60 for second must be in the range [0, 59]: While processing parseDateTimeInJodaSyntax('60', 's', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('60', 's', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194c9f3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:332: DB::(anonymous namespace)::DateTime::setSecond(int) @ 0x000000001190f907 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1442: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaSecondOfMinute(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192d20c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:30.445716 [ 2885 ] {c0479387-9848-4f26-9336-7092cd8209f2} TCPHandler: Code: 41. DB::Exception: Value 60 for second must be in the range [0, 59]: While processing parseDateTimeInJodaSyntax('60', 's', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000001194c9f3 in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:332: DB::(anonymous namespace)::DateTime::setSecond(int) @ 0x000000001190f907 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1442: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaSecondOfMinute(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192d20c in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:30.527198 [ 2885 ] {9d84f291-66eb-4be9-8ba0-47a89e6e2c0e} executeQuery: Code: 41. DB::Exception: Unable to parse fragment s from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 's', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('-1', 's', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119503cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1221: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011930aa8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1440: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaSecondOfMinute(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192d1fc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:30.528162 [ 2885 ] {9d84f291-66eb-4be9-8ba0-47a89e6e2c0e} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment s from -1 because read number failed: While processing parseDateTimeInJodaSyntax('-1', 's', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119503cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1221: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011930aa8 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1440: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaSecondOfMinute(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192d1fc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:30.536825 [ 2885 ] {cb7f30f7-f99d-4fbe-a2ef-e4fdfc802003} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 's', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('123456789', 's', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:30.537644 [ 2885 ] {cb7f30f7-f99d-4fbe-a2ef-e4fdfc802003} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTimeInJodaSyntax('123456789', 's', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194af6c in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:575: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928b55 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:16:30.618442 [ 2885 ] {c51ab50e-05fb-482d-9c31-de40f0b792b9} executeQuery: Code: 41. DB::Exception: Unable to parse fragment CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC from because max_digits_to_read is too big: While processing parseDateTimeInJodaSyntax('19191919191919191919191919191919', 'CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: -- integer overflow in AST Fuzzer select parseDateTimeInJodaSyntax('19191919191919191919191919191919', 'CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119503cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1170: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011930717 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1254: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaCenturyOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192ba30 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:30.619418 [ 2885 ] {c51ab50e-05fb-482d-9c31-de40f0b792b9} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC from because max_digits_to_read is too big: While processing parseDateTimeInJodaSyntax('19191919191919191919191919191919', 'CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&) @ 0x00000000119503cc in /usr/bin/clickhouse 6. /build/src/Functions/parseDateTime.cpp:1170: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::readNumberWithVariableLength(char const*, char const*, bool, bool, bool, unsigned long, unsigned long, String const&, int&) @ 0x0000000011930717 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:1254: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::jodaCenturyOfEra(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001192ba30 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930426 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result::type std::invoke(char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119303bd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/bind_front.h:33: decltype(std::invoke(std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__bind_front_op::operator()[abi:v15000](char const* (*&)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011930321 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/perfect_forward.h:53: decltype((std::__bind_front_op)()(std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<0ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::tuple_element<0ul, std::tuple>::type& std::get[abi:v15000]<1ul, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>(std::tuple&)((*this).__bound_args_), std::forward(fp), std::forward(fp), std::forward(fp), std::forward(fp))) std::__perfect_forward_impl, char const* (*)(unsigned long, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&), unsigned long>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) & @ 0x00000000119302da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000]&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930275 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: char const* std::__invoke_void_return_wrapper::__call&, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&>(std::__bind_front_t&, char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x0000000011930235 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) @ 0x00000000119301f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: char const* std::__function::__policy_invoker::__call_impl, char const* (char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&)>>(std::__function::__policy_storage const*, char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000001193019d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](char const*&&, char const*&&, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932bbc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) const @ 0x0000000011932b55 in /usr/bin/clickhouse 18. /build/src/Functions/parseDateTime.cpp:647: DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::perform(char const*, char const*, DB::(anonymous namespace)::DateTime&) const @ 0x000000001192a0b7 in /usr/bin/clickhouse 19. /build/src/Functions/parseDateTime.cpp:543: DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011928989 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:16:30.752470 [ 2661 ] {a756afa3-ef3f-4c5f-a108-a2791d61b271} executeQuery: Code: 42. DB::Exception: Table function 'generateRandom' requires at most four (or three if structure is missing) arguments: [structure, random_seed, max_string_length, max_array_length]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41676) (comment: 02586_generate_random_structure.sql) (in query: select * from generateRandom(10000000, 2, 2, 2) limit 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:49: DB::TableFunctionGenerateRandom::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a988e4b in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:30.905041 [ 2661 ] {a756afa3-ef3f-4c5f-a108-a2791d61b271} TCPHandler: Code: 42. DB::Exception: Table function 'generateRandom' requires at most four (or three if structure is missing) arguments: [structure, random_seed, max_string_length, max_array_length]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:49: DB::TableFunctionGenerateRandom::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a988e4b in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:30.905080 [ 2885 ] {6dbc3fd4-d3fc-4bee-bc05-3f6643bd9ecb} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTimeInJodaSyntax provided 1 (String), expected 2 to 3 ('time' : String, 'format' : String, ['timezone' : const String]): While processing parseDateTimeInJodaSyntax('12 AM'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: -- Error handling select parseDateTimeInJodaSyntax('12 AM');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfbc5d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9ba5 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:497: DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011929046 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:16:30.906309 [ 2885 ] {6dbc3fd4-d3fc-4bee-bc05-3f6643bd9ecb} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTimeInJodaSyntax provided 1 (String), expected 2 to 3 ('time' : String, 'format' : String, ['timezone' : const String]): While processing parseDateTimeInJodaSyntax('12 AM'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfbc5d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9ba5 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:497: DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011929046 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:16:30.916174 [ 2885 ] {99914e62-09ff-4cde-ad74-d7d0b89162da} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTimeInJodaSyntax provided 4 (String, String, String, String), expected 2 to 3 ('time' : String, 'format' : String, ['timezone' : const String]): While processing parseDateTimeInJodaSyntax('12 AM', 'h a', 'UTC', 'a fourth argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41616) (comment: 02668_parse_datetime_in_joda_syntax.sql) (in query: select parseDateTimeInJodaSyntax('12 AM', 'h a', 'UTC', 'a fourth argument');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfbc5d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9ba5 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:497: DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011929046 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:16:30.917262 [ 2885 ] {99914e62-09ff-4cde-ad74-d7d0b89162da} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTimeInJodaSyntax provided 4 (String, String, String, String), expected 2 to 3 ('time' : String, 'format' : String, ['timezone' : const String]): While processing parseDateTimeInJodaSyntax('12 AM', 'h a', 'UTC', 'a fourth argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfbc5d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9ba5 in /usr/bin/clickhouse 7. /build/src/Functions/parseDateTime.cpp:497: DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x0000000011929046 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:16:36.722160 [ 2669 ] {206d880a-e422-4fc7-9225-2f43d10e6c47} executeQuery: Code: 36. DB::Exception: Primary key cannot be updated (cannot update column key). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43114) (comment: 02577_keepermap_delete_update.sql) (in query: ALTER TABLE 02577_keepermap_delete_update UPDATE key = key * 10 WHERE 1 = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:930: DB::StorageKeeperMap::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001d7184c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:179: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d487a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:36.723063 [ 2669 ] {206d880a-e422-4fc7-9225-2f43d10e6c47} TCPHandler: Code: 36. DB::Exception: Primary key cannot be updated (cannot update column key). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:930: DB::StorageKeeperMap::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001d7184c4 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:179: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d487a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:37.160334 [ 2669 ] {74add792-f534-4b42-a87e-e51ba9cd42a6} executeQuery: Code: 36. DB::Exception: Mutations with ON CLUSTER are not allowed for KeeperMap tables. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43114) (comment: 02577_keepermap_delete_update.sql) (in query: ALTER TABLE 02577_keepermap_delete_update ON CLUSTER test_shard_localhost UPDATE value2 = value2 * 10 + 2 WHERE value2 < 100;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [63]) @ 0x000000000bade65e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:90: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d306a in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:37.161175 [ 2669 ] {74add792-f534-4b42-a87e-e51ba9cd42a6} TCPHandler: Code: 36. DB::Exception: Mutations with ON CLUSTER are not allowed for KeeperMap tables. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [63]) @ 0x000000000bade65e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:90: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d306a in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:45.442127 [ 2661 ] {c4af20b0-aed1-4e4c-ae42-529531353595} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: -- test that the check which rejects hyperscan regexes with too big bounded repeats works -- {n} SELECT multiMatchAny('test', ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:45.443123 [ 2661 ] {c4af20b0-aed1-4e4c-ae42-529531353595} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:45.590079 [ 2661 ] {7a3805a1-1ee5-45a4-a440-392919480c56} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{ 51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:45.767637 [ 1435 ] {3546cedd-162f-41ca-9c31-cd9ca7514543} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(id, 42) :: 2) -> throwIf(equals(id, 42)) UInt8 : 1': while pushing to view test_v4zv2xac.async_insert_mv (f9b887b9-f5e5-4e75-af39-f81b4d6cf775). (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 02790_async_queries_in_query_log.sh) (in query: INSERT INTO test_v4zv2xac.async_insert_landing SETTINGS wait_for_async_insert = 1, async_insert = 1 FORMAT Values), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012601046 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000125ffdfd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000001ece3b83 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x000000001ebc8281 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc8255 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc8235 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc8215 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc81dd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 31. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc7422 in /usr/bin/clickhouse 2024.12.17 01:16:45.767744 [ 3550 ] {1a2c1a0a-3bc6-46aa-bc02-edaf27f4b4a2} executeQuery: Code: 36. DB::Exception: 'ntile' argument type must be an unsigned integer (not larger than 64-bit), got Float64. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40058) (comment: 02560_window_ntile.sql) (in query: -- Bad arguments select a, b, ntile(3.0) over (partition by a order by b) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1965: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccdeab in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccdb94 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd951 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd637 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd4aa in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd436 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2464: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ecbef0d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecbeeb8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecbee35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecbedd5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001ecbed7d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:791: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x000000001bfadf02 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2015: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba468 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 2024.12.17 01:16:45.767702 [ 2661 ] {7a3805a1-1ee5-45a4-a440-392919480c56} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:45.769087 [ 3550 ] {1a2c1a0a-3bc6-46aa-bc02-edaf27f4b4a2} TCPHandler: Code: 36. DB::Exception: 'ntile' argument type must be an unsigned integer (not larger than 64-bit), got Float64. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1965: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccdeab in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccdb94 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd951 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd637 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd4aa in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd436 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2464: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ecbef0d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecbeeb8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecbee35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecbedd5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001ecbed7d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:791: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x000000001bfadf02 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2015: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba468 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 2024.12.17 01:16:45.770910 [ 1435 ] {} AsynchronousInsertQueue: Failed insertion for query 'INSERT INTO test_v4zv2xac.async_insert_landing SETTINGS wait_for_async_insert = 1, async_insert = 1 FORMAT Values': Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(id, 42) :: 2) -> throwIf(equals(id, 42)) UInt8 : 1': while pushing to view test_v4zv2xac.async_insert_mv (f9b887b9-f5e5-4e75-af39-f81b4d6cf775). (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012601046 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000125ffdfd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000001ece3b83 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x000000001ebc8281 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc8255 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc8235 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc8215 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc81dd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 31. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc7422 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:16:45.772970 [ 2670 ] {thiufgsotz} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(id, 42) :: 2) -> throwIf(equals(id, 42)) UInt8 : 1': while pushing to view test_v4zv2xac.async_insert_mv (f9b887b9-f5e5-4e75-af39-f81b4d6cf775): While executing WaitForAsyncInsert. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43126) (comment: 02790_async_queries_in_query_log.sh) (in query: INSERT INTO async_insert_landing SETTINGS wait_for_async_insert=1, async_insert=1 values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012601046 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000125ffdfd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000001ece3b83 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x000000001ebc8281 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc8255 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc8235 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc8215 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc81dd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 31. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc7422 in /usr/bin/clickhouse 2024.12.17 01:16:45.775111 [ 2670 ] {thiufgsotz} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(id, 42) :: 2) -> throwIf(equals(id, 42)) UInt8 : 1': while pushing to view test_v4zv2xac.async_insert_mv (f9b887b9-f5e5-4e75-af39-f81b4d6cf775): While executing WaitForAsyncInsert. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012601046 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000125ffdfd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000001ece3b83 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x000000001ebc8281 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc8255 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc8235 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc8215 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc81dd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 31. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc7422 in /usr/bin/clickhouse 2024.12.17 01:16:45.779468 [ 2661 ] {de6ca84e-0103-4864-a67c-e97c80d4b5c2} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 }']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51 }']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:45.780460 [ 2661 ] {de6ca84e-0103-4864-a67c-e97c80d4b5c2} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 }']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:45.789964 [ 3550 ] {59fd8289-969c-4e00-b6c0-18df6cb75ea0} executeQuery: Code: 36. DB::Exception: 'ntile' argument type must be an unsigned integer (not larger than 64-bit), got String. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40058) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile('2') over (partition by a order by b) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1965: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccdeab in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccdb94 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd951 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd637 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd4aa in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd436 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2464: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ecbef0d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecbeeb8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecbee35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecbedd5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001ecbed7d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:791: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x000000001bfadf02 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2015: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba468 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 2024.12.17 01:16:45.790786 [ 2661 ] {72f78ea0-19a7-400e-b530-5b24dcb60c94} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['prefix.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:45.791208 [ 3550 ] {59fd8289-969c-4e00-b6c0-18df6cb75ea0} TCPHandler: Code: 36. DB::Exception: 'ntile' argument type must be an unsigned integer (not larger than 64-bit), got String. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1965: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccdeab in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccdb94 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd951 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd637 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd4aa in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd436 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2464: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ecbef0d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecbeeb8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecbee35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecbedd5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001ecbed7d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:791: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x000000001bfadf02 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2015: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba468 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 2024.12.17 01:16:45.791721 [ 2661 ] {72f78ea0-19a7-400e-b530-5b24dcb60c94} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:45.803267 [ 2661 ] {4e1df48f-0171-4427-af56-c57013cfdf44} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51}.suffix']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:45.804386 [ 2661 ] {4e1df48f-0171-4427-af56-c57013cfdf44} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:45.815677 [ 2661 ] {96026ecf-f652-4ca9-aa75-b683583df9e6} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{4,4}midfix{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:45.816531 [ 2661 ] {96026ecf-f652-4ca9-aa75-b683583df9e6} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:45.827234 [ 2661 ] {4285169d-5756-4227-8673-ed154d71a0c6} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: -- {n,} SELECT multiMatchAny('test', ['.{51,}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:45.828114 [ 2661 ] {4285169d-5756-4227-8673-ed154d71a0c6} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:45.992579 [ 3550 ] {eca09788-0ea4-4740-8915-a2482a9bdb8c} executeQuery: Code: 36. DB::Exception: Argument of 'ntile' funtcion must be greater than zero. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40058) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(0) over (partition by a order by b) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c158a3e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2001: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001ecce455 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb833c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecb8d15 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbcd81 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 2024.12.17 01:16:45.994509 [ 3550 ] {eca09788-0ea4-4740-8915-a2482a9bdb8c} TCPHandler: Code: 36. DB::Exception: Argument of 'ntile' funtcion must be greater than zero. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c158a3e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2001: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001ecce455 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb833c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecb8d15 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbcd81 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 2024.12.17 01:16:46.004855 [ 2661 ] {1c36bd16-2f6e-420f-8c26-78391a46b828} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{ 51,}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.006149 [ 2661 ] {1c36bd16-2f6e-420f-8c26-78391a46b828} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.016468 [ 2661 ] {069cd701-9357-45e0-8155-db7c0c846078} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 ,}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51 ,}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.017367 [ 2661 ] {069cd701-9357-45e0-8155-db7c0c846078} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 ,}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.023282 [ 3550 ] {86df362c-e94d-4fbd-bc78-22ed77a63679} executeQuery: Code: 36. DB::Exception: 'ntile' argument type must be an unsigned integer (not larger than 64-bit), got Int8. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40058) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(-2) over (partition by a order by b) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1965: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccdeab in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccdb94 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd951 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd637 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd4aa in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd436 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2464: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ecbef0d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecbeeb8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecbee35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecbedd5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001ecbed7d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:791: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x000000001bfadf02 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2015: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba468 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 2024.12.17 01:16:46.024703 [ 3550 ] {86df362c-e94d-4fbd-bc78-22ed77a63679} TCPHandler: Code: 36. DB::Exception: 'ntile' argument type must be an unsigned integer (not larger than 64-bit), got Int8. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1965: DB::WindowFunctionNtile::WindowFunctionNtile(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccdeab in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::WindowFunctionNtile* std::construct_at[abi:v15000], std::allocator>> const&, DB::Array const&, DB::WindowFunctionNtile*>(DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccdb94 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>> const&, DB::Array const&, void, void>(std::allocator&, DB::WindowFunctionNtile*, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd951 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>> const&, DB::Array const&>(std::allocator, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd637 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd4aa in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>> const&, DB::Array const&, void>(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001eccd436 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:2464: DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ecbef0d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecbeeb8 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerWindowFunctions(DB::AggregateFunctionFactory&)::$_3&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecbee35 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x000000001ecbedd5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001ecbed7d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:791: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x000000001bfadf02 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2015: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba468 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 2024.12.17 01:16:46.029889 [ 2661 ] {2614a06b-0ff5-4a53-8a51-02563c42fd49} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51, }']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51, }']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.030995 [ 2661 ] {2614a06b-0ff5-4a53-8a51-02563c42fd49} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51, }']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.041601 [ 2661 ] {e5dc0e4f-4aee-4cdf-8acd-c59e9d42ab0d} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['prefix.{51,}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.042475 [ 2661 ] {e5dc0e4f-4aee-4cdf-8acd-c59e9d42ab0d} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.052539 [ 2661 ] {9e17ee1b-5711-431b-9418-fbd14d568177} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51,}.suffix']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.053396 [ 2661 ] {9e17ee1b-5711-431b-9418-fbd14d568177} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.062612 [ 2661 ] {a5342f90-87c6-48d6-b789-349fb388c1b8} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{4,4}midfix{51,}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.063460 [ 2661 ] {a5342f90-87c6-48d6-b789-349fb388c1b8} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{51,}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.216879 [ 3550 ] {891e70ed-75ca-4ef1-86ef-ab11000f699f} executeQuery: Code: 36. DB::Exception: Argument of 'ntile' function must be a constant. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40058) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(b + 1) over (partition by a order by b) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9123fe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1988: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001ecce17a in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb833c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecb8d15 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbcd81 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 2024.12.17 01:16:46.217008 [ 2661 ] {b4d003db-0af6-4e04-93d2-760b95f88bb7} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: -- {n,m} SELECT multiMatchAny('test', ['.{1,51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.218326 [ 2661 ] {b4d003db-0af6-4e04-93d2-760b95f88bb7} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.218739 [ 3550 ] {891e70ed-75ca-4ef1-86ef-ab11000f699f} TCPHandler: Code: 36. DB::Exception: Argument of 'ntile' function must be a constant. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9123fe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1988: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001ecce17a in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb833c in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecb8d15 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbcd81 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 2024.12.17 01:16:46.230069 [ 2661 ] {63ae98dc-0a60-476e-82ab-2f67fca6462e} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51,52}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.230990 [ 2661 ] {63ae98dc-0a60-476e-82ab-2f67fca6462e} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.241248 [ 2661 ] {e648688f-6ee3-4b1f-97bf-9d139c3590b5} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{ 51,52}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.242074 [ 2661 ] {e648688f-6ee3-4b1f-97bf-9d139c3590b5} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{ 51,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.252820 [ 2661 ] {24d34520-402d-49d2-a0d5-96ae93ca8ae0} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 ,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51 ,52}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.253689 [ 2661 ] {24d34520-402d-49d2-a0d5-96ae93ca8ae0} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51 ,52}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.397247 [ 3550 ] {175e4b0c-7bf9-4c03-b41c-8a9ebc7363bd} executeQuery: Code: 36. DB::Exception: Window frame for 'ntile' function must have ORDER BY clause. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40058) (comment: 02560_window_ntile.sql) (in query: -- Bad window type select a, b, ntile(2) over (partition by a) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [60]) @ 0x000000000b19a7be in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2079: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001ecceb36 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001ecce0d6 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb833c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecb8d15 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbcd81 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 2024.12.17 01:16:46.399131 [ 3550 ] {175e4b0c-7bf9-4c03-b41c-8a9ebc7363bd} TCPHandler: Code: 36. DB::Exception: Window frame for 'ntile' function must have ORDER BY clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [60]) @ 0x000000000b19a7be in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2079: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001ecceb36 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001ecce0d6 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb833c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecb8d15 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbcd81 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 2024.12.17 01:16:46.407678 [ 2661 ] {1046adf4-129b-4375-88a3-11738b2bc42f} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51, 52}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51, 52}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.408667 [ 2661 ] {1046adf4-129b-4375-88a3-11738b2bc42f} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51, 52}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.419894 [ 2661 ] {a7661eab-96fb-431e-9cc1-050f5b876257} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,52 }']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{51,52 }']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.420829 [ 2661 ] {a7661eab-96fb-431e-9cc1-050f5b876257} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{51,52 }']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.430530 [ 2661 ] {a0c1e287-4142-49fc-a880-52e36131dc90} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['prefix.{1,51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.431446 [ 2661 ] {a0c1e287-4142-49fc-a880-52e36131dc90} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['prefix.{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.581323 [ 3550 ] {d7aafead-18ef-487c-b35c-866983d5c36b} executeQuery: Code: 36. DB::Exception: Window frame for function 'ntile' should be 'ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40058) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(2) over (partition by a order by b rows between 4 preceding and unbounded following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [103]) @ 0x000000001c7f94fe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2088: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001eccebd2 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001ecce0d6 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb833c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecb8d15 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbcd81 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 2024.12.17 01:16:46.581534 [ 2661 ] {d71be957-e528-4f9d-a9ce-a6d71ef98475} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{1,51}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{1,51}.suffix']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.582832 [ 2661 ] {d71be957-e528-4f9d-a9ce-a6d71ef98475} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{1,51}.suffix']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.583019 [ 3550 ] {d7aafead-18ef-487c-b35c-866983d5c36b} TCPHandler: Code: 36. DB::Exception: Window frame for function 'ntile' should be 'ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [103]) @ 0x000000001c7f94fe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2088: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001eccebd2 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001ecce0d6 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb833c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecb8d15 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbcd81 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 2024.12.17 01:16:46.595117 [ 2661 ] {ad50a194-bded-47bd-815d-cac590c5d6c4} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('test', ['.{4,4}midfix{1,51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.596299 [ 2661 ] {ad50a194-bded-47bd-815d-cac590c5d6c4} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('test', ['.{4,4}midfix{1,51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.616156 [ 3550 ] {9cce2b6d-b988-4a9a-a49c-9e409b2aad27} executeQuery: Code: 36. DB::Exception: Window frame for function 'ntile' should be 'ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40058) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(2) over (partition by a order by b rows between unbounded preceding and 4 following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [103]) @ 0x000000001c7f94fe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2088: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001eccebd2 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001ecce0d6 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb833c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecb8d15 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbcd81 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 2024.12.17 01:16:46.618065 [ 3550 ] {9cce2b6d-b988-4a9a-a49c-9e409b2aad27} TCPHandler: Code: 36. DB::Exception: Window frame for function 'ntile' should be 'ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [103]) @ 0x000000001c7f94fe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2088: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001eccebd2 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001ecce0d6 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb833c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecb8d15 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbcd81 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 2024.12.17 01:16:46.653146 [ 3550 ] {b8d70392-da07-4443-8b98-52f2db3af114} executeQuery: Code: 36. DB::Exception: Window frame for function 'ntile' should be 'ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40058) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(2) over (partition by a order by b rows between 4 preceding and 4 following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [103]) @ 0x000000001c7f94fe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2088: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001eccebd2 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001ecce0d6 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb833c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecb8d15 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbcd81 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 2024.12.17 01:16:46.654895 [ 3550 ] {b8d70392-da07-4443-8b98-52f2db3af114} TCPHandler: Code: 36. DB::Exception: Window frame for function 'ntile' should be 'ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [103]) @ 0x000000001c7f94fe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2088: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001eccebd2 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001ecce0d6 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb833c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecb8d15 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbcd81 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 2024.12.17 01:16:46.690410 [ 3550 ] {2b2a765d-b63a-4251-94a3-e396dbf10c8c} executeQuery: Code: 36. DB::Exception: Window frame for function 'ntile' should be 'ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40058) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(2) over (partition by a order by b rows between current row and 4 following) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [103]) @ 0x000000001c7f94fe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2088: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001eccebd2 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001ecce0d6 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb833c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecb8d15 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbcd81 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 2024.12.17 01:16:46.692143 [ 3550 ] {2b2a765d-b63a-4251-94a3-e396dbf10c8c} TCPHandler: Code: 36. DB::Exception: Window frame for function 'ntile' should be 'ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [103]) @ 0x000000001c7f94fe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2088: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001eccebd2 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001ecce0d6 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb833c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecb8d15 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbcd81 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 2024.12.17 01:16:46.727144 [ 3550 ] {31b633d6-6160-4203-9c4f-0328d959f292} executeQuery: Code: 36. DB::Exception: Window frame for function 'ntile' should be 'ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40058) (comment: 02560_window_ntile.sql) (in query: select a, b, ntile(2) over (partition by a order by b range unbounded preceding) from(select intDiv(number,10) as a, number%10 as b from numbers(20));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [103]) @ 0x000000001c7f94fe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2088: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001eccebd2 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001ecce0d6 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb833c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecb8d15 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbcd81 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 2024.12.17 01:16:46.728659 [ 3550 ] {31b633d6-6160-4203-9c4f-0328d959f292} TCPHandler: Code: 36. DB::Exception: Window frame for function 'ntile' should be 'ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [103]) @ 0x000000001c7f94fe in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:2088: DB::WindowFunctionNtile::checkWindowFrameType(DB::WindowTransform const*) @ 0x000000001eccebd2 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/WindowTransform.cpp:1984: DB::WindowFunctionNtile::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001ecce0d6 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb833c in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecb8d15 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbcd81 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 2024.12.17 01:16:46.803355 [ 2661 ] {7b29ae32-ee39-47c6-8b23-ddd2b70da139} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny('Hallo Welt', ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.804256 [ 2661 ] {7b29ae32-ee39-47c6-8b23-ddd2b70da139} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAny('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111550de in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011154301 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153c77 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:46.939903 [ 2661 ] {21c31105-a3dc-42dc-b9b0-ccbc9784ac03} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAny(c, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111545d9 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:72: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x00000000111541da in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153b28 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 2024.12.17 01:16:46.940785 [ 2661 ] {21c31105-a3dc-42dc-b9b0-ccbc9784ac03} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111545d9 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:72: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x00000000111541da in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011153b28 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 2024.12.17 01:16:47.062367 [ 2661 ] {ccd87278-9aeb-4f7d-8e72-1dc5fb46b7a9} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAnyIndex('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAnyIndex('Hallo Welt', ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x0000000011159d24 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011158f41 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000111588b7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:47.063376 [ 2661 ] {ccd87278-9aeb-4f7d-8e72-1dc5fb46b7a9} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAnyIndex('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x0000000011159d24 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:192: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011158f41 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000111588b7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:47.202833 [ 2661 ] {4c6521b9-2a66-4e7d-babc-e561eec20135} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAnyIndex(c, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x0000000011159219 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:72: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011158e1a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011158768 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 2024.12.17 01:16:47.203663 [ 2661 ] {4c6521b9-2a66-4e7d-babc-e561eec20135} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x0000000011159219 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAnyImpl.h:72: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x0000000011158e1a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011158768 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 2024.12.17 01:16:47.312182 [ 2661 ] {b1f6f6ad-fcc9-443b-81be-f940e1820ffe} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAllIndices('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAllIndices('Hallo Welt', ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:216: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111503be in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAllIndicesImpl.h:166: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x000000001114f5a1 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001114eed7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:47.313530 [ 2661 ] {b1f6f6ad-fcc9-443b-81be-f940e1820ffe} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiMatchAllIndices('Hallo Welt', ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:216: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x00000000111503be in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAllIndicesImpl.h:166: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x000000001114f5a1 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:114: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001114eed7 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:16:47.447626 [ 2661 ] {d9f042a4-f8ae-4aab-a2f0-661d5e24b694} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiMatchAllIndices(c, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:87: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001114f879 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAllIndicesImpl.h:58: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x000000001114f47a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001114ed88 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 2024.12.17 01:16:47.448669 [ 2661 ] {d9f042a4-f8ae-4aab-a2f0-661d5e24b694} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:87: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001114f879 in /usr/bin/clickhouse 7. /build/src/Functions/MultiMatchAllIndicesImpl.h:58: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, bool, unsigned long, unsigned long, bool) @ 0x000000001114f47a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsMultiStringSearch.h:108: DB::FunctionsMultiStringSearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001114ed88 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 2024.12.17 01:16:47.578897 [ 2661 ] {abd26387-7755-4550-a070-bea00e5eda61} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAny('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAny('Hallo Welt', 1, ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113b4fe in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113a18c in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 2024.12.17 01:16:47.580016 [ 2661 ] {abd26387-7755-4550-a070-bea00e5eda61} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAny('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113b4fe in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113a18c in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 2024.12.17 01:16:47.730722 [ 2661 ] {f8d0b465-f1f8-4b0d-a5ab-26c69524b961} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAny(c, 1, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113aa99 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011139ff5 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:16:47.731749 [ 2661 ] {f8d0b465-f1f8-4b0d-a5ab-26c69524b961} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113aa99 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011139ff5 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:16:47.842381 [ 2661 ] {815b4878-4ed3-491d-a16a-8921f15d09ad} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAnyIndex('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAnyIndex('Hallo Welt', 1, ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x0000000011140584 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113f20c in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 2024.12.17 01:16:47.843306 [ 2661 ] {815b4878-4ed3-491d-a16a-8921f15d09ad} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAnyIndex('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:241: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x0000000011140584 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113f20c in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 2024.12.17 01:16:47.977833 [ 2661 ] {2304def5-f846-4021-b121-aa79b2558421} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAnyIndex(c, 1, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113fb19 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113f075 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:16:47.978689 [ 2661 ] {2304def5-f846-4021-b121-aa79b2558421} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAnyImpl.h:101: DB::MultiMatchAnyImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113fb19 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113f075 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:16:48.090974 [ 2661 ] {caeb4159-2f31-4b6f-ab5f-a8ae333ac44e} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAllIndices('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAllIndices('Hallo Welt', 1, ['.{51}']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:216: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001112c29e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001112ae8c in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 2024.12.17 01:16:48.091922 [ 2661 ] {caeb4159-2f31-4b6f-ab5f-a8ae333ac44e} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'.: While processing multiFuzzyMatchAllIndices('Hallo Welt', 1, ['.{51}']). (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:216: DB::MultiMatchAllIndicesImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001112c29e in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001112ae8c in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 2024.12.17 01:16:48.226753 [ 2661 ] {59bf4143-9dd7-4441-9514-4b5c1e191287} executeQuery: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40060) (comment: 02560_regexp_denial_of_service.sql) (in query: SELECT multiFuzzyMatchAllIndices(c, 1, ['.{51}']) FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:87: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001112b7f9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001112acf5 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:16:48.227574 [ 2661 ] {59bf4143-9dd7-4441-9514-4b5c1e191287} TCPHandler: Code: 447. DB::Exception: Regular expression evaluation in vectorscan will be too slow. To ignore this error, disable setting 'reject_expensive_hyperscan_regexps'. (HYPERSCAN_CANNOT_SCAN_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [138]) @ 0x000000001112cf3e in /usr/bin/clickhouse 6. /build/src/Functions/MultiMatchAllIndicesImpl.h:87: DB::MultiMatchAllIndicesImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::Array const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001112b7f9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:111: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001112acf5 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:16:49.184398 [ 3551 ] {1455fe62-4785-4afa-93ef-45a7d218290c} executeQuery: Code: 184. DB::Exception: Window function count(NULL) OVER (ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) is found in GROUP BY in query. (ILLEGAL_AGGREGATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40116) (comment: 02552_analyzer_optimize_group_by_function_keys_crash.sql) (in query: SELECT NULL GROUP BY tuple('0.0000000007'), count(NULL) OVER (ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) -- { serverError 184 }; ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000d9ea36c in /usr/bin/clickhouse 6. /build/src/Analyzer/WindowFunctionsUtils.cpp:43: DB::(anonymous namespace)::CollectWindowFunctionNodeVisitor::visitImpl(std::shared_ptr const&) @ 0x000000001c99fd61 in /usr/bin/clickhouse 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:61: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001c99f8b6 in /usr/bin/clickhouse 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:78: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001c99fc42 in /usr/bin/clickhouse 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:63: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001c99f8d3 in /usr/bin/clickhouse 10. /build/src/Analyzer/WindowFunctionsUtils.cpp:102: DB::assertNoWindowFunctionNodes(std::shared_ptr const&, String const&) @ 0x000000001c99faa9 in /usr/bin/clickhouse 11. /build/src/Analyzer/ValidationUtils.cpp:196: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001c9987fa in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7140: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91ad3c in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:16:49.185363 [ 3551 ] {1455fe62-4785-4afa-93ef-45a7d218290c} TCPHandler: Code: 184. DB::Exception: Window function count(NULL) OVER (ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) is found in GROUP BY in query. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000d9ea36c in /usr/bin/clickhouse 6. /build/src/Analyzer/WindowFunctionsUtils.cpp:43: DB::(anonymous namespace)::CollectWindowFunctionNodeVisitor::visitImpl(std::shared_ptr const&) @ 0x000000001c99fd61 in /usr/bin/clickhouse 7. /build/src/Analyzer/InDepthQueryTreeVisitor.h:61: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001c99f8b6 in /usr/bin/clickhouse 8. /build/src/Analyzer/InDepthQueryTreeVisitor.h:78: DB::InDepthQueryTreeVisitor::visitChildren(std::shared_ptr const&) @ 0x000000001c99fc42 in /usr/bin/clickhouse 9. /build/src/Analyzer/InDepthQueryTreeVisitor.h:63: DB::InDepthQueryTreeVisitor::visit(std::shared_ptr const&) @ 0x000000001c99f8d3 in /usr/bin/clickhouse 10. /build/src/Analyzer/WindowFunctionsUtils.cpp:102: DB::assertNoWindowFunctionNodes(std::shared_ptr const&, String const&) @ 0x000000001c99faa9 in /usr/bin/clickhouse 11. /build/src/Analyzer/ValidationUtils.cpp:196: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001c9987fa in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7140: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91ad3c in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:06.580688 [ 2661 ] {} ServerErrorHandler: Code: 101. DB::NetException: Unexpected packet from client (expected Hello, got 22). (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000001e6594f3 in /usr/bin/clickhouse 6. /build/src/Server/TCPHandler.cpp:1301: DB::TCPHandler::receiveHello() @ 0x000000001e647414 in /usr/bin/clickhouse 7. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e63f956 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 9. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 11. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 14. ? @ 0x00007f3559e74ac3 in ? 15. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:17:06.582222 [ 2921 ] {} ServerErrorHandler: Code: 101. DB::NetException: Unexpected packet from client (expected Hello, got 22). (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000001e6594f3 in /usr/bin/clickhouse 6. /build/src/Server/TCPHandler.cpp:1301: DB::TCPHandler::receiveHello() @ 0x000000001e647414 in /usr/bin/clickhouse 7. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e63f956 in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 9. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 11. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 14. ? @ 0x00007f3559e74ac3 in ? 15. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:17:09.260006 [ 2669 ] {0b30fb32-caed-409b-9d0e-429fdbabf5a2} executeQuery: Code: 44. DB::Exception: Illegal column Const(Array(UInt32)) of argument of function concat: while executing 'FUNCTION concat(x :: 0, [1048577]_Array(UInt32) :: 1, ''_String :: 2) -> concat(x, [1048577]_Array(UInt32), ''_String) String : 3'. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47874) (comment: 02521_analyzer_array_join_crash.sql) (in query: SELECT arrayFilter(x -> notEmpty(concat(x)), [NULL, NULL]) FROM system.one ARRAY JOIN [1048577] AS elem, arrayMap(x -> concat(x, elem, ''), ['']) AS unused;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:148: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x000000000d9122dd in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:0: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d91167a in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8394e in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsMiscellaneous.h:48: DB::ExecutableFunctionExpression::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001bd0f8c6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 20. /build/src/Columns/ColumnFunction.cpp:310: DB::ColumnFunction::reduce() const @ 0x000000001d323a68 in /usr/bin/clickhouse 21. /build/src/Functions/array/FunctionArrayMapped.h:376: DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012914005 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 30. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&>(DB::DataStream const&, std::shared_ptr&) @ 0x000000001ac10cf1 in /usr/bin/clickhouse 2024.12.17 01:17:09.261134 [ 2669 ] {0b30fb32-caed-409b-9d0e-429fdbabf5a2} TCPHandler: Code: 44. DB::Exception: Illegal column Const(Array(UInt32)) of argument of function concat: while executing 'FUNCTION concat(x :: 0, [1048577]_Array(UInt32) :: 1, ''_String :: 2) -> concat(x, [1048577]_Array(UInt32), ''_String) String : 3'. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:148: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x000000000d9122dd in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:0: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d91167a in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8394e in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsMiscellaneous.h:48: DB::ExecutableFunctionExpression::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001bd0f8c6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 20. /build/src/Columns/ColumnFunction.cpp:310: DB::ColumnFunction::reduce() const @ 0x000000001d323a68 in /usr/bin/clickhouse 21. /build/src/Functions/array/FunctionArrayMapped.h:376: DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012914005 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 30. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&>(DB::DataStream const&, std::shared_ptr&) @ 0x000000001ac10cf1 in /usr/bin/clickhouse 2024.12.17 01:17:10.117358 [ 2921 ] {} Access(user directories): from: ::1, user: MySQL: Authentication failed: Code: 192. DB::Exception: There is no user `MySQL` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f40d9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f71dd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f6f8f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b181d69 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f6eda in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb0eac in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 13. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf6e09 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e648b9f in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e63f956 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:17:10.332889 [ 2921 ] {} ServerErrorHandler: Code: 516. DB::Exception: MySQL: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf6e09 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e648b9f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e63f956 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:17:10.332913 [ 2670 ] {640ed8e2-1232-4f0b-aeaa-9e1aff8124e6} executeQuery: Code: 36. DB::Exception: groupArrayLast make sense only with max_elems (groupArrayLast(max_elems)()). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47926) (comment: 02520_group_array_last.sql) (in query: -- { echo } -- BAD_ARGUMENTS select groupArrayLast(number+1) from numbers(5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [76]) @ 0x000000001395cbbe in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:89: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionGroupArray(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001454dd32 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:17:10.333965 [ 2670 ] {640ed8e2-1232-4f0b-aeaa-9e1aff8124e6} TCPHandler: Code: 36. DB::Exception: groupArrayLast make sense only with max_elems (groupArrayLast(max_elems)()). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [76]) @ 0x000000001395cbbe in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:89: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionGroupArray(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001454dd32 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:17:10.452737 [ 2670 ] {2237ffb2-7209-49b7-9fc6-a74e0c6b5efe} executeQuery: Code: 36. DB::Exception: groupArrayLast make sense only with max_elems (groupArrayLast(max_elems)()). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47926) (comment: 02520_group_array_last.sql) (in query: select groupArrayLastArray([number+1]) from numbers(5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [76]) @ 0x000000001395cbbe in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:89: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionGroupArray(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001454dd32 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:199: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0151e in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:17:10.453795 [ 2670 ] {2237ffb2-7209-49b7-9fc6-a74e0c6b5efe} TCPHandler: Code: 36. DB::Exception: groupArrayLast make sense only with max_elems (groupArrayLast(max_elems)()). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [76]) @ 0x000000001395cbbe in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionGroupArray.cpp:89: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionGroupArray(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001454dd32 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:199: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0151e in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:17:11.358832 [ 3551 ] {f6c179cc-3682-43f3-acbd-9ef7d3a46ecb} executeQuery: Code: 36. DB::Exception: DELETE query is not supported for table test_zykrbhhj.kekv. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41134) (comment: 02518_delete_on_materialized_view.sql) (in query: DELETE FROM kekv WHERE a = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:109: DB::InterpreterDeleteQuery::execute() @ 0x000000001ca6fbce in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 16. ? @ 0x00007f3559e74ac3 in ? 17. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:11.359593 [ 3551 ] {f6c179cc-3682-43f3-acbd-9ef7d3a46ecb} TCPHandler: Code: 36. DB::Exception: DELETE query is not supported for table test_zykrbhhj.kekv. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:109: DB::InterpreterDeleteQuery::execute() @ 0x000000001ca6fbce in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 16. ? @ 0x00007f3559e74ac3 in ? 17. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:11.365361 [ 3551 ] {42d85635-63f5-48ef-8110-5f479760d131} executeQuery: Code: 36. DB::Exception: DELETE query is not supported for table test_zykrbhhj.kekv. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41134) (comment: 02518_delete_on_materialized_view.sql) (in query: DELETE FROM kekv WHERE a = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:109: DB::InterpreterDeleteQuery::execute() @ 0x000000001ca6fbce in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 16. ? @ 0x00007f3559e74ac3 in ? 17. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:11.366122 [ 3551 ] {42d85635-63f5-48ef-8110-5f479760d131} TCPHandler: Code: 36. DB::Exception: DELETE query is not supported for table test_zykrbhhj.kekv. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterDeleteQuery.cpp:109: DB::InterpreterDeleteQuery::execute() @ 0x000000001ca6fbce in /usr/bin/clickhouse 7. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 16. ? @ 0x00007f3559e74ac3 in ? 17. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:13.838698 [ 2669 ] {} Access(user directories): from: ::1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x000000001b0f7451 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:535: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f717d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f6f8f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b181d69 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f6eda in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb0eac in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 13. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf6e09 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e648b9f in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e63f956 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:17:13.839845 [ 2669 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf6e09 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e648b9f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e63f956 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:17:15.538611 [ 2669 ] {bd674ad8-d7fb-43f7-80fe-87675c4c5cb4} executeQuery: Code: 36. DB::Exception: index_granularity: value 0 makes no sense. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41254) (comment: 02514_bad_index_granularity.sql) (in query: CREATE TABLE t (`id` Int64, `d` String, `p` Map(String, String)) ENGINE = ReplacingMergeTree ORDER BY id SETTINGS index_granularity = 0, min_bytes_for_wide_part = 263271966, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 20249, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 1229709289, index_granularity_bytes = 15234655, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 16425, primary_key_compress_block_size = 25034), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf0933 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeSettings.cpp:159: DB::MergeTreeSettings::sanityCheck(unsigned long) const @ 0x000000001e157a7f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:367: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5f7b8 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 21. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 2024.12.17 01:17:15.539722 [ 2669 ] {bd674ad8-d7fb-43f7-80fe-87675c4c5cb4} TCPHandler: Code: 36. DB::Exception: index_granularity: value 0 makes no sense. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf0933 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeSettings.cpp:159: DB::MergeTreeSettings::sanityCheck(unsigned long) const @ 0x000000001e157a7f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:367: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5f7b8 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 21. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 2024.12.17 01:17:18.572169 [ 1120 ] {3f3c21f3-2cf7-49f7-bf76-78f7ef0cf483} executeQuery: Code: 43. DB::Exception: Second argument of function transform, must be array of source values to transform from.: In scope SELECT transform(number, NULL, ['google', 'censor.net', 'yahoo'], 'other') FROM system.numbers LIMIT 10. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41352) (comment: 02497_if_transform_strings_to_enum.sql) (in query: SELECT transform(number, NULL, ['google', 'censor.net', 'yahoo'], 'other') FROM system.numbers LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/transform.cpp:87: DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000126ee8fc in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5251: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935e90 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 2024.12.17 01:17:18.573081 [ 1120 ] {3f3c21f3-2cf7-49f7-bf76-78f7ef0cf483} TCPHandler: Code: 43. DB::Exception: Second argument of function transform, must be array of source values to transform from.: In scope SELECT transform(number, NULL, ['google', 'censor.net', 'yahoo'], 'other') FROM system.numbers LIMIT 10. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/transform.cpp:87: DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000126ee8fc in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5251: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935e90 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 2024.12.17 01:17:18.689399 [ 1120 ] {65152514-2565-4d9e-8821-2487cedb8eac} executeQuery: Code: 43. DB::Exception: Second argument of function transform, must be array of source values to transform from.: While processing transform(number, NULL, _CAST(['google', 'censor.net', 'yahoo'], 'Array(Enum8(\'censor.net\' = 1, \'google\' = 2, \'other\' = 3, \'yahoo\' = 4))'), _CAST('other', 'Enum8(\'censor.net\' = 1, \'google\' = 2, \'other\' = 3, \'yahoo\' = 4)')): While processing SELECT transform(number, NULL, _CAST(['google', 'censor.net', 'yahoo'], 'Array(Enum8(\'censor.net\' = 1, \'google\' = 2, \'other\' = 3, \'yahoo\' = 4))'), _CAST('other', 'Enum8(\'censor.net\' = 1, \'google\' = 2, \'other\' = 3, \'yahoo\' = 4)')) FROM system.numbers LIMIT 10. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41352) (comment: 02497_if_transform_strings_to_enum.sql) (in query: EXPLAIN SYNTAX SELECT transform(number, NULL, ['google', 'censor.net', 'yahoo'], 'other') FROM system.numbers LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/transform.cpp:87: DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000126ee8fc in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:356: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa5689 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:198: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa54e6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterExplainQuery.cpp:69: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x000000001c8bfbcb in /usr/bin/clickhouse 2024.12.17 01:17:18.690487 [ 1120 ] {65152514-2565-4d9e-8821-2487cedb8eac} TCPHandler: Code: 43. DB::Exception: Second argument of function transform, must be array of source values to transform from.: While processing transform(number, NULL, _CAST(['google', 'censor.net', 'yahoo'], 'Array(Enum8(\'censor.net\' = 1, \'google\' = 2, \'other\' = 3, \'yahoo\' = 4))'), _CAST('other', 'Enum8(\'censor.net\' = 1, \'google\' = 2, \'other\' = 3, \'yahoo\' = 4)')): While processing SELECT transform(number, NULL, _CAST(['google', 'censor.net', 'yahoo'], 'Array(Enum8(\'censor.net\' = 1, \'google\' = 2, \'other\' = 3, \'yahoo\' = 4))'), _CAST('other', 'Enum8(\'censor.net\' = 1, \'google\' = 2, \'other\' = 3, \'yahoo\' = 4)')) FROM system.numbers LIMIT 10. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/transform.cpp:87: DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000126ee8fc in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:356: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa5689 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:198: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa54e6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterExplainQuery.cpp:69: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x000000001c8bfbcb in /usr/bin/clickhouse 2024.12.17 01:17:18.828433 [ 1120 ] {38e8eb73-4d91-4676-97e0-f44d98ad736b} executeQuery: Code: 43. DB::Exception: Second argument of function transform, must be array of source values to transform from.: In scope SELECT transform(number, NULL, ['google', 'censor.net', 'yahoo'], 'other') FROM system.numbers LIMIT 10. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41352) (comment: 02497_if_transform_strings_to_enum.sql) (in query: EXPLAIN QUERY TREE run_passes = 1 SELECT transform(number, NULL, ['google', 'censor.net', 'yahoo'], 'other') FROM system.numbers LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/transform.cpp:87: DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000126ee8fc in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5251: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935e90 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:204: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001c90a3b0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterExplainQuery.cpp:414: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001c8b8a79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:88: DB::InterpreterExplainQuery::execute() @ 0x000000001c8b806b in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:17:18.829387 [ 1120 ] {38e8eb73-4d91-4676-97e0-f44d98ad736b} TCPHandler: Code: 43. DB::Exception: Second argument of function transform, must be array of source values to transform from.: In scope SELECT transform(number, NULL, ['google', 'censor.net', 'yahoo'], 'other') FROM system.numbers LIMIT 10. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/transform.cpp:87: DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000126ee8fc in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5251: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c935e90 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:204: DB::QueryTreePassManager::run(std::shared_ptr, unsigned long) @ 0x000000001c90a3b0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterExplainQuery.cpp:414: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001c8b8a79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterExplainQuery.cpp:88: DB::InterpreterExplainQuery::execute() @ 0x000000001c8b806b in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:17:19.508439 [ 2670 ] {5e18efdb-9f75-45eb-b87f-a407cd6abead} executeQuery: Code: 48. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41382) (comment: 02497_having_without_actual_aggregation_bug.sql) (in query: select queryID() as t from numbers(10) with totals having t = initialQueryID();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [81]) @ 0x000000001279a31e in /usr/bin/clickhouse 6. /build/src/Analyzer/ValidationUtils.cpp:276: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001c9994c6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7140: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91ad3c in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 10. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:19.509311 [ 2670 ] {5e18efdb-9f75-45eb-b87f-a407cd6abead} TCPHandler: Code: 48. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [81]) @ 0x000000001279a31e in /usr/bin/clickhouse 6. /build/src/Analyzer/ValidationUtils.cpp:276: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001c9994c6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7140: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91ad3c in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 10. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:19.637307 [ 2670 ] {f50ce63b-212d-4c9d-afc9-cbf671781198} executeQuery: Code: 48. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41382) (comment: 02497_having_without_actual_aggregation_bug.sql) (in query: select count() from (select queryID() as t from remote('127.0.0.{1..3}', numbers(10)) with totals having t = initialQueryID()) settings prefer_localhost_replica = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [81]) @ 0x000000001279a31e in /usr/bin/clickhouse 6. /build/src/Analyzer/ValidationUtils.cpp:276: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001c9994c6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7140: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91ad3c in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5583: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91ecdd in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6721: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92582f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:19.638208 [ 2670 ] {f50ce63b-212d-4c9d-afc9-cbf671781198} TCPHandler: Code: 48. DB::Exception: WITH TOTALS, ROLLUP, CUBE or GROUPING SETS are not supported without aggregation. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [81]) @ 0x000000001279a31e in /usr/bin/clickhouse 6. /build/src/Analyzer/ValidationUtils.cpp:276: DB::validateAggregates(std::shared_ptr const&, DB::AggregatesValidationParams) @ 0x000000001c9994c6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7140: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91ad3c in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5583: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91ecdd in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6721: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92582f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.018986 [ 1121 ] {52603c35-56a5-4fc8-9d4a-98d265bc2239} executeQuery: Code: 47. DB::Exception: Missing columns: '_1000' while processing query: 'SELECT _1000', required columns: '_1000'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33074) (comment: 02493_numeric_literals_with_underscores.sql) (in query: -- Things that are not a number select _1000;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.019639 [ 1121 ] {52603c35-56a5-4fc8-9d4a-98d265bc2239} TCPHandler: Code: 47. DB::Exception: Missing columns: '_1000' while processing query: 'SELECT _1000', required columns: '_1000'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.045193 [ 1121 ] {f1bcafde-d3cd-4ee1-a7b2-8ab89b01d213} executeQuery: Code: 47. DB::Exception: Missing columns: '_1' while processing query: 'SELECT -_1', required columns: '_1'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33074) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select -_1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.046189 [ 1121 ] {f1bcafde-d3cd-4ee1-a7b2-8ab89b01d213} TCPHandler: Code: 47. DB::Exception: Missing columns: '_1' while processing query: 'SELECT -_1', required columns: '_1'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.075098 [ 1121 ] {3c09fc5f-b203-4eb7-8a47-42aa99a326d0} executeQuery: Code: 47. DB::Exception: Missing columns: '1__0' while processing query: 'SELECT `1__0`', required columns: '1__0'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33074) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1__0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.075945 [ 1121 ] {3c09fc5f-b203-4eb7-8a47-42aa99a326d0} TCPHandler: Code: 47. DB::Exception: Missing columns: '1__0' while processing query: 'SELECT `1__0`', required columns: '1__0'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.082725 [ 1121 ] {f2e856dd-0764-4686-ab22-6d97fc0299f4} executeQuery: Code: 47. DB::Exception: Missing columns: '1_' while processing query: 'SELECT `1_`', required columns: '1_'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33074) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.083433 [ 1121 ] {f2e856dd-0764-4686-ab22-6d97fc0299f4} TCPHandler: Code: 47. DB::Exception: Missing columns: '1_' while processing query: 'SELECT `1_`', required columns: '1_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.089772 [ 1121 ] {c32ce6d6-e7e5-43ef-8a4c-91521fe04b7b} executeQuery: Code: 47. DB::Exception: Missing columns: '1_' while processing query: 'SELECT `1_`', required columns: '1_'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33074) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1_ ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.090670 [ 1121 ] {c32ce6d6-e7e5-43ef-8a4c-91521fe04b7b} TCPHandler: Code: 47. DB::Exception: Missing columns: '1_' while processing query: 'SELECT `1_`', required columns: '1_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.097109 [ 1121 ] {cb4f9dfd-077b-4bfe-ae7e-e87638cae232} executeQuery: Code: 47. DB::Exception: Missing columns: '10_' while processing query: 'SELECT `10_`', required columns: '10_'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33074) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 10_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.097814 [ 1121 ] {cb4f9dfd-077b-4bfe-ae7e-e87638cae232} TCPHandler: Code: 47. DB::Exception: Missing columns: '10_' while processing query: 'SELECT `10_`', required columns: '10_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.104703 [ 1121 ] {ba5125b9-51f7-4358-b38c-560f804f7769} executeQuery: Code: 47. DB::Exception: Missing columns: '1_e5' while processing query: 'SELECT `1_e5`', required columns: '1_e5'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33074) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1_e5;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.105363 [ 1121 ] {ba5125b9-51f7-4358-b38c-560f804f7769} TCPHandler: Code: 47. DB::Exception: Missing columns: '1_e5' while processing query: 'SELECT `1_e5`', required columns: '1_e5'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.111038 [ 1121 ] {bd2f3c17-9c7e-4bed-abe4-187e75e84ba4} executeQuery: Code: 47. DB::Exception: Missing columns: '1e_5' while processing query: 'SELECT `1e_5`', required columns: '1e_5'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33074) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1e_5;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.111896 [ 1121 ] {bd2f3c17-9c7e-4bed-abe4-187e75e84ba4} TCPHandler: Code: 47. DB::Exception: Missing columns: '1e_5' while processing query: 'SELECT `1e_5`', required columns: '1e_5'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.118229 [ 1121 ] {92a6f02d-5b27-467e-ae67-7c3afe346137} executeQuery: Code: 47. DB::Exception: Missing columns: '1e5_' while processing query: 'SELECT `1e5_`', required columns: '1e5_'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33074) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1e5_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.119042 [ 1121 ] {92a6f02d-5b27-467e-ae67-7c3afe346137} TCPHandler: Code: 47. DB::Exception: Missing columns: '1e5_' while processing query: 'SELECT `1e5_`', required columns: '1e5_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.125148 [ 1121 ] {1609200a-5d1a-4ee7-ae54-bfe76725b264} executeQuery: Code: 47. DB::Exception: Missing columns: '1e_' while processing query: 'SELECT `1e_`', required columns: '1e_'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33074) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1e_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.126005 [ 1121 ] {1609200a-5d1a-4ee7-ae54-bfe76725b264} TCPHandler: Code: 47. DB::Exception: Missing columns: '1e_' while processing query: 'SELECT `1e_`', required columns: '1e_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.133123 [ 1121 ] {18a9e015-8302-4e30-8a36-a750e73d0239} executeQuery: Code: 47. DB::Exception: Missing columns: '1e_1' while processing query: 'SELECT `1e_1`', required columns: '1e_1'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33074) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 1e_1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.133834 [ 1121 ] {18a9e015-8302-4e30-8a36-a750e73d0239} TCPHandler: Code: 47. DB::Exception: Missing columns: '1e_1' while processing query: 'SELECT `1e_1`', required columns: '1e_1'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.139443 [ 1121 ] {9ecd744b-92c1-4ad1-b44c-28c7d2cec9a0} executeQuery: Code: 47. DB::Exception: Missing columns: '0_x2' while processing query: 'SELECT `0_x2`', required columns: '0_x2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33074) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0_x2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.140054 [ 1121 ] {9ecd744b-92c1-4ad1-b44c-28c7d2cec9a0} TCPHandler: Code: 47. DB::Exception: Missing columns: '0_x2' while processing query: 'SELECT `0_x2`', required columns: '0_x2'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.145635 [ 1121 ] {53a8001d-f2ea-4c95-81e6-a91c2784a441} executeQuery: Code: 47. DB::Exception: Missing columns: '0x2_p2' while processing query: 'SELECT `0x2_p2`', required columns: '0x2_p2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33074) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x2_p2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.146243 [ 1121 ] {53a8001d-f2ea-4c95-81e6-a91c2784a441} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x2_p2' while processing query: 'SELECT `0x2_p2`', required columns: '0x2_p2'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.152660 [ 1121 ] {8526dbe5-a525-4d3d-bda3-dc2be71cb717} executeQuery: Code: 47. DB::Exception: Missing columns: '0x2p_2' while processing query: 'SELECT `0x2p_2`', required columns: '0x2p_2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33074) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x2p_2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.153599 [ 1121 ] {8526dbe5-a525-4d3d-bda3-dc2be71cb717} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x2p_2' while processing query: 'SELECT `0x2p_2`', required columns: '0x2p_2'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.159896 [ 1121 ] {07cea958-356d-4d38-8b46-f8925170957f} executeQuery: Code: 47. DB::Exception: Missing columns: '0x2p2_' while processing query: 'SELECT `0x2p2_`', required columns: '0x2p2_'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33074) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x2p2_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.160552 [ 1121 ] {07cea958-356d-4d38-8b46-f8925170957f} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x2p2_' while processing query: 'SELECT `0x2p2_`', required columns: '0x2p2_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.167377 [ 1121 ] {35041270-317e-4061-b657-6ad9136b7f73} executeQuery: Code: 47. DB::Exception: Missing columns: '0b' while processing query: 'SELECT `0b`', required columns: '0b'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33074) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0b;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.168189 [ 1121 ] {35041270-317e-4061-b657-6ad9136b7f73} TCPHandler: Code: 47. DB::Exception: Missing columns: '0b' while processing query: 'SELECT `0b`', required columns: '0b'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.174837 [ 1121 ] {0432ed8f-2a19-4d1b-9b33-1be7bc30c108} executeQuery: Code: 47. DB::Exception: Missing columns: '0b' while processing query: 'SELECT `0b`', required columns: '0b'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33074) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0b ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.175663 [ 1121 ] {0432ed8f-2a19-4d1b-9b33-1be7bc30c108} TCPHandler: Code: 47. DB::Exception: Missing columns: '0b' while processing query: 'SELECT `0b`', required columns: '0b'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.182378 [ 1121 ] {d0a58faa-b290-4716-ab00-74bfd14aec6d} executeQuery: Code: 47. DB::Exception: Missing columns: '0x' while processing query: 'SELECT `0x`', required columns: '0x'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33074) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.183395 [ 1121 ] {d0a58faa-b290-4716-ab00-74bfd14aec6d} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x' while processing query: 'SELECT `0x`', required columns: '0x'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.190242 [ 1121 ] {38d9900f-50ac-4c94-856f-f98a2378ce1f} executeQuery: Code: 47. DB::Exception: Missing columns: '0x' while processing query: 'SELECT `0x`', required columns: '0x'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33074) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.191051 [ 1121 ] {38d9900f-50ac-4c94-856f-f98a2378ce1f} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x' while processing query: 'SELECT `0x`', required columns: '0x'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.197819 [ 1121 ] {56b056c6-32e9-4800-aabf-e61ae8162178} executeQuery: Code: 47. DB::Exception: Missing columns: '0x_' while processing query: 'SELECT `0x_`', required columns: '0x_'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33074) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x_;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.198672 [ 1121 ] {56b056c6-32e9-4800-aabf-e61ae8162178} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x_' while processing query: 'SELECT `0x_`', required columns: '0x_'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.204696 [ 1121 ] {58ffa09b-3e1e-4761-add2-a6044e5cb5ad} executeQuery: Code: 47. DB::Exception: Missing columns: '0x_1' while processing query: 'SELECT `0x_1`', required columns: '0x_1'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33074) (comment: 02493_numeric_literals_with_underscores.sql) (in query: select 0x_1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:23.205591 [ 1121 ] {58ffa09b-3e1e-4761-add2-a6044e5cb5ad} TCPHandler: Code: 47. DB::Exception: Missing columns: '0x_1' while processing query: 'SELECT `0x_1`', required columns: '0x_1'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:25.247357 [ 3551 ] {74a7569d-0df3-4fca-ba63-45853f21c3dc} executeQuery: Code: 47. DB::Exception: There's no column 'a.column2' in table 'a': While processing SELECT `--a.column1` AS `a.column1`, `--b.column1` AS `b.column1`, column2 AS `b.column2`, `--b.column3` AS `b.column3`, c.column3 AS `c.column3` FROM (SELECT column1 FROM table1 GROUP BY column1) AS a ANY LEFT JOIN (SELECT * FROM table2) AS b ON (`--b.column1` = `--a.column1`) AND (column2 = a.column2) ANY LEFT JOIN (SELECT * FROM table3) AS c ON c.column3 = b.column3. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33172) (comment: 02493_do_not_assume_that_the_original_query_was_valid_when_transforming_joins.sql) (in query: SELECT * FROM ( SELECT column1 FROM table1 GROUP BY column1 ) AS a ANY LEFT JOIN ( SELECT * FROM table2 ) AS b ON (b.column1 = a.column1) AND (b.column2 = a.column2) ANY LEFT JOIN ( SELECT * FROM table3 ) AS c ON c.column3 = b.column3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:616: DB::(anonymous namespace)::normalizeColumnNamesExtractNeeded(std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::vector> const&, std::unordered_set, std::equal_to, std::allocator> const&, DB::(anonymous namespace)::UniqueShortNames&) @ 0x000000001cc00e49 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:782: DB::JoinToSubqueryTransformMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::JoinToSubqueryTransformMatcher::Data&) @ 0x000000001cbff545 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:673: DB::JoinToSubqueryTransformMatcher::visit(std::shared_ptr&, DB::JoinToSubqueryTransformMatcher::Data&) @ 0x000000001cbfe5a1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001caccac0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001caccca1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cacca4a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cacc0a5 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:272: DB::(anonymous namespace)::rewriteMultipleJoins(std::shared_ptr&, std::vector> const&, String const&, DB::Settings const&) @ 0x000000001caac204 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:507: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa84e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:25.249035 [ 3551 ] {74a7569d-0df3-4fca-ba63-45853f21c3dc} TCPHandler: Code: 47. DB::Exception: There's no column 'a.column2' in table 'a': While processing SELECT `--a.column1` AS `a.column1`, `--b.column1` AS `b.column1`, column2 AS `b.column2`, `--b.column3` AS `b.column3`, c.column3 AS `c.column3` FROM (SELECT column1 FROM table1 GROUP BY column1) AS a ANY LEFT JOIN (SELECT * FROM table2) AS b ON (`--b.column1` = `--a.column1`) AND (column2 = a.column2) ANY LEFT JOIN (SELECT * FROM table3) AS c ON c.column3 = b.column3. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:616: DB::(anonymous namespace)::normalizeColumnNamesExtractNeeded(std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::vector> const&, std::unordered_set, std::equal_to, std::allocator> const&, DB::(anonymous namespace)::UniqueShortNames&) @ 0x000000001cc00e49 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:782: DB::JoinToSubqueryTransformMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::JoinToSubqueryTransformMatcher::Data&) @ 0x000000001cbff545 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinToSubqueryTransformVisitor.cpp:673: DB::JoinToSubqueryTransformMatcher::visit(std::shared_ptr&, DB::JoinToSubqueryTransformMatcher::Data&) @ 0x000000001cbfe5a1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001caccac0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001caccca1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cacca4a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cacc0a5 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:272: DB::(anonymous namespace)::rewriteMultipleJoins(std::shared_ptr&, std::vector> const&, String const&, DB::Settings const&) @ 0x000000001caac204 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:507: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa84e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:28.058713 [ 3551 ] {9f508820-40e8-47cb-9c85-e959e16c967d} executeQuery: Code: 117. DB::Exception: Incorrect data: is_deleted = 2 (must be 1 or 0). (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33198) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: -- is_deleted == 0/1 INSERT INTO test (*) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Processors/Merges/Algorithms/ReplacingSortedAlgorithm.cpp:98: DB::ReplacingSortedAlgorithm::merge() @ 0x000000001edcf856 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:364: DB::MergeTreeDataWriter::mergeBlock(DB::Block const&, DB::SortDescription, std::vector> const&, DB::PODArray, 63ul, 64ul>*&, DB::MergeTreeData::MergingParams const&) @ 0x000000001e1e5d59 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:478: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000001e1e73de in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e1e653d in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeSink.cpp:87: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000001e3a768c in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 01:17:28.059838 [ 3551 ] {9f508820-40e8-47cb-9c85-e959e16c967d} TCPHandler: Code: 117. DB::Exception: Incorrect data: is_deleted = 2 (must be 1 or 0). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Processors/Merges/Algorithms/ReplacingSortedAlgorithm.cpp:98: DB::ReplacingSortedAlgorithm::merge() @ 0x000000001edcf856 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:364: DB::MergeTreeDataWriter::mergeBlock(DB::Block const&, DB::SortDescription, std::vector> const&, DB::PODArray, 63ul, 64ul>*&, DB::MergeTreeData::MergingParams const&) @ 0x000000001e1e5d59 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:478: DB::MergeTreeDataWriter::writeTempPartImpl(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr, long, bool) @ 0x000000001e1e73de in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:385: DB::MergeTreeDataWriter::writeTempPart(DB::BlockWithPartition&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e1e653d in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeSink.cpp:87: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000001e3a768c in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 01:17:28.241931 [ 3551 ] {feba39c8-0829-4c75-b00b-f10a5f920c16} executeQuery: Code: 169. DB::Exception: is_deleted column (is_deleted) for storage ReplacingMergeTree must have type UInt8. Provided column of type String. (BAD_TYPE_OF_FIELD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33198) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: CREATE TABLE test (`uid` String, `version` UInt32, `is_deleted` String) ENGINE = ReplacingMergeTree(version, is_deleted) ORDER BY uid SETTINGS index_granularity = 22192, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 21235, prefer_fetch_merged_part_size_threshold = 8395903595, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 9167571806, index_granularity_bytes = 20737390, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 39866, primary_key_compress_block_size = 70833), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String&&) @ 0x000000001c8607c8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:885: DB::MergeTreeData::MergingParams::check(DB::StorageInMemoryMetadata const&) const::$_2::operator()(bool, String const&) const @ 0x000000001de657e6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:934: DB::MergeTreeData::MergingParams::check(DB::StorageInMemoryMetadata const&) const @ 0x000000001de612f3 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:393: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdec in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 22. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 01:17:28.242955 [ 3551 ] {feba39c8-0829-4c75-b00b-f10a5f920c16} TCPHandler: Code: 169. DB::Exception: is_deleted column (is_deleted) for storage ReplacingMergeTree must have type UInt8. Provided column of type String. (BAD_TYPE_OF_FIELD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String&&) @ 0x000000001c8607c8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:885: DB::MergeTreeData::MergingParams::check(DB::StorageInMemoryMetadata const&) const::$_2::operator()(bool, String const&) const @ 0x000000001de657e6 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:934: DB::MergeTreeData::MergingParams::check(DB::StorageInMemoryMetadata const&) const @ 0x000000001de612f3 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:393: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdec in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 22. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 01:17:28.379235 [ 3551 ] {c36d365c-f29d-40ef-9e0c-da9cf20f7a48} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33198) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: OPTIMIZE TABLE testMT FINAL CLEANUP;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1509: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e36fedb in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca92a05 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:28.379986 [ 3551 ] {c36d365c-f29d-40ef-9e0c-da9cf20f7a48} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1509: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e36fedb in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca92a05 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:28.473957 [ 3551 ] {df8c61cd-304d-4ef1-9e44-c92649e2df6a} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33198) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: OPTIMIZE TABLE testSummingMT FINAL CLEANUP;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1509: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e36fedb in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca92a05 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:28.474554 [ 3551 ] {df8c61cd-304d-4ef1-9e44-c92649e2df6a} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1509: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e36fedb in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca92a05 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:28.555784 [ 3551 ] {b64148f3-3db9-4f6e-8379-31d7fea7772a} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33198) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: OPTIMIZE TABLE testAggregatingMT FINAL CLEANUP;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1509: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e36fedb in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca92a05 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:28.556330 [ 3551 ] {b64148f3-3db9-4f6e-8379-31d7fea7772a} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1509: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e36fedb in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca92a05 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:28.641872 [ 3551 ] {01e5798c-d487-499d-a29b-a1a36d57101d} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33198) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: OPTIMIZE TABLE testCollapsingMT FINAL CLEANUP;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1509: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e36fedb in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca92a05 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:28.642454 [ 3551 ] {01e5798c-d487-499d-a29b-a1a36d57101d} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1509: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e36fedb in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca92a05 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:28.728796 [ 3551 ] {63a2ce2c-8e4e-4e3a-84d2-99b7c300e2e9} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33198) (comment: 02490_replacing_merge_tree_is_deleted_column.sql) (in query: OPTIMIZE TABLE testVersionedCMT FINAL CLEANUP;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1509: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e36fedb in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca92a05 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:28.729321 [ 3551 ] {63a2ce2c-8e4e-4e3a-84d2-99b7c300e2e9} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE with CLEANUP table: only ReplacingMergeTree can be CLEANUP. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1509: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e36fedb in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca92a05 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:29.404791 [ 2885 ] {30b2bfc1-a784-40a5-91f0-2a687ee579ce} executeQuery: Code: 36. DB::Exception: Function reverseDNSQuery requires the input column to be of type String: While processing reverseDNSQuery(1). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33302) (comment: 02483_test_reverse_dns_resolution.sql) (in query: -- Expect error, invalid column type select reverseDNSQuery(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/reverseDNSQuery.cpp:59: DB::ReverseDNSQuery::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124c3634 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:17:29.405770 [ 2885 ] {30b2bfc1-a784-40a5-91f0-2a687ee579ce} TCPHandler: Code: 36. DB::Exception: Function reverseDNSQuery requires the input column to be of type String: While processing reverseDNSQuery(1). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/reverseDNSQuery.cpp:59: DB::ReverseDNSQuery::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124c3634 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:17:29.552070 [ 2885 ] {8d5d3947-d529-4903-a670-ca0eb3844464} executeQuery: Code: 42. DB::Exception: Number of arguments for function reverseDNSQuery doesn't match: passed 0, should be 1: While processing reverseDNSQuery(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33302) (comment: 02483_test_reverse_dns_resolution.sql) (in query: -- Expect error, wrong number of arguments select reverseDNSQuery();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:17:29.553210 [ 2885 ] {8d5d3947-d529-4903-a670-ca0eb3844464} TCPHandler: Code: 42. DB::Exception: Number of arguments for function reverseDNSQuery doesn't match: passed 0, should be 1: While processing reverseDNSQuery(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:17:29.560948 [ 2885 ] {c4ba9d73-1156-401a-a712-65c70c5bf3b8} executeQuery: Code: 42. DB::Exception: Number of arguments for function reverseDNSQuery doesn't match: passed 2, should be 1: While processing reverseDNSQuery(1, 2). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33302) (comment: 02483_test_reverse_dns_resolution.sql) (in query: select reverseDNSQuery(1, 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:17:29.561811 [ 2885 ] {c4ba9d73-1156-401a-a712-65c70c5bf3b8} TCPHandler: Code: 42. DB::Exception: Number of arguments for function reverseDNSQuery doesn't match: passed 2, should be 1: While processing reverseDNSQuery(1, 2). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:17:30.769855 [ 1301 ] {8c780a16-c5e8-4c6f-941a-488c13306b04} DistributedSink: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 1), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 1, UInt8(size = 1), ColumnUnique(size = 4, String(size = 4)))), implicit conversion will be done. 2024.12.17 01:17:30.774779 [ 2386 ] {8c780a16-c5e8-4c6f-941a-488c13306b04} DistributedSink: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 1), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 1, UInt8(size = 1), ColumnUnique(size = 4, String(size = 4)))), implicit conversion will be done. 2024.12.17 01:17:30.943061 [ 2421 ] {25eb3e29-7c2a-4b86-b4fd-0d7c6c325d85} DistributedSink: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 500), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 500, UInt16(size = 500), ColumnUnique(size = 1002, String(size = 1002)))), implicit conversion will be done. 2024.12.17 01:17:30.943885 [ 4219 ] {25eb3e29-7c2a-4b86-b4fd-0d7c6c325d85} DistributedSink: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 500), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 500, UInt16(size = 500), ColumnUnique(size = 1002, String(size = 1002)))), implicit conversion will be done. 2024.12.17 01:17:31.027892 [ 3551 ] {4809642b-01b3-4200-800d-9895f1c3c180} test_42mqx4dr.dist_02482.DirectoryMonitor.default: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 0), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 2, String(size = 2)))), implicit conversion will be done 2024.12.17 01:17:31.045749 [ 3551 ] {4809642b-01b3-4200-800d-9895f1c3c180} test_42mqx4dr.dist_02482.DirectoryMonitor.default: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 0), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 2, String(size = 2)))), implicit conversion will be done 2024.12.17 01:17:31.063648 [ 3551 ] {4809642b-01b3-4200-800d-9895f1c3c180} test_42mqx4dr.dist_02482.DirectoryMonitor.default: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 0), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 2, String(size = 2)))), implicit conversion will be done 2024.12.17 01:17:31.079702 [ 3551 ] {4809642b-01b3-4200-800d-9895f1c3c180} test_42mqx4dr.dist_02482.DirectoryMonitor.default: Structure does not match (remote: i UInt64 UInt64(size = 0), n LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), local: i UInt64 UInt64(size = 0), n LowCardinality(Nullable(String)) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 2, String(size = 2)))), implicit conversion will be done 2024.12.17 01:17:33.092143 [ 1121 ] {b2d5dee2-44bb-4527-b4bf-b29073e82b44} executeQuery: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: -- Bu : While executing ValuesBlockInputFormat. (SYNTAX_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:49450) (comment: 02482_value_block_parsing.sh) (in query: INSERT INTO simple_key_dictionary_source_table__fuzz_48 FORMAT Values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x00000000126aa56c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:203: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x000000001eb54841 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:411: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x000000001eb54d65 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:319: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x000000001eb53859 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:122: DB::ValuesBlockInputFormat::generate() @ 0x000000001eb52afe in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:33.094193 [ 1121 ] {b2d5dee2-44bb-4527-b4bf-b29073e82b44} DynamicQueryHandler: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: -- Bu : While executing ValuesBlockInputFormat. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x00000000126aa56c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:203: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x000000001eb54841 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:411: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x000000001eb54d65 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:319: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x000000001eb53859 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:122: DB::ValuesBlockInputFormat::generate() @ 0x000000001eb52afe in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:17:33.114394 [ 1121 ] {ad0b82fb-72e0-4e78-8700-424faee48f0c} executeQuery: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: !Invalid : While executing ValuesBlockInputFormat. (SYNTAX_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:49460) (comment: 02482_value_block_parsing.sh) (in query: INSERT INTO simple_key_dictionary_source_table__fuzz_48 FORMAT Values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x00000000126aa56c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:203: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x000000001eb54841 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:411: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x000000001eb54d65 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:319: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x000000001eb53859 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:122: DB::ValuesBlockInputFormat::generate() @ 0x000000001eb52afe in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:33.116059 [ 1121 ] {ad0b82fb-72e0-4e78-8700-424faee48f0c} DynamicQueryHandler: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: !Invalid : While executing ValuesBlockInputFormat. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x00000000126aa56c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:203: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x000000001eb54841 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:411: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x000000001eb54d65 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:319: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x000000001eb53859 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:122: DB::ValuesBlockInputFormat::generate() @ 0x000000001eb52afe in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:17:33.138836 [ 1121 ] {c7f807f1-e9c7-41f5-bf5a-c5f644127123} executeQuery: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: !!!!!!3adas ) : While executing ValuesBlockInputFormat. (SYNTAX_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:49468) (comment: 02482_value_block_parsing.sh) (in query: INSERT INTO simple_key_dictionary_source_table__fuzz_48 FORMAT Values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x00000000126aa56c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:203: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x000000001eb54841 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:411: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x000000001eb54d65 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:319: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x000000001eb53859 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:122: DB::ValuesBlockInputFormat::generate() @ 0x000000001eb52afe in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:33.141000 [ 1121 ] {c7f807f1-e9c7-41f5-bf5a-c5f644127123} DynamicQueryHandler: Code: 62. DB::Exception: Cannot parse expression of type Nullable(Int8) here: !!!!!!3adas ) : While executing ValuesBlockInputFormat. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity>>::type>, String&&, std::basic_string_view>&&) @ 0x00000000126aa56c in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:203: DB::ValuesBlockInputFormat::readUntilTheEndOfRowAndReTokenize(unsigned long) @ 0x000000001eb54841 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:411: DB::ValuesBlockInputFormat::parseExpression(DB::IColumn&, unsigned long) @ 0x000000001eb54d65 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:319: DB::ValuesBlockInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, unsigned long) @ 0x000000001eb53859 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp:122: DB::ValuesBlockInputFormat::generate() @ 0x000000001eb52afe in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 21. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:17:34.140677 [ 2921 ] {c2f160fa-a5b1-44e3-b228-f15d7f808c8a} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: while executing 'FUNCTION toUInt64(val :: 0) -> toUInt64(val) LowCardinality(UInt64) : 2'. (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37382) (comment: 02480_suspicious_lowcard_in_key.sql) (in query: select count() from test where toUInt64(val) = -1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000b2566fe in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:289: COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToUInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2ebd74 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2039: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2e8eb8 in /usr/bin/clickhouse 8. /build/src/Core/callOnTypeIndex.h:191: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2d7856 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d6cc8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d5ede in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:281: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abebfac in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/FilterTransform.cpp:135: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000001ebcc393 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/FilterTransform.cpp:120: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000001ebcc252 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 2024.12.17 01:17:34.143110 [ 2921 ] {c2f160fa-a5b1-44e3-b228-f15d7f808c8a} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: while executing 'FUNCTION toUInt64(val :: 0) -> toUInt64(val) LowCardinality(UInt64) : 2'. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000b2566fe in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:289: COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToUInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2ebd74 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2039: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2e8eb8 in /usr/bin/clickhouse 8. /build/src/Core/callOnTypeIndex.h:191: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2d7856 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d6cc8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d5ede in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:281: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abebfac in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/FilterTransform.cpp:135: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000001ebcc393 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/FilterTransform.cpp:120: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000001ebcc252 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 2024.12.17 01:17:36.278617 [ 3551 ] {51780052-927f-4bff-8a72-bf061bd15ee5} executeQuery: Code: 48. DB::Exception: Window frame 'GROUPS' is not implemented (while processing 'ORDER BY 100 ASC GROUPS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'). (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37434) (comment: 02478_window_frame_type_groups.sql) (in query: SELECT toUInt64(dense_rank(1) OVER (ORDER BY 100 ASC GROUPS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING)) FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&) @ 0x000000001bfbf50c in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:692: DB::ExpressionAnalyzer::makeWindowDescriptionFromAST(DB::Context const&, std::unordered_map, std::equal_to, std::allocator>> const&, DB::WindowDescription&, DB::IAST const*) @ 0x000000001bfad0d6 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:818: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x000000001bfae233 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2015: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba468 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:36.279468 [ 3551 ] {51780052-927f-4bff-8a72-bf061bd15ee5} TCPHandler: Code: 48. DB::Exception: Window frame 'GROUPS' is not implemented (while processing 'ORDER BY 100 ASC GROUPS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING'). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&) @ 0x000000001bfbf50c in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:692: DB::ExpressionAnalyzer::makeWindowDescriptionFromAST(DB::Context const&, std::unordered_map, std::equal_to, std::allocator>> const&, DB::WindowDescription&, DB::IAST const*) @ 0x000000001bfad0d6 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:818: DB::ExpressionAnalyzer::makeWindowDescriptions(std::shared_ptr) @ 0x000000001bfae233 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2015: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba468 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:36.389653 [ 3551 ] {957773ce-f55f-4f2f-872b-a77756ddcf50} executeQuery: Code: 48. DB::Exception: Window frame 'GROUPS' is not implemented. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37434) (comment: 02478_window_frame_type_groups.sql) (in query: SELECT toUInt64(dense_rank(1) OVER (ORDER BY 100 ASC GROUPS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING)) FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::WindowFrame::FrameType&) @ 0x000000001cbc44f3 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerWindowFunctions.cpp:77: DB::extractWindowDescriptions(std::vector, std::allocator>> const&, DB::PlannerContext const&) @ 0x000000001cbbfb88 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerExpressionAnalysis.cpp:266: DB::(anonymous namespace)::analyzeWindow(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001cbb0f04 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerExpressionAnalysis.cpp:545: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001cbae48a in /usr/bin/clickhouse 9. /build/src/Planner/Planner.cpp:1272: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb69bf1 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb67519 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6593d in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af152 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:36.390434 [ 3551 ] {957773ce-f55f-4f2f-872b-a77756ddcf50} TCPHandler: Code: 48. DB::Exception: Window frame 'GROUPS' is not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::WindowFrame::FrameType&) @ 0x000000001cbc44f3 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerWindowFunctions.cpp:77: DB::extractWindowDescriptions(std::vector, std::allocator>> const&, DB::PlannerContext const&) @ 0x000000001cbbfb88 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerExpressionAnalysis.cpp:266: DB::(anonymous namespace)::analyzeWindow(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001cbb0f04 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerExpressionAnalysis.cpp:545: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001cbae48a in /usr/bin/clickhouse 9. /build/src/Planner/Planner.cpp:1272: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb69bf1 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb67519 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6593d in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af152 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:43.091307 [ 2670 ] {d4733f60-cfee-4af5-9b6d-695cff9234d6} executeQuery: Code: 153. DB::Exception: Division by zero: While processing divideDecimal(toDecimal64(123.123, 3), toDecimal64(0, 1)). (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39924) (comment: 02475_precise_decimal_arithmetics.sql) (in query: SELECT divideDecimal(toDecimal64(123.123, 3), toDecimal64(0, 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:25: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute, DB::Decimal>(DB::Decimal, DB::Decimal, unsigned short, unsigned short, unsigned short) @ 0x000000000dda6108 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x000000000dda5ee2 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x000000000dd9fd8c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:327: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x000000000dd9dd99 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000dd9d214 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:17:43.092261 [ 2670 ] {d4733f60-cfee-4af5-9b6d-695cff9234d6} TCPHandler: Code: 153. DB::Exception: Division by zero: While processing divideDecimal(toDecimal64(123.123, 3), toDecimal64(0, 1)). (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:25: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute, DB::Decimal>(DB::Decimal, DB::Decimal, unsigned short, unsigned short, unsigned short) @ 0x000000000dda6108 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x000000000dda5ee2 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x000000000dd9fd8c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:327: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x000000000dd9dd99 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000dd9d214 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:17:43.281793 [ 2670 ] {7a49ce79-dad1-4a86-8b05-3bbfc66b1ea8} executeQuery: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256(1e38, 0), toDecimal256(1e38, 0), 2). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39924) (comment: 02475_precise_decimal_arithmetics.sql) (in query: -- fits Decimal256, but scale is too big to fit SELECT multiplyDecimal(toDecimal256(1e38, 0), toDecimal256(1e38, 0), 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9123fe in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x00000000114f3b16 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x00000000114f3596 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x00000000114ead6b in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:359: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x00000000114e5b99 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000114e4dd4 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:17:43.282752 [ 2670 ] {7a49ce79-dad1-4a86-8b05-3bbfc66b1ea8} TCPHandler: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256(1e38, 0), toDecimal256(1e38, 0), 2). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9123fe in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x00000000114f3b16 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x00000000114f3596 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x00000000114ead6b in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:359: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x00000000114e5b99 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000114e4dd4 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:17:43.388121 [ 2670 ] {632646c4-37ce-4bdd-acb6-2f67bb78d365} executeQuery: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing divideDecimal(toDecimal256(1e72, 0), toDecimal256(0.00001, 5), 2). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39924) (comment: 02475_precise_decimal_arithmetics.sql) (in query: SELECT divideDecimal(toDecimal256(1e72, 0), toDecimal256(1e-5, 5), 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9123fe in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:52: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x000000000ddabd8b in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x000000000ddab816 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x000000000dda31ab in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:359: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x000000000dd9dfd9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000dd9d214 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:17:43.389119 [ 2670 ] {632646c4-37ce-4bdd-acb6-2f67bb78d365} TCPHandler: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing divideDecimal(toDecimal256(1e72, 0), toDecimal256(0.00001, 5), 2). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9123fe in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:52: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x000000000ddabd8b in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x000000000ddab816 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x000000000dda31ab in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:359: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x000000000dd9dfd9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000dd9d214 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:17:43.407822 [ 2670 ] {1d2ac1c6-37f5-48a6-8f82-1ac0e948c3e9} executeQuery: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256('1e38', 0), toDecimal256('1e38', 0)). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39924) (comment: 02475_precise_decimal_arithmetics.sql) (in query: -- does not fit Decimal256 SELECT multiplyDecimal(toDecimal256('1e38', 0), toDecimal256('1e38', 0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9123fe in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x00000000114f3b16 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x00000000114f3596 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x00000000114ead6b in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:359: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x00000000114e5b99 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000114e4dd4 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:17:43.409000 [ 2670 ] {1d2ac1c6-37f5-48a6-8f82-1ac0e948c3e9} TCPHandler: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256('1e38', 0), toDecimal256('1e38', 0)). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9123fe in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x00000000114f3b16 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x00000000114f3596 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x00000000114ead6b in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:359: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x00000000114e5b99 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000114e4dd4 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:17:43.427105 [ 2670 ] {62032004-a667-4a41-94e7-fa8e894780e1} executeQuery: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256(1e39, 0), toDecimal256(1e39, 0), 0). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39924) (comment: 02475_precise_decimal_arithmetics.sql) (in query: SELECT multiplyDecimal(toDecimal256(1e39, 0), toDecimal256(1e39, 0), 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9123fe in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x00000000114f3b16 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x00000000114f3596 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x00000000114ead6b in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:359: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x00000000114e5b99 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000114e4dd4 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:17:43.428326 [ 2670 ] {62032004-a667-4a41-94e7-fa8e894780e1} TCPHandler: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing multiplyDecimal(toDecimal256(1e39, 0), toDecimal256(1e39, 0), 0). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9123fe in /usr/bin/clickhouse 6. /build/src/Functions/multiplyDecimal.cpp:51: DB::Decimal> DB::(anonymous namespace)::MultiplyDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x00000000114f3b16 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x00000000114f3596 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::MultiplyDecimalsImpl>::execute(DB::(anonymous namespace)::MultiplyDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x00000000114ead6b in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:359: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x00000000114e5b99 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000114e4dd4 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:17:43.443968 [ 2670 ] {79579a42-9a07-4ad0-bf96-4f4fdc546418} executeQuery: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing divideDecimal(toDecimal256(1e39, 0), toDecimal256(1e-38, 39)). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39924) (comment: 02475_precise_decimal_arithmetics.sql) (in query: SELECT divideDecimal(toDecimal256(1e39, 0), toDecimal256(1e-38, 39));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9123fe in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:52: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x000000000ddabd8b in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x000000000ddab816 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x000000000dda31ab in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:359: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x000000000dd9dfd9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000dd9d214 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:17:43.445053 [ 2670 ] {79579a42-9a07-4ad0-bf96-4f4fdc546418} TCPHandler: Code: 407. DB::Exception: Numeric overflow: result bigger that Decimal256: While processing divideDecimal(toDecimal256(1e39, 0), toDecimal256(1e-38, 39)). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9123fe in /usr/bin/clickhouse 6. /build/src/Functions/divideDecimal.cpp:52: DB::Decimal> DB::(anonymous namespace)::DivideDecimalsImpl::execute>, DB::Decimal>>(DB::Decimal>, DB::Decimal>, unsigned short, unsigned short, unsigned short) @ 0x000000000ddabd8b in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsDecimalArithmetics.h:172: void DB::Processor>>, DB::(anonymous namespace)::DivideDecimalsImpl>::vectorVector>, 4096ul, Allocator, 63ul, 64ul>, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>>(DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray>, 4096ul, Allocator, 63ul, 64ul>&, unsigned short, unsigned short, unsigned short) const @ 0x000000000ddab816 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsDecimalArithmetics.h:219: DB::DecimalArithmeticsImpl>>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::(anonymous namespace)::DivideDecimalsImpl>::execute(DB::(anonymous namespace)::DivideDecimalsImpl, std::vector> const&, std::shared_ptr const&) @ 0x000000000dda31ab in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsDecimalArithmetics.h:359: DB::FunctionsDecimalArithmetics::resolveOverload(std::vector> const&, std::shared_ptr const&) const @ 0x000000000dd9dfd9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsDecimalArithmetics.h:298: DB::FunctionsDecimalArithmetics::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000dd9d214 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:17:44.257423 [ 3551 ] {93512181-dc3e-4e1b-ad43-0c4e5d4e66ab} executeQuery: Code: 36. DB::Exception: Second argument of aggregate function analysisOfVariance should be a native unsigned integer. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39954) (comment: 02475_analysis_of_variance.sql) (in query: SELECT analysisOfVariance(1.11, -20);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.cpp:24: DB::(anonymous namespace)::createAggregateFunctionAnalysisOfVariance(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017a97494 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:17:44.258724 [ 3551 ] {93512181-dc3e-4e1b-ad43-0c4e5d4e66ab} TCPHandler: Code: 36. DB::Exception: Second argument of aggregate function analysisOfVariance should be a native unsigned integer. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.cpp:24: DB::(anonymous namespace)::createAggregateFunctionAnalysisOfVariance(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017a97494 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:17:44.269353 [ 3551 ] {8232b439-1550-44bc-a779-27923dad5aad} executeQuery: Code: 36. DB::Exception: Second argument of aggregate function analysisOfVariance should be a native unsigned integer. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39954) (comment: 02475_analysis_of_variance.sql) (in query: SELECT analysisOfVariance(1.11, 20 :: UInt128);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.cpp:24: DB::(anonymous namespace)::createAggregateFunctionAnalysisOfVariance(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017a97494 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:17:44.270638 [ 3551 ] {8232b439-1550-44bc-a779-27923dad5aad} TCPHandler: Code: 36. DB::Exception: Second argument of aggregate function analysisOfVariance should be a native unsigned integer. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.cpp:24: DB::(anonymous namespace)::createAggregateFunctionAnalysisOfVariance(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017a97494 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:17:44.425969 [ 3551 ] {a101c09b-e5e8-4794-af04-be607087a477} executeQuery: Code: 36. DB::Exception: Too many groups for analysis of variance (should be no more than 1048576, got 9000000000000001): While executing AggregatingTransform. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39954) (comment: 02475_analysis_of_variance.sql) (in query: SELECT analysisOfVariance(1.11, 9000000000000000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x000000000b8fc22c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/Moments.h:452: DB::AnalysisOfVarianceMoments::resizeIfNeeded(unsigned long) @ 0x0000000017a99ffb in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/Moments.h:466: DB::AnalysisOfVarianceMoments::add(double, unsigned long) @ 0x0000000017a99ec7 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.h:54: DB::AggregateFunctionAnalysisOfVariance::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000017a98545 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/IAggregateFunction.h:541: DB::IAggregateFunctionHelper::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000017a98dca in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x000000001c0dd64e in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1586: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01f96f in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 2024.12.17 01:17:44.427871 [ 3551 ] {a101c09b-e5e8-4794-af04-be607087a477} TCPHandler: Code: 36. DB::Exception: Too many groups for analysis of variance (should be no more than 1048576, got 9000000000000001): While executing AggregatingTransform. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x000000000b8fc22c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/Moments.h:452: DB::AnalysisOfVarianceMoments::resizeIfNeeded(unsigned long) @ 0x0000000017a99ffb in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/Moments.h:466: DB::AnalysisOfVarianceMoments::add(double, unsigned long) @ 0x0000000017a99ec7 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAnalysisOfVariance.h:54: DB::AggregateFunctionAnalysisOfVariance::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000017a98545 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/IAggregateFunction.h:541: DB::IAggregateFunctionHelper::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000017a98dca in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x000000001c0dd64e in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1586: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01f96f in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 2024.12.17 01:17:45.607939 [ 3551 ] {bae7db9a-144a-42ef-9faa-8d4128bc86d0} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope SELECT value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40004) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT value_ FROM test_table SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:45.609598 [ 3551 ] {bae7db9a-144a-42ef-9faa-8d4128bc86d0} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope SELECT value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:46.826001 [ 3551 ] {73679389-7856-438c-8115-c37d5503f68b} executeQuery: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40030) (comment: 02470_suspicious_low_cardinality_msan.sql) (in query: SELECT colAlias0, colAlias2, colAlias3 FROM alias_2__fuzz_25;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c45ba4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x0000000011b8701d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b85514 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:199: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb97c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:241: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb44a in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:17:46.826809 [ 3551 ] {73679389-7856-438c-8115-c37d5503f68b} TCPHandler: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c45ba4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x0000000011b8701d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b85514 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:199: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb97c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:241: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb44a in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 22. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:17:47.675952 [ 3551 ] {58bed50e-dd3b-4fd1-a28e-9ed5c53f2d07} executeQuery: Code: 47. DB::Exception: Identifier 'test_table.value_' cannot be resolved from table with name test_v1gn09b2.test_table. In scope SELECT test_table.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40058) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c9754a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93eb59 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:17:47.803853 [ 3551 ] {58bed50e-dd3b-4fd1-a28e-9ed5c53f2d07} TCPHandler: Code: 47. DB::Exception: Identifier 'test_table.value_' cannot be resolved from table with name test_v1gn09b2.test_table. In scope SELECT test_table.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c9754a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93eb59 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:17:47.803912 [ 2670 ] {b089eb05-9288-4841-ac9e-58623c3de8be} executeQuery: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'Int128'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40070) (comment: 02469_interval_msan.sql) (in query: SELECT now() + 1::Int128;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c45ba4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x0000000011b8701d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b85514 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b8462c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:17:47.804962 [ 2670 ] {b089eb05-9288-4841-ac9e-58623c3de8be} TCPHandler: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'Int128'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c45ba4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x0000000011b8701d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b85514 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b8462c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:17:47.816224 [ 2670 ] {2e5b8dbc-2150-482c-8d77-579084da0644} executeQuery: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'Int256'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40070) (comment: 02469_interval_msan.sql) (in query: SELECT now() + 1::Int256;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c45ba4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x0000000011b8701d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b85514 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b8462c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:17:47.817181 [ 2670 ] {2e5b8dbc-2150-482c-8d77-579084da0644} TCPHandler: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'Int256'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c45ba4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x0000000011b8701d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b85514 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b8462c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:17:47.824756 [ 2670 ] {c77975d8-86d4-4428-a52d-d886585d8d91} executeQuery: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'UInt128'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40070) (comment: 02469_interval_msan.sql) (in query: SELECT now() + 1::UInt128;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c45ba4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x0000000011b8701d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b85514 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b8462c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:17:47.825598 [ 2670 ] {c77975d8-86d4-4428-a52d-d886585d8d91} TCPHandler: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'UInt128'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c45ba4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x0000000011b8701d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b85514 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b8462c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:17:47.832761 [ 2670 ] {ccd7c018-8029-4cf8-a388-1533c3d0dc7e} executeQuery: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'UInt256'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40070) (comment: 02469_interval_msan.sql) (in query: SELECT now() + 1::UInt256;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c45ba4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x0000000011b8701d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b85514 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b8462c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:17:47.833668 [ 2670 ] {ccd7c018-8029-4cf8-a388-1533c3d0dc7e} TCPHandler: Code: 43. DB::Exception: Second argument for function addSeconds (delta) must be a number: While processing now() + CAST('1', 'UInt256'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c45ba4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x0000000011b8701d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b85514 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011b8462c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:17:47.951048 [ 2670 ] {a7cfc791-aa6e-4dfb-87c3-94e3296cba55} executeQuery: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'Int128'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40070) (comment: 02469_interval_msan.sql) (in query: SELECT now() - 1::Int128;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125ccc4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x00000000106cabbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106c9114 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106c822c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:17:47.952076 [ 2670 ] {a7cfc791-aa6e-4dfb-87c3-94e3296cba55} TCPHandler: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'Int128'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125ccc4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x00000000106cabbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106c9114 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106c822c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:17:47.960194 [ 2670 ] {50669129-e38f-4703-9ece-5d901318c0b8} executeQuery: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'Int256'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40070) (comment: 02469_interval_msan.sql) (in query: SELECT now() - 1::Int256;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125ccc4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x00000000106cabbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106c9114 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106c822c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:17:47.961001 [ 2670 ] {50669129-e38f-4703-9ece-5d901318c0b8} TCPHandler: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'Int256'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125ccc4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x00000000106cabbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106c9114 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106c822c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:17:47.968239 [ 2670 ] {ff707198-4f10-47ae-8fef-df8ca8aff279} executeQuery: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'UInt128'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40070) (comment: 02469_interval_msan.sql) (in query: SELECT now() - 1::UInt128;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125ccc4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x00000000106cabbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106c9114 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106c822c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:17:47.969001 [ 2670 ] {ff707198-4f10-47ae-8fef-df8ca8aff279} TCPHandler: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'UInt128'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125ccc4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x00000000106cabbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106c9114 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106c822c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:17:47.976678 [ 2670 ] {b6207971-756f-4ad7-a3a2-e2ba33ed226b} executeQuery: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'UInt256'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40070) (comment: 02469_interval_msan.sql) (in query: SELECT now() - 1::UInt256;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125ccc4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x00000000106cabbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106c9114 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106c822c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:17:47.977468 [ 2670 ] {b6207971-756f-4ad7-a3a2-e2ba33ed226b} TCPHandler: Code: 43. DB::Exception: Second argument for function subtractSeconds (delta) must be a number: While processing now() - CAST('1', 'UInt256'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:536: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125ccc4c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:1133: DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x00000000106cabbd in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:2025: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106c9114 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000106c822c in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:17:49.360975 [ 2670 ] {97cdbd9b-6d66-448f-bb19-40da818e4d35} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40112) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE 'a' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d6333 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1446: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9f0f6 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:49.361975 [ 2670 ] {97cdbd9b-6d66-448f-bb19-40da818e4d35} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d6333 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1446: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9f0f6 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:49.380606 [ 2670 ] {53c634df-d0d1-4b85-b3df-60e6356111c2} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40112) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE '%a' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d6333 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1446: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9f0f6 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:49.381486 [ 2670 ] {53c634df-d0d1-4b85-b3df-60e6356111c2} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d6333 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1446: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9f0f6 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:49.400403 [ 2670 ] {e8ff4a40-e76c-46b6-b1b8-fe24018fb841} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40112) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE 'a_' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d6333 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1446: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9f0f6 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:49.401235 [ 2670 ] {e8ff4a40-e76c-46b6-b1b8-fe24018fb841} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d6333 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1446: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9f0f6 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:49.419510 [ 2670 ] {7e30300f-beaa-4421-83a3-b93d181e2b97} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40112) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE 'a%_' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d6333 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1446: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9f0f6 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:49.420366 [ 2670 ] {7e30300f-beaa-4421-83a3-b93d181e2b97} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d6333 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1446: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9f0f6 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:49.438425 [ 2670 ] {7f569924-5d1c-4420-a958-c7a135d35ef8} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40112) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE '_a' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d6333 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1446: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9f0f6 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:49.439109 [ 2670 ] {7f569924-5d1c-4420-a958-c7a135d35ef8} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d6333 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1446: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9f0f6 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:49.457140 [ 2670 ] {8c970495-c17f-435c-a7eb-ab3eca6ddeda} executeQuery: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40112) (comment: 02458_key_condition_not_like_prefix.sql) (in query: SELECT count() FROM data WHERE str NOT LIKE 'a%\_' SETTINGS force_primary_key=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d6333 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1446: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9f0f6 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:49.457852 [ 2670 ] {8c970495-c17f-435c-a7eb-ab3eca6ddeda} TCPHandler: Code: 277. DB::Exception: Primary key (str) is not used and setting 'force_primary_key' is set. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001d6d6333 in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1446: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9f0f6 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:49.537359 [ 5531 ] {c1898cd5-75c6-4323-8c3f-dddf5f156559} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl.value_' in scope SELECT test_tabl.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40124) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_tabl.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:49.539188 [ 5531 ] {c1898cd5-75c6-4323-8c3f-dddf5f156559} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl.value_' in scope SELECT test_tabl.value_ FROM test_table SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:50.787227 [ 3551 ] {5f2c3e11-5bce-436a-aecd-78cb75234931} executeQuery: Code: 43. DB::Exception: Wrong order of arguments for function minus: argument of Tuple type cannot be first: While processing tuple(toIntervalDay(1)) - CAST('2022-10-11', 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40134) (comment: 02457_tuple_of_intervals.sql) (in query: SELECT tuple(INTERVAL 1 DAY) - '2022-10-11'::Date;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:867: DB::FunctionBinaryArithmetic::getFunctionForDateTupleOfIntervalsArithmetic(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000106caee3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:1461: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x00000000107b2f47 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:2476: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010487f6f in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:376: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c0b61a9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:17:50.788180 [ 3551 ] {5f2c3e11-5bce-436a-aecd-78cb75234931} TCPHandler: Code: 43. DB::Exception: Wrong order of arguments for function minus: argument of Tuple type cannot be first: While processing tuple(toIntervalDay(1)) - CAST('2022-10-11', 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:867: DB::FunctionBinaryArithmetic::getFunctionForDateTupleOfIntervalsArithmetic(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000106caee3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:1461: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x00000000107b2f47 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:2476: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010487f6f in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:376: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c0b61a9 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:17:50.955377 [ 3551 ] {0fc6ec8e-941f-40b1-8e3f-0776dfe789f5} executeQuery: Code: 43. DB::Exception: Illegal types IntervalSecond and Tuple(IntervalSecond) of arguments of function plus: While processing toIntervalSecond(1) + tuple(toIntervalSecond(1)) AS expr, toTypeName(expr). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40134) (comment: 02457_tuple_of_intervals.sql) (in query: WITH INTERVAL 1 SECOND + tuple(INTERVAL 1 SECOND) as expr SELECT expr, toTypeName(expr);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1618: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000011c75509 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2476: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001195932f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:376: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c0b61a9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:17:50.956416 [ 3551 ] {0fc6ec8e-941f-40b1-8e3f-0776dfe789f5} TCPHandler: Code: 43. DB::Exception: Illegal types IntervalSecond and Tuple(IntervalSecond) of arguments of function plus: While processing toIntervalSecond(1) + tuple(toIntervalSecond(1)) AS expr, toTypeName(expr). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1618: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000011c75509 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2476: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001195932f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:376: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c0b61a9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:17:51.111460 [ 3551 ] {b93d5ccf-cd9f-4501-947a-29eb63fc95be} executeQuery: Code: 43. DB::Exception: Illegal types IntervalSecond and Tuple(IntervalSecond) of arguments of function minus: While processing toIntervalSecond(1) - tuple(toIntervalSecond(1)) AS expr, toTypeName(expr). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40134) (comment: 02457_tuple_of_intervals.sql) (in query: WITH INTERVAL 1 SECOND - tuple(INTERVAL 1 SECOND) as expr SELECT expr, toTypeName(expr);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1618: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x00000000107b38a9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2476: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010487f6f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:376: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c0b61a9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:17:51.112778 [ 3551 ] {b93d5ccf-cd9f-4501-947a-29eb63fc95be} TCPHandler: Code: 43. DB::Exception: Illegal types IntervalSecond and Tuple(IntervalSecond) of arguments of function minus: While processing toIntervalSecond(1) - tuple(toIntervalSecond(1)) AS expr, toTypeName(expr). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1618: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x00000000107b38a9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2476: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010487f6f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:376: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c0b61a9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:17:51.520573 [ 2670 ] {3f066084-6a66-44af-b2ca-b6d6981877e6} executeQuery: Code: 47. DB::Exception: Identifier 'test_table.value_' cannot be resolved from table with name test_table_alias. In scope SELECT test_table.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60070) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c9754a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93eb59 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:17:51.522515 [ 2670 ] {3f066084-6a66-44af-b2ca-b6d6981877e6} TCPHandler: Code: 47. DB::Exception: Identifier 'test_table.value_' cannot be resolved from table with name test_table_alias. In scope SELECT test_table.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c9754a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93eb59 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:17:52.611452 [ 5531 ] {c70c51d9-7f36-4c0c-a9c1-7f6771edad32} executeQuery: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60088) (comment: 02456_keeper_retries_during_insert.sql) (in query: INSERT INTO keeper_retries_r1 SETTINGS insert_keeper_fault_injection_probability=1, insert_keeper_max_retries=0 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000b21731e in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.h:469: Coordination::Exception::Exception(char const (&) [33], Coordination::Error) @ 0x000000001b2c34cd in /usr/bin/clickhouse 7. /build/src/Common/ZooKeeper/IKeeper.h:503: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [33]) @ 0x000000001b2c2f86 in /usr/bin/clickhouse 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:32: DB::RandomFaultInjection::beforeOperation() @ 0x000000001b2c2e8a in /usr/bin/clickhouse 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:416: DB::ZooKeeperWithFaultInjection::faultInjectionBefore(std::function) @ 0x000000001b2c2aa7 in /usr/bin/clickhouse 10. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:515: bool DB::ZooKeeperWithFaultInjection::access const&)::'lambda'(), bool>(char const*, String const&, DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&)::'lambda'(), DB::ZooKeeperWithFaultInjection::FaultCleanupTypeImpl::Type, std::function) @ 0x000000001b2de7a7 in /usr/bin/clickhouse 11. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:247: DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&) @ 0x000000001b2de4e7 in /usr/bin/clickhouse 12. /build/src/Storages/StorageReplicatedMergeTree.cpp:6244: DB::StorageReplicatedMergeTree::existsNodeCached(std::shared_ptr const&, String const&) const @ 0x000000001d7f6c49 in /usr/bin/clickhouse 13. /build/src/Storages/StorageReplicatedMergeTree.cpp:6281: std::optional DB::StorageReplicatedMergeTree::allocateBlockNumber(String const&, std::shared_ptr const&, String const&, String const&) const @ 0x000000001d8e06b8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:636: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001e338ce2 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/ZooKeeperRetries.h:65: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001e31ff5b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:567: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001e31faf6 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001e314b51 in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:400: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e31edd8 in /usr/bin/clickhouse 19. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 2024.12.17 01:17:52.614028 [ 5531 ] {c70c51d9-7f36-4c0c-a9c1-7f6771edad32} TCPHandler: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000b21731e in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.h:469: Coordination::Exception::Exception(char const (&) [33], Coordination::Error) @ 0x000000001b2c34cd in /usr/bin/clickhouse 7. /build/src/Common/ZooKeeper/IKeeper.h:503: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [33]) @ 0x000000001b2c2f86 in /usr/bin/clickhouse 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:32: DB::RandomFaultInjection::beforeOperation() @ 0x000000001b2c2e8a in /usr/bin/clickhouse 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:416: DB::ZooKeeperWithFaultInjection::faultInjectionBefore(std::function) @ 0x000000001b2c2aa7 in /usr/bin/clickhouse 10. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:515: bool DB::ZooKeeperWithFaultInjection::access const&)::'lambda'(), bool>(char const*, String const&, DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&)::'lambda'(), DB::ZooKeeperWithFaultInjection::FaultCleanupTypeImpl::Type, std::function) @ 0x000000001b2de7a7 in /usr/bin/clickhouse 11. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:247: DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&) @ 0x000000001b2de4e7 in /usr/bin/clickhouse 12. /build/src/Storages/StorageReplicatedMergeTree.cpp:6244: DB::StorageReplicatedMergeTree::existsNodeCached(std::shared_ptr const&, String const&) const @ 0x000000001d7f6c49 in /usr/bin/clickhouse 13. /build/src/Storages/StorageReplicatedMergeTree.cpp:6281: std::optional DB::StorageReplicatedMergeTree::allocateBlockNumber(String const&, std::shared_ptr const&, String const&, String const&) const @ 0x000000001d8e06b8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:636: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001e338ce2 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/ZooKeeperRetries.h:65: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001e31ff5b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:567: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001e31faf6 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001e314b51 in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:400: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e31edd8 in /usr/bin/clickhouse 19. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 2024.12.17 01:17:52.845631 [ 5531 ] {e1769162-6c14-4dec-9acd-75dac5495cd7} executeQuery: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60088) (comment: 02456_keeper_retries_during_insert.sql) (in query: INSERT INTO keeper_retries_r1 SETTINGS insert_keeper_fault_injection_probability=1, insert_keeper_retry_max_backoff_ms=10 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000b21731e in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.h:469: Coordination::Exception::Exception(char const (&) [33], Coordination::Error) @ 0x000000001b2c34cd in /usr/bin/clickhouse 7. /build/src/Common/ZooKeeper/IKeeper.h:503: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [33]) @ 0x000000001b2c2f86 in /usr/bin/clickhouse 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:32: DB::RandomFaultInjection::beforeOperation() @ 0x000000001b2c2e8a in /usr/bin/clickhouse 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:416: DB::ZooKeeperWithFaultInjection::faultInjectionBefore(std::function) @ 0x000000001b2c2aa7 in /usr/bin/clickhouse 10. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:515: bool DB::ZooKeeperWithFaultInjection::access const&)::'lambda'(), bool>(char const*, String const&, DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&)::'lambda'(), DB::ZooKeeperWithFaultInjection::FaultCleanupTypeImpl::Type, std::function) @ 0x000000001b2de7a7 in /usr/bin/clickhouse 11. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:247: DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&) @ 0x000000001b2de4e7 in /usr/bin/clickhouse 12. /build/src/Storages/StorageReplicatedMergeTree.cpp:6244: DB::StorageReplicatedMergeTree::existsNodeCached(std::shared_ptr const&, String const&) const @ 0x000000001d7f6c49 in /usr/bin/clickhouse 13. /build/src/Storages/StorageReplicatedMergeTree.cpp:6281: std::optional DB::StorageReplicatedMergeTree::allocateBlockNumber(String const&, std::shared_ptr const&, String const&, String const&) const @ 0x000000001d8e06b8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:636: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001e338ce2 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/ZooKeeperRetries.h:65: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001e31ff5b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:567: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001e31faf6 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001e314b51 in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:400: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e31edd8 in /usr/bin/clickhouse 19. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 2024.12.17 01:17:52.848352 [ 5531 ] {e1769162-6c14-4dec-9acd-75dac5495cd7} TCPHandler: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000b21731e in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.h:469: Coordination::Exception::Exception(char const (&) [33], Coordination::Error) @ 0x000000001b2c34cd in /usr/bin/clickhouse 7. /build/src/Common/ZooKeeper/IKeeper.h:503: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [33]) @ 0x000000001b2c2f86 in /usr/bin/clickhouse 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:32: DB::RandomFaultInjection::beforeOperation() @ 0x000000001b2c2e8a in /usr/bin/clickhouse 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:416: DB::ZooKeeperWithFaultInjection::faultInjectionBefore(std::function) @ 0x000000001b2c2aa7 in /usr/bin/clickhouse 10. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:515: bool DB::ZooKeeperWithFaultInjection::access const&)::'lambda'(), bool>(char const*, String const&, DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&)::'lambda'(), DB::ZooKeeperWithFaultInjection::FaultCleanupTypeImpl::Type, std::function) @ 0x000000001b2de7a7 in /usr/bin/clickhouse 11. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:247: DB::ZooKeeperWithFaultInjection::exists(String const&, Coordination::Stat*, std::shared_ptr const&) @ 0x000000001b2de4e7 in /usr/bin/clickhouse 12. /build/src/Storages/StorageReplicatedMergeTree.cpp:6244: DB::StorageReplicatedMergeTree::existsNodeCached(std::shared_ptr const&, String const&) const @ 0x000000001d7f6c49 in /usr/bin/clickhouse 13. /build/src/Storages/StorageReplicatedMergeTree.cpp:6281: std::optional DB::StorageReplicatedMergeTree::allocateBlockNumber(String const&, std::shared_ptr const&, String const&, String const&) const @ 0x000000001d8e06b8 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:636: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001e338ce2 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/ZooKeeperRetries.h:65: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001e31ff5b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:567: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001e31faf6 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001e314b51 in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:400: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e31edd8 in /usr/bin/clickhouse 19. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 2024.12.17 01:17:53.073629 [ 5531 ] {59c45758-db2b-427f-9e07-eeda8722a5ff} executeQuery: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60088) (comment: 02456_keeper_retries_during_insert.sql) (in query: INSERT INTO keeper_retries_r1 SETTINGS insert_keeper_fault_injection_probability=1, insert_keeper_max_retries=0 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000b21731e in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.h:469: Coordination::Exception::Exception(char const (&) [33], Coordination::Error) @ 0x000000001b2c34cd in /usr/bin/clickhouse 7. /build/src/Common/ZooKeeper/IKeeper.h:503: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [33]) @ 0x000000001b2c2f86 in /usr/bin/clickhouse 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:32: DB::RandomFaultInjection::beforeOperation() @ 0x000000001b2c2e8a in /usr/bin/clickhouse 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:416: DB::ZooKeeperWithFaultInjection::faultInjectionBefore(std::function) @ 0x000000001b2c2aa7 in /usr/bin/clickhouse 10. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:515: std::vector> DB::ZooKeeperWithFaultInjection::access const&, Coordination::ListRequestType)::'lambda'(), std::vector>>(char const*, String const&, DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType)::'lambda'(), DB::ZooKeeperWithFaultInjection::FaultCleanupTypeImpl>>::Type, std::function) @ 0x000000001b2d19b8 in /usr/bin/clickhouse 11. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:143: DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType) @ 0x000000001b2d181c in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:171: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001e337344 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/ZooKeeperRetries.h:65: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001e336ffb in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/ZooKeeperRetries.h:47: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&) @ 0x000000001e31f8e1 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:164: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001e31efbd in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:267: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e31d5af in /usr/bin/clickhouse 17. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 25. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 2024.12.17 01:17:53.074813 [ 5531 ] {59c45758-db2b-427f-9e07-eeda8722a5ff} TCPHandler: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000b21731e in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.h:469: Coordination::Exception::Exception(char const (&) [33], Coordination::Error) @ 0x000000001b2c34cd in /usr/bin/clickhouse 7. /build/src/Common/ZooKeeper/IKeeper.h:503: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [33]) @ 0x000000001b2c2f86 in /usr/bin/clickhouse 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:32: DB::RandomFaultInjection::beforeOperation() @ 0x000000001b2c2e8a in /usr/bin/clickhouse 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:416: DB::ZooKeeperWithFaultInjection::faultInjectionBefore(std::function) @ 0x000000001b2c2aa7 in /usr/bin/clickhouse 10. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:515: std::vector> DB::ZooKeeperWithFaultInjection::access const&, Coordination::ListRequestType)::'lambda'(), std::vector>>(char const*, String const&, DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType)::'lambda'(), DB::ZooKeeperWithFaultInjection::FaultCleanupTypeImpl>>::Type, std::function) @ 0x000000001b2d19b8 in /usr/bin/clickhouse 11. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:143: DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType) @ 0x000000001b2d181c in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:171: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001e337344 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/ZooKeeperRetries.h:65: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001e336ffb in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/ZooKeeperRetries.h:47: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&) @ 0x000000001e31f8e1 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:164: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001e31efbd in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:267: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e31d5af in /usr/bin/clickhouse 17. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 25. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 2024.12.17 01:17:53.123276 [ 5531 ] {6b9ecee8-3a0b-42d4-a439-bb2e3b7d0f95} executeQuery: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60088) (comment: 02456_keeper_retries_during_insert.sql) (in query: INSERT INTO keeper_retries_r1 SETTINGS insert_keeper_fault_injection_probability=1, insert_keeper_retry_max_backoff_ms=1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000b21731e in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.h:469: Coordination::Exception::Exception(char const (&) [33], Coordination::Error) @ 0x000000001b2c34cd in /usr/bin/clickhouse 7. /build/src/Common/ZooKeeper/IKeeper.h:503: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [33]) @ 0x000000001b2c2f86 in /usr/bin/clickhouse 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:32: DB::RandomFaultInjection::beforeOperation() @ 0x000000001b2c2e8a in /usr/bin/clickhouse 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:416: DB::ZooKeeperWithFaultInjection::faultInjectionBefore(std::function) @ 0x000000001b2c2aa7 in /usr/bin/clickhouse 10. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:515: std::vector> DB::ZooKeeperWithFaultInjection::access const&, Coordination::ListRequestType)::'lambda'(), std::vector>>(char const*, String const&, DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType)::'lambda'(), DB::ZooKeeperWithFaultInjection::FaultCleanupTypeImpl>>::Type, std::function) @ 0x000000001b2d19b8 in /usr/bin/clickhouse 11. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:143: DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType) @ 0x000000001b2d181c in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:171: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001e337344 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/ZooKeeperRetries.h:65: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001e336ffb in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/ZooKeeperRetries.h:47: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&) @ 0x000000001e31f8e1 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:164: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001e31efbd in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:267: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e31d5af in /usr/bin/clickhouse 17. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 25. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 2024.12.17 01:17:53.124611 [ 5531 ] {6b9ecee8-3a0b-42d4-a439-bb2e3b7d0f95} TCPHandler: Code: 999. Coordination::Exception: Fault injection before operation. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000b21731e in /usr/bin/clickhouse 6. /build/src/Common/ZooKeeper/IKeeper.h:469: Coordination::Exception::Exception(char const (&) [33], Coordination::Error) @ 0x000000001b2c34cd in /usr/bin/clickhouse 7. /build/src/Common/ZooKeeper/IKeeper.h:503: Coordination::Exception Coordination::Exception::fromMessage(Coordination::Error, char const (&) [33]) @ 0x000000001b2c2f86 in /usr/bin/clickhouse 8. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:32: DB::RandomFaultInjection::beforeOperation() @ 0x000000001b2c2e8a in /usr/bin/clickhouse 9. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:416: DB::ZooKeeperWithFaultInjection::faultInjectionBefore(std::function) @ 0x000000001b2c2aa7 in /usr/bin/clickhouse 10. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:515: std::vector> DB::ZooKeeperWithFaultInjection::access const&, Coordination::ListRequestType)::'lambda'(), std::vector>>(char const*, String const&, DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType)::'lambda'(), DB::ZooKeeperWithFaultInjection::FaultCleanupTypeImpl>>::Type, std::function) @ 0x000000001b2d19b8 in /usr/bin/clickhouse 11. /build/src/Common/ZooKeeper/ZooKeeperWithFaultInjection.h:143: DB::ZooKeeperWithFaultInjection::getChildren(String const&, Coordination::Stat*, std::shared_ptr const&, Coordination::ListRequestType) @ 0x000000001b2d181c in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:171: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001e337344 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/ZooKeeperRetries.h:65: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001e336ffb in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/ZooKeeperRetries.h:47: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&) @ 0x000000001e31f8e1 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:164: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001e31efbd in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:267: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e31d5af in /usr/bin/clickhouse 17. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 25. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 2024.12.17 01:17:53.423468 [ 5531 ] {11bdf150-087d-4b09-9d37-3156f966575a} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl.value_' in scope SELECT test_tabl.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60112) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_tabl.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:53.426267 [ 5531 ] {11bdf150-087d-4b09-9d37-3156f966575a} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl.value_' in scope SELECT test_tabl.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:53.688412 [ 2670 ] {922f7b5b-ea0a-4493-bbdb-e0359d5429c5} executeQuery: Code: 36. DB::Exception: Tables have different primary key. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60102) (comment: 02455_improve_feedback_when_replacing_partition_with_different_primary_key.sql) (in query: ALTER TABLE test_b REPLACE PARTITION '0' FROM test_a;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91cade in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7432: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec9051 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:7462: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec993d in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:2017: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e37c8c6 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:5212: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deaccba in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:53.689204 [ 2670 ] {922f7b5b-ea0a-4493-bbdb-e0359d5429c5} TCPHandler: Code: 36. DB::Exception: Tables have different primary key. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91cade in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7432: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec9051 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:7462: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec993d in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:2017: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e37c8c6 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:5212: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deaccba in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:55.079880 [ 5531 ] {f0dd4059-3880-4d0a-94c9-e3cd7cdc2d20} executeQuery: Code: 117. DB::Exception: Duplicate column name found while schema inference: "x": Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60162) (comment: 02455_duplicate_column_names_in_schema_inference.sql) (in query: desc format(JSONEachRow, '{"x" : 1, "x" : 2}');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:280: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001e7d585c in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:124: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e695bc3 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e697148 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d5d58 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x000000001ca72ab3 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:55.080735 [ 5531 ] {f0dd4059-3880-4d0a-94c9-e3cd7cdc2d20} TCPHandler: Code: 117. DB::Exception: Duplicate column name found while schema inference: "x": Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:280: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001e7d585c in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:124: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e695bc3 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e697148 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d5d58 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x000000001ca72ab3 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:55.176143 [ 5531 ] {d1455e2c-e1e1-4340-8e22-ceb00a43cdda} executeQuery: Code: 117. DB::Exception: Duplicate column name found while schema inference: "x": Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60162) (comment: 02455_duplicate_column_names_in_schema_inference.sql) (in query: desc format(JSONEachRow, '{"x" : 1, "y" : 2}\n{"x" : 2, "x" : 3}');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:301: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001e7d5c5c in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:124: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e695bc3 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e697148 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d5d58 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x000000001ca72ab3 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:55.176857 [ 5531 ] {d1455e2c-e1e1-4340-8e22-ceb00a43cdda} TCPHandler: Code: 117. DB::Exception: Duplicate column name found while schema inference: "x": Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:301: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001e7d5c5c in /usr/bin/clickhouse 7. /build/src/Formats/ReadSchemaUtils.cpp:124: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e695bc3 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e697148 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d5d58 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x000000001ca72ab3 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:55.278904 [ 5531 ] {e328bf3f-fbae-41e1-b3ee-5eb17563dd90} executeQuery: Code: 117. DB::Exception: Duplicate column name found while schema inference: "a": Cannot extract table structure from CSVWithNames format file. You can specify the structure manually. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60162) (comment: 02455_duplicate_column_names_in_schema_inference.sql) (in query: desc format(CSVWithNames, 'a,b,a\n1,2,3');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:150: DB::IRowSchemaReader::readSchema() @ 0x000000001e7d48fc in /usr/bin/clickhouse 7. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:422: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x000000001e7e9cb8 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:124: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e695bc3 in /usr/bin/clickhouse 9. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e697148 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d5d58 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x000000001ca72ab3 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:55.279642 [ 5531 ] {e328bf3f-fbae-41e1-b3ee-5eb17563dd90} TCPHandler: Code: 117. DB::Exception: Duplicate column name found while schema inference: "a": Cannot extract table structure from CSVWithNames format file. You can specify the structure manually. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:150: DB::IRowSchemaReader::readSchema() @ 0x000000001e7d48fc in /usr/bin/clickhouse 7. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:422: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x000000001e7e9cb8 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:124: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e695bc3 in /usr/bin/clickhouse 9. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e697148 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d5d58 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x000000001ca72ab3 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:55.285225 [ 3551 ] {5ec7b2a6-2c41-4f23-b9c7-7208448310ac} executeQuery: Code: 47. DB::Exception: Identifier 'test_table_alias.value_' cannot be resolved from table with name test_table_alias. In scope SELECT test_table_alias.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_alias.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60172) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_alias.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c9754a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93eb59 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:17:55.286463 [ 5531 ] {18bc729d-725a-4800-b9af-5ccb79ca6fc9} executeQuery: Code: 117. DB::Exception: Duplicate column name found while schema inference: "a": Cannot extract table structure from CSV format file. You can specify the structure manually. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60162) (comment: 02455_duplicate_column_names_in_schema_inference.sql) (in query: desc format(CSV, '1,2,3') settings column_names_for_schema_inference='a, b, a';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:150: DB::IRowSchemaReader::readSchema() @ 0x000000001e7d48fc in /usr/bin/clickhouse 7. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:422: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x000000001e7e9cb8 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:124: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e695bc3 in /usr/bin/clickhouse 9. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e697148 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d5d58 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x000000001ca72ab3 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:55.287062 [ 5531 ] {18bc729d-725a-4800-b9af-5ccb79ca6fc9} TCPHandler: Code: 117. DB::Exception: Duplicate column name found while schema inference: "a": Cannot extract table structure from CSV format file. You can specify the structure manually. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Processors/Formats/ISchemaReader.cpp:150: DB::IRowSchemaReader::readSchema() @ 0x000000001e7d48fc in /usr/bin/clickhouse 7. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:422: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x000000001e7e9cb8 in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:124: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e695bc3 in /usr/bin/clickhouse 9. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e697148 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d5d58 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDescribeQuery.cpp:99: DB::InterpreterDescribeQuery::execute() @ 0x000000001ca72ab3 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:55.287099 [ 3551 ] {5ec7b2a6-2c41-4f23-b9c7-7208448310ac} TCPHandler: Code: 47. DB::Exception: Identifier 'test_table_alias.value_' cannot be resolved from table with name test_table_alias. In scope SELECT test_table_alias.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_alias.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c9754a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93eb59 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:17:57.104111 [ 2670 ] {55190e81-3950-460a-a512-34a4888631a4} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_table_alia.value_' in scope SELECT test_table_alia.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_alias.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60244) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_alia.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:57.105617 [ 2670 ] {55190e81-3950-460a-a512-34a4888631a4} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_table_alia.value_' in scope SELECT test_table_alia.value_ FROM test_table AS test_table_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_alias.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:58.980328 [ 1120 ] {205c91a1-e30a-41f5-9a0a-4c510b1b7966} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope SELECT value_ FROM (SELECT 1 AS value) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60290) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT value_ FROM (SELECT 1 AS value) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:17:58.982656 [ 1120 ] {205c91a1-e30a-41f5-9a0a-4c510b1b7966} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope SELECT value_ FROM (SELECT 1 AS value) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:00.870029 [ 1121 ] {1643a32d-5756-4a46-9691-6810424e87a9} executeQuery: Code: 47. DB::Exception: Identifier 'subquery.value_' cannot be resolved from subquery with name subquery. In scope SELECT subquery.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37340) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT subquery.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c9754a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93eb59 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:18:00.872092 [ 1121 ] {1643a32d-5756-4a46-9691-6810424e87a9} TCPHandler: Code: 47. DB::Exception: Identifier 'subquery.value_' cannot be resolved from subquery with name subquery. In scope SELECT subquery.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c9754a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93eb59 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:18:01.719675 [ 6043 ] {962d7aef-d075-4ad0-b8f7-7e49dd8c7bd0} executeQuery: Code: 128. DB::Exception: Array sizes are too large: 18446744073709551615: Cannot extract table structure from Native format file. You can specify the structure manually. (TOO_LARGE_ARRAY_SIZE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37356) (comment: 02424_pod_array_overflow.sql) (in query: SELECT * FROM format(Native, '\x02\x02\x02\x6b\x30\x1a\x4d\x61\x70\x28\x46\x69\x78\x65\x64\x53\x74\x72\x69\x6e\x67\x28\x31\x29\x2c\x20\x49\x6e\x74\x36\x34\x29\x01\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x7f\x00\x7f\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x64\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xcf\x31\x3f\x56\x69\x11\x89\x25');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bba33 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationArray.cpp:380: DB::SerializationArray::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001ba2c585 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationMap.cpp:363: DB::SerializationMap::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001ba5d427 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001e68f074 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001e68ff0a in /usr/bin/clickhouse 10. /build/src/Processors/Formats/Impl/NativeFormat.cpp:111: DB::NativeSchemaReader::readSchema() @ 0x000000001e900b96 in /usr/bin/clickhouse 11. /build/src/Formats/ReadSchemaUtils.cpp:124: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e695bc3 in /usr/bin/clickhouse 12. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e697148 in /usr/bin/clickhouse 13. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d5d58 in /usr/bin/clickhouse 14. /build/src/TableFunctions/TableFunctionFormat.cpp:100: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9d66f0 in /usr/bin/clickhouse 15. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 17. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 2024.12.17 01:18:01.720682 [ 6043 ] {962d7aef-d075-4ad0-b8f7-7e49dd8c7bd0} TCPHandler: Code: 128. DB::Exception: Array sizes are too large: 18446744073709551615: Cannot extract table structure from Native format file. You can specify the structure manually. (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bba33 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationArray.cpp:380: DB::SerializationArray::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001ba2c585 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationMap.cpp:363: DB::SerializationMap::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001ba5d427 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001e68f074 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001e68ff0a in /usr/bin/clickhouse 10. /build/src/Processors/Formats/Impl/NativeFormat.cpp:111: DB::NativeSchemaReader::readSchema() @ 0x000000001e900b96 in /usr/bin/clickhouse 11. /build/src/Formats/ReadSchemaUtils.cpp:124: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e695bc3 in /usr/bin/clickhouse 12. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e697148 in /usr/bin/clickhouse 13. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d5d58 in /usr/bin/clickhouse 14. /build/src/TableFunctions/TableFunctionFormat.cpp:100: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9d66f0 in /usr/bin/clickhouse 15. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 16. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 17. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 2024.12.17 01:18:02.713239 [ 1121 ] {b21c9b3c-be4c-4897-a36f-49f03a5e1414} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'subquer.value_' in scope SELECT subquer.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37376) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT subquer.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:02.715044 [ 1121 ] {b21c9b3c-be4c-4897-a36f-49f03a5e1414} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'subquer.value_' in scope SELECT subquer.value_ FROM (SELECT 1 AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:03.816878 [ 1121 ] {8c8ad17d-7342-43e0-b4fc-959ab8d5b296} test_lo34fnoc.table_one (9316c461-dbab-49cd-8785-27bc80bd947d): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 100. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part'and 'min_bytes_for_wide_part' will be ignored. 2024.12.17 01:18:04.052635 [ 1121 ] {503cf488-ac01-474c-80b4-a00786c9c35e} test_lo34fnoc.table_one (b11ca4a4-1330-43e8-aa98-16a22139bcbf): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 100. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part'and 'min_bytes_for_wide_part' will be ignored. 2024.12.17 01:18:04.093331 [ 1121 ] {4731a8b1-0430-460f-80f2-9ea4d8d02d86} test_lo34fnoc.table_two (ef749720-859a-46df-b76d-58cf86d6ee1d): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 100. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part'and 'min_bytes_for_wide_part' will be ignored. 2024.12.17 01:18:04.541863 [ 1121 ] {18e1298a-f9cc-49bb-9d1d-4feac291d1e0} test_lo34fnoc.table_two (31089580-7015-4e22-b12a-288228a74815): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 100. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part'and 'min_bytes_for_wide_part' will be ignored. 2024.12.17 01:18:04.594818 [ 1120 ] {193d9d61-fa08-47b4-bd5f-27fb31c7404f} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37434) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT 1 AS value) SELECT value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:04.596677 [ 1120 ] {193d9d61-fa08-47b4-bd5f-27fb31c7404f} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:04.750036 [ 1121 ] {f0779e80-56a8-4645-a781-b8ba46f08e96} executeQuery: Code: 36. DB::Exception: Cannot replace partition '0' because part '0_1_1_0' has inconsistent granularity with table. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37402) (comment: 02422_insert_different_granularity.sql) (in query: ALTER TABLE table_two REPLACE PARTITION 0 FROM table_one;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x0000000013a3b9ac in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2029: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e37cb20 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5212: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deaccba in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:04.750746 [ 1121 ] {f0779e80-56a8-4645-a781-b8ba46f08e96} TCPHandler: Code: 36. DB::Exception: Cannot replace partition '0' because part '0_1_1_0' has inconsistent granularity with table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x0000000013a3b9ac in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2029: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e37cb20 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5212: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deaccba in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:06.505655 [ 1120 ] {01b7e6a0-c0b9-495c-bcf8-f065798d84e9} executeQuery: Code: 47. DB::Exception: Identifier 'cte_subquery.value_' cannot be resolved from subquery. In scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37496) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c9754a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93eb59 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:18:06.507526 [ 1120 ] {01b7e6a0-c0b9-495c-bcf8-f065798d84e9} TCPHandler: Code: 47. DB::Exception: Identifier 'cte_subquery.value_' cannot be resolved from subquery. In scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c9754a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93eb59 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:18:08.365126 [ 6043 ] {6f09dd3d-5d8e-46ce-a3bd-880b3416b940} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquer.value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquer.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37556) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquer.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:08.366975 [ 6043 ] {6f09dd3d-5d8e-46ce-a3bd-880b3416b940} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquer.value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquer.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:10.224830 [ 6046 ] {fd8f0e46-f0a1-4f73-a658-dfe4cc477234} executeQuery: Code: 47. DB::Exception: Identifier 'cte_subquery_alias.value_' cannot be resolved from subquery with name cte_subquery_alias. In scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alias.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37588) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alias.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c9754a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93eb59 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:18:10.227061 [ 6046 ] {fd8f0e46-f0a1-4f73-a658-dfe4cc477234} TCPHandler: Code: 47. DB::Exception: Identifier 'cte_subquery_alias.value_' cannot be resolved from subquery with name cte_subquery_alias. In scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alias.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c9754a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93eb59 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 17. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:18:11.090009 [ 6046 ] {70887faa-2ec1-44a2-b485-f154d27ccfd0} executeQuery: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46180) (comment: 02416_keeper_map.sql) (in query: CREATE TABLE 02416_test (key String, value UInt32) Engine=KeeperMap('/' || currentDatabase() || '/test2416');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:980: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x000000001d718d2b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:11.090817 [ 6046 ] {70887faa-2ec1-44a2-b485-f154d27ccfd0} TCPHandler: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:980: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x000000001d718d2b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:11.234587 [ 6046 ] {bb0efd9c-86b4-453e-8944-0c486e395fd5} executeQuery: Code: 47. DB::Exception: Missing columns: 'key2' while processing query: 'key2', required columns: 'key2' 'key2'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46180) (comment: 02416_keeper_map.sql) (in query: CREATE TABLE 02416_test (key String, value UInt32) Engine=KeeperMap('/' || currentDatabase() || '/test2416') PRIMARY KEY(key2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1355: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa1078 in /usr/bin/clickhouse 8. /build/src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001d5fb660 in /usr/bin/clickhouse 9. /build/src/Storages/KeyDescription.cpp:90: DB::KeyDescription::getKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001d5fbdba in /usr/bin/clickhouse 10. /build/src/Storages/StorageKeeperMap.cpp:982: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x000000001d718e89 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 17. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:11.235433 [ 6046 ] {bb0efd9c-86b4-453e-8944-0c486e395fd5} TCPHandler: Code: 47. DB::Exception: Missing columns: 'key2' while processing query: 'key2', required columns: 'key2' 'key2'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1355: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa1078 in /usr/bin/clickhouse 8. /build/src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001d5fb660 in /usr/bin/clickhouse 9. /build/src/Storages/KeyDescription.cpp:90: DB::KeyDescription::getKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001d5fbdba in /usr/bin/clickhouse 10. /build/src/Storages/StorageKeeperMap.cpp:982: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x000000001d718e89 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 17. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:11.370508 [ 6046 ] {3338db43-9492-4a8d-b38a-31901bcf2c89} executeQuery: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46180) (comment: 02416_keeper_map.sql) (in query: CREATE TABLE 02416_test (key String, value UInt32) Engine=KeeperMap('/' || currentDatabase() || '/test2416') PRIMARY KEY(key, value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:985: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x000000001d718f27 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:11.371462 [ 6046 ] {3338db43-9492-4a8d-b38a-31901bcf2c89} TCPHandler: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:985: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x000000001d718f27 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:11.384282 [ 6046 ] {3f652d6b-9bc8-42e4-b7d9-eb5b6f59514f} executeQuery: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46180) (comment: 02416_keeper_map.sql) (in query: CREATE TABLE 02416_test (key String, value UInt32) Engine=KeeperMap('/' || currentDatabase() || '/test2416') PRIMARY KEY(concat(key, value));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:985: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x000000001d718f27 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:11.385157 [ 6046 ] {3f652d6b-9bc8-42e4-b7d9-eb5b6f59514f} TCPHandler: Code: 36. DB::Exception: StorageKeeperMap requires one column in primary key. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Storages/StorageKeeperMap.cpp:985: DB::(anonymous namespace)::create(DB::StorageFactory::Arguments const&) @ 0x000000001d718f27 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:12.073841 [ 3551 ] {d12da770-310b-4637-ac7c-2c8a8a59b4ce} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquery_alia.value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alia.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46202) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alia.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:12.075701 [ 3551 ] {d12da770-310b-4637-ac7c-2c8a8a59b4ce} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquery_alia.value_' in scope WITH cte_subquery AS (SELECT 1 AS value) SELECT cte_subquery_alia.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:13.944691 [ 5531 ] {02421_truncate_isolation_with_mutations_test_w480beng_tx11_6760} executeQuery: Code: 650. DB::Exception: Serialization error: Transaction (32, 40, 68e13999-1f11-4966-ad08-ec0bdb66408d) tried to remove data part all_1_1_0 from test_w480beng.tt (83c263be-6aec-4325-abd2-de88420f8f48), but it's locked by another transaction (TID: (32, 41, 68e13999-1f11-4966-ad08-ec0bdb66408d), TIDH: 9544894194226367372) which is currently removing this part. (SERIALIZATION_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:42842) (in query: truncate table tt), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001cf94afa in /usr/bin/clickhouse 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x000000001cf9152f in /usr/bin/clickhouse 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001cc553af in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x000000001cc55227 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3962: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001de9a113 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:1748: DB::StorageMergeTree::truncate(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, DB::TableExclusiveLockHolder&) @ 0x000000001e373313 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDropQuery.cpp:221: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b5284 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b3694 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b2f0e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:13.945868 [ 5531 ] {02421_truncate_isolation_with_mutations_test_w480beng_tx11_6760} DynamicQueryHandler: Code: 650. DB::Exception: Serialization error: Transaction (32, 40, 68e13999-1f11-4966-ad08-ec0bdb66408d) tried to remove data part all_1_1_0 from test_w480beng.tt (83c263be-6aec-4325-abd2-de88420f8f48), but it's locked by another transaction (TID: (32, 41, 68e13999-1f11-4966-ad08-ec0bdb66408d), TIDH: 9544894194226367372) which is currently removing this part. (SERIALIZATION_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001cf94afa in /usr/bin/clickhouse 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x000000001cf9152f in /usr/bin/clickhouse 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001cc553af in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x000000001cc55227 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3962: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001de9a113 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:1748: DB::StorageMergeTree::truncate(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, DB::TableExclusiveLockHolder&) @ 0x000000001e373313 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDropQuery.cpp:221: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b5284 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b3694 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b2f0e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:18:14.053695 [ 1120 ] {967293d0-ae5e-46ca-b824-0d58ac65340b} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46258) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:14.055218 [ 1120 ] {967293d0-ae5e-46ca-b824-0d58ac65340b} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:15.418259 [ 2411 ] {f974d27f-879e-4aa6-8d4e-9dc80217ef8f} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_0ebfzdhg.t_json_async_insert FORMAT JSONAsObject' with query id e2090810-5e9f-466f-81af-bf6f685e7e02. DB::Exception: Cannot parse object: (at row 1) 2024.12.17 01:18:15.524807 [ 1121 ] {e2090810-5e9f-466f-81af-bf6f685e7e02} executeQuery: Code: 117. DB::Exception: Cannot parse object: (at row 1) : While executing WaitForAsyncInsert. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37578) (comment: 02421_type_json_async_insert.sh) (in query: INSERT INTO t_json_async_insert FORMAT JSONAsObject ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationObject.cpp:58: void DB::SerializationObject>::deserializeTextImpl>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)>(DB::IColumn&, DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)&&) const @ 0x000000001ba869b7 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationObject.cpp:123: DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba7bfb1 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:178: DB::JSONAsObjectRowInputFormat::readJSONObject(DB::IColumn&) @ 0x000000001e8975cb in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:0: DB::JSONAsRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e89619a in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 13. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:60: DB::StreamingFormatExecutor::execute() @ 0x000000001e6fbd01 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:44: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x000000001e6fb892 in /usr/bin/clickhouse 15. /build/src/Interpreters/AsynchronousInsertQueue.cpp:582: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x000000001bd7a59c in /usr/bin/clickhouse 16. /build/src/Interpreters/AsynchronousInsertQueue.cpp:202: DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0::operator()() @ 0x000000001bd7cd2a in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval>, std::shared_ptr)::$_0&>()()) std::__invoke[abi:v15000]>, std::shared_ptr)::$_0&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0&) @ 0x000000001bd7cc95 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call>, std::shared_ptr)::$_0&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0&) @ 0x000000001bd7cc75 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, std::shared_ptr)::$_0, void ()>::operator()[abi:v15000]() @ 0x000000001bd7cc55 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x000000001bd7cc20 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 2024.12.17 01:18:15.526488 [ 1121 ] {e2090810-5e9f-466f-81af-bf6f685e7e02} TCPHandler: Code: 117. DB::Exception: Cannot parse object: (at row 1) : While executing WaitForAsyncInsert. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationObject.cpp:58: void DB::SerializationObject>::deserializeTextImpl>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)>(DB::IColumn&, DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)&&) const @ 0x000000001ba869b7 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationObject.cpp:123: DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba7bfb1 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:178: DB::JSONAsObjectRowInputFormat::readJSONObject(DB::IColumn&) @ 0x000000001e8975cb in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:0: DB::JSONAsRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e89619a in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 13. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:60: DB::StreamingFormatExecutor::execute() @ 0x000000001e6fbd01 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:44: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x000000001e6fb892 in /usr/bin/clickhouse 15. /build/src/Interpreters/AsynchronousInsertQueue.cpp:582: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x000000001bd7a59c in /usr/bin/clickhouse 16. /build/src/Interpreters/AsynchronousInsertQueue.cpp:202: DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0::operator()() @ 0x000000001bd7cd2a in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval>, std::shared_ptr)::$_0&>()()) std::__invoke[abi:v15000]>, std::shared_ptr)::$_0&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0&) @ 0x000000001bd7cc95 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call>, std::shared_ptr)::$_0&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0&) @ 0x000000001bd7cc75 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, std::shared_ptr)::$_0, void ()>::operator()[abi:v15000]() @ 0x000000001bd7cc55 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x000000001bd7cc20 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 2024.12.17 01:18:16.020779 [ 3551 ] {84f6da26-7b7e-47fc-9a36-00b8f417db12} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46312) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:16.022277 [ 3551 ] {84f6da26-7b7e-47fc-9a36-00b8f417db12} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope SELECT 1 AS constant_value, constant_valu SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:18.226687 [ 6046 ] {d36a5354-48a7-46e7-864a-cda9e443940d} executeQuery: Code: 47. DB::Exception: Unknown expression or function identifier 'constant_valu' in scope lambda_argument -> (lambda_argument + constant_valu). Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46370) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT 1 AS constant_value, arrayMap(lambda_argument -> lambda_argument + constant_valu, [1, 2, 3]) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4734: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930ef8 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4494: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c937df5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5146: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c934eff in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:18.228416 [ 6046 ] {d36a5354-48a7-46e7-864a-cda9e443940d} TCPHandler: Code: 47. DB::Exception: Unknown expression or function identifier 'constant_valu' in scope lambda_argument -> (lambda_argument + constant_valu). Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4734: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930ef8 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4494: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c937df5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5146: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c934eff in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:20.256675 [ 6046 ] {ded45865-c75f-4bb4-9f37-7d096d14fd0d} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope (SELECT constant_valu). Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46424) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH 1 AS constant_value SELECT (SELECT constant_valu) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5583: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91ecdd in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 16. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:20.258440 [ 6046 ] {ded45865-c75f-4bb4-9f37-7d096d14fd0d} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu' in scope (SELECT constant_valu). Maybe you meant: ['constant_value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5583: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91ecdd in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 16. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:21.996470 [ 6043 ] {80fc9a88-8241-4bf4-8391-5c6d025473a3} executeQuery: Code: 43. DB::Exception: Illegal types of arguments: Map(String, UInt8), UInt8 for function arrayElement. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51778) (comment: 02407_array_element_from_map_wrong_type.sql) (in query: select m[0], materialize(map('key', 42)) as m;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayElement.cpp:1022: DB::FunctionArrayElement::executeMap(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001315e824 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayElement.cpp:1084: DB::FunctionArrayElement::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001315f3d2 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:21.997382 [ 6043 ] {80fc9a88-8241-4bf4-8391-5c6d025473a3} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments: Map(String, UInt8), UInt8 for function arrayElement. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayElement.cpp:1022: DB::FunctionArrayElement::executeMap(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001315e824 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayElement.cpp:1084: DB::FunctionArrayElement::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001315f3d2 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:23.452336 [ 5531 ] {02421_truncate_isolation_with_mutations_test_w480beng_tx22_23621} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_2.txt' with part 'all_1_1_0' reason: 'Serialization error: part all_1_1_0 is locked by transaction 2057157393018189717'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55346) (in query: alter table tt delete where n%2=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001e0d0524 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001e0d02d0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageMergeTree.cpp:580: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001e364538 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:550: DB::StorageMergeTree::waitForMutation(long, bool) @ 0x000000001e3620e8 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:619: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001e3657ce in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:179: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d487a in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:23.453386 [ 5531 ] {02421_truncate_isolation_with_mutations_test_w480beng_tx22_23621} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_2.txt' with part 'all_1_1_0' reason: 'Serialization error: part all_1_1_0 is locked by transaction 2057157393018189717'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001e0d0524 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeMutationStatus.cpp:26: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001e0d02d0 in /usr/bin/clickhouse 7. /build/src/Storages/StorageMergeTree.cpp:580: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001e364538 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:550: DB::StorageMergeTree::waitForMutation(long, bool) @ 0x000000001e3620e8 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:619: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001e3657ce in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:179: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d487a in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:18:24.331947 [ 6043 ] {0b674f99-ac8f-4852-95d9-491b151d11d2} executeQuery: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_v1gn09b2.test_table_compound. In scope SELECT value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51874) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93e055 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2979: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93ca83 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:24.333807 [ 6043 ] {0b674f99-ac8f-4852-95d9-491b151d11d2} TCPHandler: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_v1gn09b2.test_table_compound. In scope SELECT value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93e055 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2979: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93ca83 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:26.481548 [ 1121 ] {643b1e9b-c6f6-4128-80ab-65d344df4135} executeQuery: Code: 47. DB::Exception: Identifier test_table_compound.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_v1gn09b2.test_table_compound. In scope SELECT test_table_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51940) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93e055 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:26.483477 [ 1121 ] {643b1e9b-c6f6-4128-80ab-65d344df4135} TCPHandler: Code: 47. DB::Exception: Identifier test_table_compound.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_v1gn09b2.test_table_compound. In scope SELECT test_table_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93e055 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:28.433598 [ 1121 ] {424313fb-f416-4f03-bc58-4800b820c5fa} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl_compound.value.value_' in scope SELECT test_tabl_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51992) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_tabl_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:28.435108 [ 1121 ] {424313fb-f416-4f03-bc58-4800b820c5fa} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl_compound.value.value_' in scope SELECT test_tabl_compound.value.value_ FROM test_table_compound SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:30.295170 [ 6043 ] {bb4c303e-c666-4459-8427-3718b09d1c39} executeQuery: Code: 47. DB::Exception: Identifier test_table_compound.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_table_compound_alias. In scope SELECT test_table_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52074) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93e055 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:30.297267 [ 6043 ] {bb4c303e-c666-4459-8427-3718b09d1c39} TCPHandler: Code: 47. DB::Exception: Identifier test_table_compound.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_table_compound_alias. In scope SELECT test_table_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93e055 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:30.419589 [ 1435 ] {bc415409-f52f-4f63-be66-0a777ef1b058} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_0ebfzdhg.t_json_async_insert FORMAT JSONAsObject' with query id 83bc48b3-fae7-46b8-bb0c-bb9e6944b4b9. DB::Exception: Cannot parse object: (at row 1) 2024.12.17 01:18:30.422066 [ 1120 ] {83bc48b3-fae7-46b8-bb0c-bb9e6944b4b9} executeQuery: Code: 117. DB::Exception: Cannot parse object: (at row 1) : While executing WaitForAsyncInsert. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51772) (comment: 02421_type_json_async_insert.sh) (in query: INSERT INTO t_json_async_insert FORMAT JSONAsObject ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationObject.cpp:58: void DB::SerializationObject>::deserializeTextImpl>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)>(DB::IColumn&, DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)&&) const @ 0x000000001ba869b7 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationObject.cpp:123: DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba7bfb1 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:178: DB::JSONAsObjectRowInputFormat::readJSONObject(DB::IColumn&) @ 0x000000001e8975cb in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:0: DB::JSONAsRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e89619a in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 13. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:60: DB::StreamingFormatExecutor::execute() @ 0x000000001e6fbd01 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:44: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x000000001e6fb892 in /usr/bin/clickhouse 15. /build/src/Interpreters/AsynchronousInsertQueue.cpp:582: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x000000001bd7a59c in /usr/bin/clickhouse 16. /build/src/Interpreters/AsynchronousInsertQueue.cpp:202: DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0::operator()() @ 0x000000001bd7cd2a in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval>, std::shared_ptr)::$_0&>()()) std::__invoke[abi:v15000]>, std::shared_ptr)::$_0&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0&) @ 0x000000001bd7cc95 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call>, std::shared_ptr)::$_0&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0&) @ 0x000000001bd7cc75 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, std::shared_ptr)::$_0, void ()>::operator()[abi:v15000]() @ 0x000000001bd7cc55 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x000000001bd7cc20 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 2024.12.17 01:18:30.424349 [ 1120 ] {83bc48b3-fae7-46b8-bb0c-bb9e6944b4b9} TCPHandler: Code: 117. DB::Exception: Cannot parse object: (at row 1) : While executing WaitForAsyncInsert. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationObject.cpp:58: void DB::SerializationObject>::deserializeTextImpl>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)>(DB::IColumn&, DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const::'lambda'(String&)&&) const @ 0x000000001ba869b7 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationObject.cpp:123: DB::SerializationObject>::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba7bfb1 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:178: DB::JSONAsObjectRowInputFormat::readJSONObject(DB::IColumn&) @ 0x000000001e8975cb in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp:0: DB::JSONAsRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e89619a in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 13. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:60: DB::StreamingFormatExecutor::execute() @ 0x000000001e6fbd01 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/StreamingFormatExecutor.cpp:44: DB::StreamingFormatExecutor::execute(DB::ReadBuffer&) @ 0x000000001e6fb892 in /usr/bin/clickhouse 15. /build/src/Interpreters/AsynchronousInsertQueue.cpp:582: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x000000001bd7a59c in /usr/bin/clickhouse 16. /build/src/Interpreters/AsynchronousInsertQueue.cpp:202: DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0::operator()() @ 0x000000001bd7cd2a in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval>, std::shared_ptr)::$_0&>()()) std::__invoke[abi:v15000]>, std::shared_ptr)::$_0&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0&) @ 0x000000001bd7cc95 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call>, std::shared_ptr)::$_0&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0&) @ 0x000000001bd7cc75 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, std::shared_ptr)::$_0, void ()>::operator()[abi:v15000]() @ 0x000000001bd7cc55 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x000000001bd7cc20 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 2024.12.17 01:18:30.684155 [ 1121 ] {cd362656-fd3f-4c6b-a829-76f6b5d7b6b0} executeQuery: Code: 36. DB::Exception: Compound identifier 'lambda.nested' cannot be resolved as function. In scope WITH x -> (x + 1) AS lambda SELECT lambda.nested(1). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52058) (comment: 02385_analyzer_aliases_compound_expression.sql) (in query: WITH (x -> x + 1) AS lambda SELECT lambda.nested(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x000000001c9789e8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2657: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b564 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c9299df in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4562: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92f829 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:30.685019 [ 1121 ] {cd362656-fd3f-4c6b-a829-76f6b5d7b6b0} TCPHandler: Code: 36. DB::Exception: Compound identifier 'lambda.nested' cannot be resolved as function. In scope WITH x -> (x + 1) AS lambda SELECT lambda.nested(1). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x000000001c9789e8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2657: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b564 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c9299df in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4562: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92f829 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:30.912125 [ 1121 ] {466d6db8-564f-42ee-822a-215025fd1382} executeQuery: Code: 36. DB::Exception: Compound identifier 't1.nested' cannot be resolved as table expression. In scope SELECT * FROM (SELECT 1) AS t1, t1.nested AS t2. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52058) (comment: 02385_analyzer_aliases_compound_expression.sql) (in query: SELECT * FROM (SELECT 1) AS t1, t1.nested AS t2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x000000001c9789e8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2657: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b564 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c9299df in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5936: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c924749 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6962: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919212 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:31.040000 [ 3551 ] {fa7835d0-cdd6-483f-8457-3bc578d3aebd} executeQuery: Code: 44. DB::Exception: Illegal column Array(String) of argument of function concat. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52006) (comment: 02389_analyzer_nested_lambda.sql) (in query: SELECT arrayMap(x -> concat(toString(id), arrayMap(x -> toString(1), [NULL])), [NULL]) FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:148: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x000000000d9122dd in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:110: DB::(anonymous namespace)::ConcatImpl::executeBinary(std::vector> const&, unsigned long) const @ 0x000000000d911e51 in /usr/bin/clickhouse 8. /build/src/Functions/concat.cpp:81: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d91165f in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 19. /build/src/Planner/Planner.cpp:232: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001cb6cbfa in /usr/bin/clickhouse 20. /build/src/Planner/Planner.cpp:1339: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb6a25d in /usr/bin/clickhouse 21. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb67519 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6593d in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af152 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:31.040031 [ 1121 ] {466d6db8-564f-42ee-822a-215025fd1382} TCPHandler: Code: 36. DB::Exception: Compound identifier 't1.nested' cannot be resolved as table expression. In scope SELECT * FROM (SELECT 1) AS t1, t1.nested AS t2. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x000000001c9789e8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2657: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b564 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c9299df in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5936: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c924749 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6962: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919212 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:31.040907 [ 3551 ] {fa7835d0-cdd6-483f-8457-3bc578d3aebd} TCPHandler: Code: 44. DB::Exception: Illegal column Array(String) of argument of function concat. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:148: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x000000000d9122dd in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:110: DB::(anonymous namespace)::ConcatImpl::executeBinary(std::vector> const&, unsigned long) const @ 0x000000000d911e51 in /usr/bin/clickhouse 8. /build/src/Functions/concat.cpp:81: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d91165f in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 19. /build/src/Planner/Planner.cpp:232: DB::(anonymous namespace)::addExpressionStep(DB::QueryPlan&, std::shared_ptr const&, String const&, std::vector, std::allocator>>&) @ 0x000000001cb6cbfa in /usr/bin/clickhouse 20. /build/src/Planner/Planner.cpp:1339: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb6a25d in /usr/bin/clickhouse 21. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb67519 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6593d in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af152 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:31.049137 [ 1121 ] {754eaf7f-e7eb-4147-b6b2-73efcd19bca6} executeQuery: Code: 36. DB::Exception: Compound identifier 't1.nested' cannot be resolved as table expression. In scope SELECT * FROM t1.nested AS t2, (SELECT 1) AS t1. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52058) (comment: 02385_analyzer_aliases_compound_expression.sql) (in query: SELECT * FROM t1.nested AS t2, (SELECT 1) AS t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x000000001c9789e8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2657: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b564 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c9299df in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5936: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c924749 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6962: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919212 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:31.050112 [ 1121 ] {754eaf7f-e7eb-4147-b6b2-73efcd19bca6} TCPHandler: Code: 36. DB::Exception: Compound identifier 't1.nested' cannot be resolved as table expression. In scope SELECT * FROM t1.nested AS t2, (SELECT 1) AS t1. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, char const*&&, String&&) @ 0x000000001c9789e8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2657: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b564 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c9299df in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5936: DB::(anonymous namespace)::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c924749 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6962: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919212 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:32.175832 [ 3551 ] {cc1c0cbb-6885-41f1-a235-8e26a1587cf9} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl_compound.value.value_' in scope SELECT test_tabl_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50348) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_tabl_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:32.178385 [ 3551 ] {cc1c0cbb-6885-41f1-a235-8e26a1587cf9} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_tabl_compound.value.value_' in scope SELECT test_tabl_compound.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:34.109063 [ 2670 ] {d076f97f-d150-4b01-8224-b82c273ac424} executeQuery: Code: 47. DB::Exception: Identifier test_table_compound_alias.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_table_compound_alias. In scope SELECT test_table_compound_alias.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound_alias.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50412) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_compound_alias.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93e055 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:34.111118 [ 2670 ] {d076f97f-d150-4b01-8224-b82c273ac424} TCPHandler: Code: 47. DB::Exception: Identifier test_table_compound_alias.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from table with name test_table_compound_alias. In scope SELECT test_table_compound_alias.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound_alias.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93e055 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:35.936107 [ 6043 ] {c4d7cabf-a2c4-46e2-8768-d24a57b02cbe} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_table_compound_alia.value.value_' in scope SELECT test_table_compound_alia.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound_alias.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50478) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_compound_alia.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:35.938095 [ 6043 ] {c4d7cabf-a2c4-46e2-8768-d24a57b02cbe} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_table_compound_alia.value.value_' in scope SELECT test_table_compound_alia.value.value_ FROM test_table_compound AS test_table_compound_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_compound_alias.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:36.052277 [ 1120 ] {e3657a08-eff4-4ee6-b811-0dc6f735bf60} executeQuery: Code: 36. DB::Exception: JOIN test_co26kyny.test_table_join_1 AS t1 ALL INNER JOIN test_co26kyny.test_table_join_2 AS t2 USING (id, id, id) identifier 'id' appears more than once in USING clause. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50462) (comment: 02382_analyzer_matcher_join_using.sql) (in query: SELECT * FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 USING (id, id, id) ORDER BY id, t1.value;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6649: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944dbd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:36.053200 [ 1120 ] {e3657a08-eff4-4ee6-b811-0dc6f735bf60} TCPHandler: Code: 36. DB::Exception: JOIN test_co26kyny.test_table_join_1 AS t1 ALL INNER JOIN test_co26kyny.test_table_join_2 AS t2 USING (id, id, id) identifier 'id' appears more than once in USING clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6649: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944dbd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:36.398326 [ 1121 ] {ece96f61-ae00-440e-aaa7-afcdee428e49} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50480) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:36.399390 [ 1121 ] {ece96f61-ae00-440e-aaa7-afcdee428e49} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:37.780836 [ 6043 ] {84edb2c1-3276-4e94-9d3f-103a1ba7e0f0} executeQuery: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope SELECT value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50512) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT value.value_ FROM (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93e055 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2979: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93ca83 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:37.783017 [ 6043 ] {84edb2c1-3276-4e94-9d3f-103a1ba7e0f0} TCPHandler: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope SELECT value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93e055 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2979: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93ca83 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:39.630868 [ 6043 ] {fd009206-725a-452a-a147-df9c958ecdc0} executeQuery: Code: 47. DB::Exception: Identifier subquery.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery with name subquery. In scope SELECT subquery.value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50582) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT subquery.value.value_ FROM (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93e055 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:39.632999 [ 6043 ] {fd009206-725a-452a-a147-df9c958ecdc0} TCPHandler: Code: 47. DB::Exception: Identifier subquery.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery with name subquery. In scope SELECT subquery.value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93e055 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:41.611273 [ 6043 ] {ad41edc4-b0c4-41ff-b496-9054d91461b7} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'subquer.value.value_' in scope SELECT subquer.value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45656) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT subquer.value.value_ FROM (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:41.613092 [ 6043 ] {ad41edc4-b0c4-41ff-b496-9054d91461b7} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'subquer.value.value_' in scope SELECT subquer.value.value_ FROM (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) AS subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['subquery.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:43.482226 [ 2670 ] {5d962bd3-1338-455b-87b9-6583be85f327} executeQuery: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45726) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SELECT value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93e055 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2979: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93ca83 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:43.484446 [ 2670 ] {5d962bd3-1338-455b-87b9-6583be85f327} TCPHandler: Code: 47. DB::Exception: Identifier value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93e055 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2979: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93ca83 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:45.407086 [ 2670 ] {2b133136-2a0c-40f5-8521-33a5c9514e84} executeQuery: Code: 47. DB::Exception: Identifier cte_subquery.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45802) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93e055 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:45.409234 [ 2670 ] {2b133136-2a0c-40f5-8521-33a5c9514e84} TCPHandler: Code: 47. DB::Exception: Identifier cte_subquery.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93e055 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:47.388276 [ 1120 ] {688996e3-6873-43fa-8af6-356b89879b41} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquer.value.value_' in scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquer.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45868) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquer.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:47.390495 [ 1120 ] {688996e3-6873-43fa-8af6-356b89879b41} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquer.value.value_' in scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquer.value.value_ FROM cte_subquery SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:47.617812 [ 2921 ] {d8727776-8aaa-4975-a88a-8a6941b95fae} executeQuery: Code: 47. DB::Exception: Missing columns: 'Price' while processing query: 'SELECT Price FROM (SELECT * FROM test_qwkgwccx.test_02428_Catalog WHERE Price = {price:UInt64}) AS test_02428_pv1', required columns: 'Price'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45898) (comment: 02428_parameterized_view.sh) (in query: SELECT Price FROM test_02428_pv1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:47.619852 [ 2921 ] {d8727776-8aaa-4975-a88a-8a6941b95fae} TCPHandler: Code: 47. DB::Exception: Missing columns: 'Price' while processing query: 'SELECT Price FROM (SELECT * FROM test_qwkgwccx.test_02428_Catalog WHERE Price = {price:UInt64}) AS test_02428_pv1', required columns: 'Price'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:49.284944 [ 3551 ] {20d7c790-d50e-403c-b694-8f4b767fc3c2} executeQuery: Code: 47. DB::Exception: Identifier cte_subquery_alias.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery with name cte_subquery_alias. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alias.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45942) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alias.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93e055 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:49.286966 [ 3551 ] {20d7c790-d50e-403c-b694-8f4b767fc3c2} TCPHandler: Code: 47. DB::Exception: Identifier cte_subquery_alias.value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String) from subquery with name cte_subquery_alias. In scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alias.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2863: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93e055 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 18. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:18:51.150804 [ 3551 ] {9c8a31dc-a457-4922-9fc9-c0480eaf3cc0} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquery_alia.value.value_' in scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alia.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37200) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cte_subquery AS (SELECT cast(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alia.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:51.152987 [ 3551 ] {9c8a31dc-a457-4922-9fc9-c0480eaf3cc0} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'cte_subquery_alia.value.value_' in scope WITH cte_subquery AS (SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS value) SELECT cte_subquery_alia.value.value_ FROM cte_subquery AS cte_subquery_alias SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['cte_subquery_alias.value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:51.436239 [ 6043 ] {9cb670cb-4e9b-4dcf-aaee-d4591dd49843} executeQuery: Code: 117. DB::Exception: Index 2 in Dictionary column is out of bounds, dictionary size is 2: While executing ArrowBlockInputFormat: While executing File. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37204) (comment: 02383_arrow_dict_special_cases.sh) (in query: select * from file('/var/lib/clickhouse/user_files/test-02383-24363-1876/corrupted.arrow')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&&, unsigned long&&) @ 0x000000001e745dac in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:495: DB::ColumnWithTypeAndName DB::readColumnWithIndexesDataImpl>(std::shared_ptr&, String const&, long, char8_t, bool) @ 0x000000001e73a702 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:580: DB::readColumnWithIndexesData(std::shared_ptr&, long, unsigned long, bool) @ 0x000000001e736403 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:944: DB::readColumnFromArrowColumn(std::shared_ptr&, String const&, String const&, bool, std::unordered_map, std::equal_to, std::allocator>>&, bool, bool, bool&, std::shared_ptr, bool) @ 0x000000001e72d350 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:1148: DB::ArrowColumnToCHColumn::arrowColumnsToCHChunk(DB::Chunk&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, unsigned long, DB::BlockMissingValues*) @ 0x000000001e72ed09 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:1074: DB::ArrowColumnToCHColumn::arrowTableToCHChunk(DB::Chunk&, std::shared_ptr&, unsigned long, DB::BlockMissingValues*) @ 0x000000001e72def1 in /usr/bin/clickhouse 11. /build/src/Processors/Formats/Impl/ArrowBlockInputFormat.cpp:89: DB::ArrowBlockInputFormat::generate() @ 0x000000001e707290 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 13. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 19. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 20. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 21. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 2024.12.17 01:18:51.439729 [ 6043 ] {9cb670cb-4e9b-4dcf-aaee-d4591dd49843} TCPHandler: Code: 117. DB::Exception: Index 2 in Dictionary column is out of bounds, dictionary size is 2: While executing ArrowBlockInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&&, unsigned long&&) @ 0x000000001e745dac in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:495: DB::ColumnWithTypeAndName DB::readColumnWithIndexesDataImpl>(std::shared_ptr&, String const&, long, char8_t, bool) @ 0x000000001e73a702 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:580: DB::readColumnWithIndexesData(std::shared_ptr&, long, unsigned long, bool) @ 0x000000001e736403 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:944: DB::readColumnFromArrowColumn(std::shared_ptr&, String const&, String const&, bool, std::unordered_map, std::equal_to, std::allocator>>&, bool, bool, bool&, std::shared_ptr, bool) @ 0x000000001e72d350 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:1148: DB::ArrowColumnToCHColumn::arrowColumnsToCHChunk(DB::Chunk&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, unsigned long, DB::BlockMissingValues*) @ 0x000000001e72ed09 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp:1074: DB::ArrowColumnToCHColumn::arrowTableToCHChunk(DB::Chunk&, std::shared_ptr&, unsigned long, DB::BlockMissingValues*) @ 0x000000001e72def1 in /usr/bin/clickhouse 11. /build/src/Processors/Formats/Impl/ArrowBlockInputFormat.cpp:89: DB::ArrowBlockInputFormat::generate() @ 0x000000001e707290 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 13. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 19. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 20. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 21. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 2024.12.17 01:18:53.219651 [ 6043 ] {dc748116-a9c3-4cef-adb7-c59af04b2f82} executeQuery: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_value.value_ SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37256) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT cast(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_value.value_ SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b3bc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c9299df in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:53.221295 [ 6043 ] {dc748116-a9c3-4cef-adb7-c59af04b2f82} TCPHandler: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_value.value_ SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b3bc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c9299df in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:53.362511 [ 5531 ] {02421_truncate_isolation_with_mutations_test_w480beng_tx43_5040} executeQuery: Code: 650. DB::Exception: Serialization error: Transaction (36, 41, 68e13999-1f11-4966-ad08-ec0bdb66408d) tried to remove data part all_1_1_0 from test_w480beng.tt (3a501b9a-7297-4a65-a047-8d0ead80b4ea), but it's locked by another transaction (TID: (36, 38, 68e13999-1f11-4966-ad08-ec0bdb66408d), TIDH: 14976297635499609267) which is currently removing this part. (SERIALIZATION_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:59902) (in query: alter table tt drop partition id 'all'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001cf94afa in /usr/bin/clickhouse 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x000000001cf9152f in /usr/bin/clickhouse 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001cc553af in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x000000001cc55227 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3962: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001de9a113 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:1873: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e379307 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:5144: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac02a in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:53.363573 [ 5531 ] {02421_truncate_isolation_with_mutations_test_w480beng_tx43_5040} DynamicQueryHandler: Code: 650. DB::Exception: Serialization error: Transaction (36, 41, 68e13999-1f11-4966-ad08-ec0bdb66408d) tried to remove data part all_1_1_0 from test_w480beng.tt (3a501b9a-7297-4a65-a047-8d0ead80b4ea), but it's locked by another transaction (TID: (36, 38, 68e13999-1f11-4966-ad08-ec0bdb66408d), TIDH: 14976297635499609267) which is currently removing this part. (SERIALIZATION_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001cf94afa in /usr/bin/clickhouse 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x000000001cf9152f in /usr/bin/clickhouse 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001cc553af in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x000000001cc55227 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3962: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001de9a113 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:1873: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e379307 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:5144: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac02a in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:18:53.507908 [ 5531 ] {02421_truncate_isolation_with_mutations_test_w480beng_tx43_21492} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:59920) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000cead0de in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:56: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x000000001cbf6835 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:29: DB::InterpreterTransactionControlQuery::execute() @ 0x000000001cbf63ad in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:53.508795 [ 5531 ] {02421_truncate_isolation_with_mutations_test_w480beng_tx43_21492} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000cead0de in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:56: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x000000001cbf6835 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterTransactionControlQuery.cpp:29: DB::InterpreterTransactionControlQuery::execute() @ 0x000000001cbf63ad in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:18:53.661812 [ 1009 ] {d2eacd6f-abd9-4ae3-8710-3594ac2ae927} executeQuery: Code: 60. DB::Exception: Table test_m1w45koo.ddl_test_for_opentelemetry_non_exist does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 02423_ddl_for_opentelemetry.sh) (in query: /* ddl_entry=query-0000000002 */ DROP TABLE test_m1w45koo.ddl_test_for_opentelemetry_non_exist), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:940: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4b18 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:121: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b4001 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b3694 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b2f0e in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 14. /build/src/Interpreters/DDLWorker.cpp:483: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001bec6164 in /usr/bin/clickhouse 15. /build/src/Interpreters/DDLWorker.cpp:646: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001bec4eeb in /usr/bin/clickhouse 16. /build/src/Interpreters/DDLWorker.cpp:426: DB::DDLWorker::scheduleTasks(bool) @ 0x000000001bec30c6 in /usr/bin/clickhouse 17. /build/src/Interpreters/DDLWorker.cpp:1126: DB::DDLWorker::runMainThread() @ 0x000000001bebb1a6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed6849 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed67cd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed671d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed6635 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed6595 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed6575 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed6555 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed6520 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 2024.12.17 01:18:53.663174 [ 1009 ] {d2eacd6f-abd9-4ae3-8710-3594ac2ae927} DDLWorker: Query /* ddl_entry=query-0000000002 */ DROP TABLE test_m1w45koo.ddl_test_for_opentelemetry_non_exist wasn't finished successfully: Code: 60. DB::Exception: Table test_m1w45koo.ddl_test_for_opentelemetry_non_exist does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:940: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4b18 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:121: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b4001 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b3694 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b2f0e in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 14. /build/src/Interpreters/DDLWorker.cpp:483: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001bec6164 in /usr/bin/clickhouse 15. /build/src/Interpreters/DDLWorker.cpp:646: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x000000001bec4eeb in /usr/bin/clickhouse 16. /build/src/Interpreters/DDLWorker.cpp:426: DB::DDLWorker::scheduleTasks(bool) @ 0x000000001bec30c6 in /usr/bin/clickhouse 17. /build/src/Interpreters/DDLWorker.cpp:1126: DB::DDLWorker::runMainThread() @ 0x000000001bebb1a6 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed6849 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed67cd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed671d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed6635 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed6595 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed6575 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed6555 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed6520 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:18:53.902550 [ 3551 ] {7b729d09-7313-4b76-9195-3b52a1e0aee1} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_m1w45koo.ddl_test_for_opentelemetry_non_exist does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37280) (comment: 02423_ddl_for_opentelemetry.sh) (in query: DROP TABLE test_m1w45koo.ddl_test_for_opentelemetry_non_exist ON CLUSTER test_shard_localhost), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000001d09cf28 in /usr/bin/clickhouse 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:503: DB::DDLQueryStatusSource::generate() @ 0x000000001d098e90 in /usr/bin/clickhouse 7. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 8. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cd6bd in /usr/bin/clickhouse 16. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6cd54a in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cd4f5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cd4d9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6cd43d in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6cd347 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6cd2b5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&) @ 0x000000001e6cd295 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6cd275 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6cd240 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 2024.12.17 01:18:53.904506 [ 3551 ] {7b729d09-7313-4b76-9195-3b52a1e0aee1} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Table test_m1w45koo.ddl_test_for_opentelemetry_non_exist does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x000000001d09cf28 in /usr/bin/clickhouse 6. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:503: DB::DDLQueryStatusSource::generate() @ 0x000000001d098e90 in /usr/bin/clickhouse 7. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 8. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cd6bd in /usr/bin/clickhouse 16. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6cd54a in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cd4f5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cd4d9 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6cd43d in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6cd347 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6cd2b5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&) @ 0x000000001e6cd295 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6cd275 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6cd240 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 2024.12.17 01:18:55.085499 [ 2921 ] {437dd611-a0b4-485d-b5ab-4b423090dd5a} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu.value_' in scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_valu.value_ SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37328) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT cast(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_valu.value_ SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:55.086998 [ 2921 ] {437dd611-a0b4-485d-b5ab-4b423090dd5a} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'constant_valu.value_' in scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, constant_valu.value_ SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001c984c9a in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5484: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e3a5 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 12. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:57.105819 [ 2921 ] {8c15905a-2e26-44a2-90af-300be9fee1f4} executeQuery: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, arrayMap(lambda_argument -> (lambda_argument + constant_value.value_), [1, 2, 3]) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37382) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT cast(tuple(1), 'Tuple(value_1 String)') AS constant_value, arrayMap(lambda_argument -> lambda_argument + constant_value.value_, [1, 2, 3]) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b3bc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c9299df in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3376: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92b755 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3566: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929c61 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4734: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930ef8 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4494: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c937df5 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5146: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c934eff in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 23. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:18:57.107961 [ 2921 ] {8c15905a-2e26-44a2-90af-300be9fee1f4} TCPHandler: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope SELECT CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value, arrayMap(lambda_argument -> (lambda_argument + constant_value.value_), [1, 2, 3]) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b3bc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c9299df in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3376: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92b755 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3566: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929c61 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4734: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c930ef8 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4494: DB::(anonymous namespace)::QueryAnalyzer::resolveLambda(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c937df5 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5146: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c934eff in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 21. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 22. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 23. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:18:57.228958 [ 2670 ] {3a8ef58a-79a9-4677-82a7-0d0fda6a1fb8} executeQuery: Code: 179. DB::Exception: ARRAY JOIN expression [1, 2, 3] AS value with duplicate alias value. In scope SELECT 1 AS value FROM test_table ARRAY JOIN [1, 2, 3] AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37360) (comment: 02374_analyzer_array_join.sql) (in query: SELECT 1 AS value FROM test_table ARRAY JOIN [1,2,3] AS value;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000001c958ee8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6510: DB::(anonymous namespace)::QueryAnalyzer::resolveArrayJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9442ed in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6735: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92587d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:57.229783 [ 2670 ] {3a8ef58a-79a9-4677-82a7-0d0fda6a1fb8} TCPHandler: Code: 179. DB::Exception: ARRAY JOIN expression [1, 2, 3] AS value with duplicate alias value. In scope SELECT 1 AS value FROM test_table ARRAY JOIN [1, 2, 3] AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000001c958ee8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6510: DB::(anonymous namespace)::QueryAnalyzer::resolveArrayJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9442ed in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6735: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92587d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:57.530687 [ 2670 ] {86140c0b-06c4-4ee2-bbfa-4fd04f87e696} executeQuery: Code: 179. DB::Exception: ARRAY JOIN expression value_array AS value with duplicate alias value. In scope SELECT id AS value FROM test_table ARRAY JOIN value_array AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37360) (comment: 02374_analyzer_array_join.sql) (in query: SELECT id AS value FROM test_table ARRAY JOIN value_array AS value;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000001c958ee8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6510: DB::(anonymous namespace)::QueryAnalyzer::resolveArrayJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9442ed in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6735: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92587d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:57.531401 [ 2670 ] {86140c0b-06c4-4ee2-bbfa-4fd04f87e696} TCPHandler: Code: 179. DB::Exception: ARRAY JOIN expression value_array AS value with duplicate alias value. In scope SELECT id AS value FROM test_table ARRAY JOIN value_array AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&, String&&) @ 0x000000001c958ee8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6510: DB::(anonymous namespace)::QueryAnalyzer::resolveArrayJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c9442ed in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6735: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92587d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:58.274626 [ 6043 ] {595bbf4d-e2ea-4919-b9f1-a069888cc08e} executeQuery: Code: 47. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL INNER JOIN test_7yyvvljs.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37406) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 USING (test_value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6659: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944fdd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:58.275537 [ 6043 ] {595bbf4d-e2ea-4919-b9f1-a069888cc08e} TCPHandler: Code: 47. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL INNER JOIN test_7yyvvljs.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6659: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944fdd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:58.623723 [ 2670 ] {1c131322-0a66-4cdf-9311-69755864789e} executeQuery: Code: 48. DB::Exception: Method write is not supported by storage View. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37412) (comment: 02428_parameterized_view.sh) (in query: INSERT INTO test_02428_pv1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/IStorage.h:420: DB::IStorage::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001a9f8870 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:58.623871 [ 6043 ] {acdbdeac-277d-450e-8740-d5a1bf7f9d7b} executeQuery: Code: 47. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL LEFT JOIN test_7yyvvljs.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37406) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 USING (test_value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6659: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944fdd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:58.624963 [ 6043 ] {acdbdeac-277d-450e-8740-d5a1bf7f9d7b} TCPHandler: Code: 47. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL LEFT JOIN test_7yyvvljs.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6659: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944fdd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:58.625199 [ 2670 ] {1c131322-0a66-4cdf-9311-69755864789e} TCPHandler: Code: 48. DB::Exception: Method write is not supported by storage View. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/IStorage.h:420: DB::IStorage::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001a9f8870 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:58.968231 [ 6043 ] {efe95451-4b1e-48be-9fe9-39bf9f2a2c55} executeQuery: Code: 47. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL RIGHT JOIN test_7yyvvljs.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37406) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 USING (test_value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6659: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944fdd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:58.969079 [ 6043 ] {efe95451-4b1e-48be-9fe9-39bf9f2a2c55} TCPHandler: Code: 47. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL RIGHT JOIN test_7yyvvljs.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6659: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944fdd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:59.215775 [ 1121 ] {285bd59f-3ae6-4fa6-8d03-1c95d7a05cd2} executeQuery: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope WITH CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value SELECT (SELECT constant_value.value_) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37432) (comment: 02476_analyzer_identifier_hints.sh) (in query: WITH cast(tuple(1), 'Tuple(value_1 String)') AS constant_value SELECT (SELECT constant_value.value_) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b3bc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c9299df in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3401: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92b91e in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3566: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929c61 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5583: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91ecdd in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 21. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 01:18:59.217958 [ 1121 ] {285bd59f-3ae6-4fa6-8d03-1c95d7a05cd2} TCPHandler: Code: 47. DB::Exception: Identifier constant_value.value_ nested path value_ cannot be resolved from type Tuple(value_1 String). In scope WITH CAST(tuple(1), 'Tuple(value_1 String)') AS constant_value SELECT (SELECT constant_value.value_) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['constant_value.value_1']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b3bc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c9299df in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3401: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierInParentScopes(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92b91e in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3566: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929c61 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5583: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91ecdd in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 19. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 20. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 21. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 01:18:59.297121 [ 6043 ] {b6f1a4d8-ea8d-435a-881c-e58c5134c5f9} executeQuery: Code: 47. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_7yyvvljs.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37406) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 FULL JOIN test_table_join_2 AS t2 USING (test_value);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6659: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944fdd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:59.297976 [ 6043 ] {b6f1a4d8-ea8d-435a-881c-e58c5134c5f9} TCPHandler: Code: 47. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_7yyvvljs.test_table_join_2 AS t2 USING (test_value) using identifier 'test_value' cannot be resolved from left table expression. In scope SELECT t1.value AS t1_value, toTypeName(t1_value), t2.value AS t2_value, toTypeName(t2_value) FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 USING (test_value). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6659: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944fdd in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 11. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:59.850081 [ 6043 ] {7c014f68-a8c8-4770-ac2e-3b414cfebaf1} executeQuery: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL INNER JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37406) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:18:59.851082 [ 6043 ] {7c014f68-a8c8-4770-ac2e-3b414cfebaf1} TCPHandler: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL INNER JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:00.166758 [ 3551 ] {73acbf1d-fa6e-443a-b8bb-fcd20b8faee9} executeQuery: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type UInt8. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37448) (comment: 02370_analyzer_in_function.sql) (in query: SELECT (1, 2) IN 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:171: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001c9a0733 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5223: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9359f3 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:00.167533 [ 3551 ] {73acbf1d-fa6e-443a-b8bb-fcd20b8faee9} TCPHandler: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type UInt8. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:171: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001c9a0733 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5223: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9359f3 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:00.324705 [ 3551 ] {c2f45b39-9ad9-48ff-8299-2844ebefb03b} executeQuery: Code: 124. DB::Exception: Invalid type in set. Expected tuple, got Array. (INCORRECT_ELEMENT_OF_SET) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37448) (comment: 02370_analyzer_in_function.sql) (in query: SELECT (1, 2) IN [1];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x000000000b66ddb3 in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:85: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x000000001c9a0d62 in /usr/bin/clickhouse 7. /build/src/Analyzer/SetUtils.cpp:152: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001c9a02d4 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5223: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9359f3 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:00.324802 [ 6043 ] {2a947b45-7610-4243-8637-a6d41bb3798d} executeQuery: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL INNER JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37406) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:00.325566 [ 3551 ] {c2f45b39-9ad9-48ff-8299-2844ebefb03b} TCPHandler: Code: 124. DB::Exception: Invalid type in set. Expected tuple, got Array. (INCORRECT_ELEMENT_OF_SET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x000000000b66ddb3 in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:85: DB::Block DB::(anonymous namespace)::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x000000001c9a0d62 in /usr/bin/clickhouse 7. /build/src/Analyzer/SetUtils.cpp:152: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001c9a02d4 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5223: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9359f3 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:00.326097 [ 6043 ] {2a947b45-7610-4243-8637-a6d41bb3798d} TCPHandler: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL INNER JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:00.334197 [ 3551 ] {708b26d4-12a4-45c9-be58-bdb9cfb9e2a1} executeQuery: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type Tuple(Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8)), Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8))). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37448) (comment: 02370_analyzer_in_function.sql) (in query: SELECT (1, 2) IN (((1, 2), (1, 2)), ((1, 2), (1, 2)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:171: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001c9a0733 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5223: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9359f3 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:00.334879 [ 3551 ] {708b26d4-12a4-45c9-be58-bdb9cfb9e2a1} TCPHandler: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type Tuple(Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8)), Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8))). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:171: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001c9a0733 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5223: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9359f3 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:00.343196 [ 3551 ] {8b15e09c-3f7b-4853-be36-a579b4fa8a6b} executeQuery: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type Array(Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8))). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37448) (comment: 02370_analyzer_in_function.sql) (in query: SELECT (1, 2) IN [((1, 2), (1, 2)), ((1, 2), (1, 2))];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:171: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001c9a0733 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5223: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9359f3 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:00.343891 [ 3551 ] {8b15e09c-3f7b-4853-be36-a579b4fa8a6b} TCPHandler: Code: 43. DB::Exception: Unsupported types for IN. First argument type Tuple(UInt8, UInt8). Second argument type Array(Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8))). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Analyzer/SetUtils.cpp:171: DB::getSetElementsForConstantValue(std::shared_ptr const&, DB::Field const&, std::shared_ptr const&, bool) @ 0x000000001c9a0733 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5223: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9359f3 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5551: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e976 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 14. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:00.618648 [ 3551 ] {9b77090f-0e7c-4bc4-be6d-1aa56202b0ae} executeQuery: Code: 46. DB::Exception: Unknown table function pv123: or incorrect parameterized view. (UNKNOWN_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35260) (comment: 02428_parameterized_view.sh) (in query: SELECT Price FROM pv123(price=20)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac137f8 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:00.620342 [ 3551 ] {9b77090f-0e7c-4bc4-be6d-1aa56202b0ae} TCPHandler: Code: 46. DB::Exception: Unknown table function pv123: or incorrect parameterized view. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac137f8 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:00.859443 [ 6043 ] {17405f6f-eff9-4005-a3c0-2dce4f1386fb} executeQuery: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL INNER JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37406) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:00.860533 [ 6043 ] {17405f6f-eff9-4005-a3c0-2dce4f1386fb} TCPHandler: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL INNER JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:01.331970 [ 6043 ] {de04438b-790c-4903-82e5-c4eb95d9bdcd} executeQuery: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL INNER JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37406) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:01.332795 [ 6043 ] {de04438b-790c-4903-82e5-c4eb95d9bdcd} TCPHandler: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL INNER JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:01.539346 [ 2921 ] {d5e26d47-872b-490a-9cff-7d83a2b2368c} executeQuery: Code: 36. DB::Exception: Expression in arrayJoin cannot depend on lambda argument: x . (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35282) (comment: 02369_analyzer_array_join_function.sql) (in query: SELECT arrayMap(x -> arrayJoin(x), [[1, 2, 3]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerActionsVisitor.cpp:800: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001bd023b6 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerActionsVisitor.cpp:497: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001bd01269 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerActionsVisitor.cpp:576: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitLambda(std::shared_ptr const&) @ 0x000000001bd0422e in /usr/bin/clickhouse 9. /build/src/Planner/PlannerActionsVisitor.cpp:780: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001bd02012 in /usr/bin/clickhouse 10. /build/src/Planner/PlannerActionsVisitor.cpp:497: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001bd01269 in /usr/bin/clickhouse 11. /build/src/Planner/PlannerActionsVisitor.cpp:475: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visit(std::shared_ptr) @ 0x000000001bcfd248 in /usr/bin/clickhouse 12. /build/src/Planner/PlannerActionsVisitor.cpp:831: DB::PlannerActionsVisitor::visit(std::shared_ptr, std::shared_ptr) @ 0x000000001bcfcfaf in /usr/bin/clickhouse 13. /build/src/Planner/Utils.cpp:211: DB::buildActionsDAGFromExpressionNode(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&) @ 0x000000001cb7d605 in /usr/bin/clickhouse 14. /build/src/Planner/PlannerExpressionAnalysis.cpp:349: DB::(anonymous namespace)::analyzeProjection(DB::QueryNode const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001cbb1ba9 in /usr/bin/clickhouse 15. /build/src/Planner/PlannerExpressionAnalysis.cpp:549: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001cbae51b in /usr/bin/clickhouse 16. /build/src/Planner/Planner.cpp:1272: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb69bf1 in /usr/bin/clickhouse 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb67519 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6593d in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af152 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:01.540129 [ 2921 ] {d5e26d47-872b-490a-9cff-7d83a2b2368c} TCPHandler: Code: 36. DB::Exception: Expression in arrayJoin cannot depend on lambda argument: x . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerActionsVisitor.cpp:800: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001bd023b6 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerActionsVisitor.cpp:497: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001bd01269 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerActionsVisitor.cpp:576: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitLambda(std::shared_ptr const&) @ 0x000000001bd0422e in /usr/bin/clickhouse 9. /build/src/Planner/PlannerActionsVisitor.cpp:780: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001bd02012 in /usr/bin/clickhouse 10. /build/src/Planner/PlannerActionsVisitor.cpp:497: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001bd01269 in /usr/bin/clickhouse 11. /build/src/Planner/PlannerActionsVisitor.cpp:475: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visit(std::shared_ptr) @ 0x000000001bcfd248 in /usr/bin/clickhouse 12. /build/src/Planner/PlannerActionsVisitor.cpp:831: DB::PlannerActionsVisitor::visit(std::shared_ptr, std::shared_ptr) @ 0x000000001bcfcfaf in /usr/bin/clickhouse 13. /build/src/Planner/Utils.cpp:211: DB::buildActionsDAGFromExpressionNode(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&) @ 0x000000001cb7d605 in /usr/bin/clickhouse 14. /build/src/Planner/PlannerExpressionAnalysis.cpp:349: DB::(anonymous namespace)::analyzeProjection(DB::QueryNode const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001cbb1ba9 in /usr/bin/clickhouse 15. /build/src/Planner/PlannerExpressionAnalysis.cpp:549: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001cbae51b in /usr/bin/clickhouse 16. /build/src/Planner/Planner.cpp:1272: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb69bf1 in /usr/bin/clickhouse 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb67519 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6593d in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af152 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:01.557135 [ 2921 ] {8a8de82e-aabb-4bca-868a-796ce15e7a8a} executeQuery: Code: 36. DB::Exception: Expression in arrayJoin cannot depend on lambda argument: CAST(x, 'Array(UInt8)'_String) . (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35282) (comment: 02369_analyzer_array_join_function.sql) (in query: SELECT arrayMap(x -> arrayJoin(cast(x, 'Array(UInt8)')), [[1, 2, 3]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerActionsVisitor.cpp:800: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001bd023b6 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerActionsVisitor.cpp:497: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001bd01269 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerActionsVisitor.cpp:576: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitLambda(std::shared_ptr const&) @ 0x000000001bd0422e in /usr/bin/clickhouse 9. /build/src/Planner/PlannerActionsVisitor.cpp:780: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001bd02012 in /usr/bin/clickhouse 10. /build/src/Planner/PlannerActionsVisitor.cpp:497: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001bd01269 in /usr/bin/clickhouse 11. /build/src/Planner/PlannerActionsVisitor.cpp:475: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visit(std::shared_ptr) @ 0x000000001bcfd248 in /usr/bin/clickhouse 12. /build/src/Planner/PlannerActionsVisitor.cpp:831: DB::PlannerActionsVisitor::visit(std::shared_ptr, std::shared_ptr) @ 0x000000001bcfcfaf in /usr/bin/clickhouse 13. /build/src/Planner/Utils.cpp:211: DB::buildActionsDAGFromExpressionNode(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&) @ 0x000000001cb7d605 in /usr/bin/clickhouse 14. /build/src/Planner/PlannerExpressionAnalysis.cpp:349: DB::(anonymous namespace)::analyzeProjection(DB::QueryNode const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001cbb1ba9 in /usr/bin/clickhouse 15. /build/src/Planner/PlannerExpressionAnalysis.cpp:549: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001cbae51b in /usr/bin/clickhouse 16. /build/src/Planner/Planner.cpp:1272: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb69bf1 in /usr/bin/clickhouse 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb67519 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6593d in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af152 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:01.557857 [ 2921 ] {8a8de82e-aabb-4bca-868a-796ce15e7a8a} TCPHandler: Code: 36. DB::Exception: Expression in arrayJoin cannot depend on lambda argument: CAST(x, 'Array(UInt8)'_String) . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerActionsVisitor.cpp:800: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001bd023b6 in /usr/bin/clickhouse 7. /build/src/Planner/PlannerActionsVisitor.cpp:497: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001bd01269 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerActionsVisitor.cpp:576: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitLambda(std::shared_ptr const&) @ 0x000000001bd0422e in /usr/bin/clickhouse 9. /build/src/Planner/PlannerActionsVisitor.cpp:780: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitFunction(std::shared_ptr const&) @ 0x000000001bd02012 in /usr/bin/clickhouse 10. /build/src/Planner/PlannerActionsVisitor.cpp:497: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visitImpl(std::shared_ptr) @ 0x000000001bd01269 in /usr/bin/clickhouse 11. /build/src/Planner/PlannerActionsVisitor.cpp:475: DB::(anonymous namespace)::PlannerActionsVisitorImpl::visit(std::shared_ptr) @ 0x000000001bcfd248 in /usr/bin/clickhouse 12. /build/src/Planner/PlannerActionsVisitor.cpp:831: DB::PlannerActionsVisitor::visit(std::shared_ptr, std::shared_ptr) @ 0x000000001bcfcfaf in /usr/bin/clickhouse 13. /build/src/Planner/Utils.cpp:211: DB::buildActionsDAGFromExpressionNode(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&) @ 0x000000001cb7d605 in /usr/bin/clickhouse 14. /build/src/Planner/PlannerExpressionAnalysis.cpp:349: DB::(anonymous namespace)::analyzeProjection(DB::QueryNode const&, std::vector> const&, std::shared_ptr const&, DB::ActionsChain&) @ 0x000000001cbb1ba9 in /usr/bin/clickhouse 15. /build/src/Planner/PlannerExpressionAnalysis.cpp:549: DB::buildExpressionAnalysisResult(std::shared_ptr const&, std::vector> const&, std::shared_ptr const&, DB::PlannerQueryProcessingInfo const&) @ 0x000000001cbae51b in /usr/bin/clickhouse 16. /build/src/Planner/Planner.cpp:1272: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb69bf1 in /usr/bin/clickhouse 17. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb67519 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6593d in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af152 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:01.778478 [ 6043 ] {91d2c222-4930-45bb-b280-96fc20c854cf} executeQuery: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL LEFT JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37406) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:01.779498 [ 6043 ] {91d2c222-4930-45bb-b280-96fc20c854cf} TCPHandler: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL LEFT JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:02.213227 [ 6043 ] {4aef8090-8278-4790-bd00-ff1acc02b266} executeQuery: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL LEFT JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37406) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:02.213983 [ 6043 ] {4aef8090-8278-4790-bd00-ff1acc02b266} TCPHandler: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL LEFT JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:02.631625 [ 6043 ] {16acd23a-c1b8-4db6-9027-41bb427e8bf0} executeQuery: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL LEFT JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37406) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:02.632630 [ 6043 ] {16acd23a-c1b8-4db6-9027-41bb427e8bf0} TCPHandler: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL LEFT JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:03.048773 [ 6043 ] {cc6add3b-ef33-47dd-a70a-bc43dd370c50} executeQuery: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL LEFT JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37406) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:03.049524 [ 6043 ] {cc6add3b-ef33-47dd-a70a-bc43dd370c50} TCPHandler: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL LEFT JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 LEFT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:03.343642 [ 3551 ] {15f28b8e-950a-4138-9efc-36030cbc16b3} executeQuery: Code: 47. DB::Exception: Identifier 'test_table_1.value_' cannot be resolved from table with name test_v1gn09b2.test_table_1. In scope SELECT test_table_1.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_1.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35334) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_1.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c9754a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93eb59 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3003: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93ab09 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 2024.12.17 01:19:03.345626 [ 3551 ] {15f28b8e-950a-4138-9efc-36030cbc16b3} TCPHandler: Code: 47. DB::Exception: Identifier 'test_table_1.value_' cannot be resolved from table with name test_v1gn09b2.test_table_1. In scope SELECT test_table_1.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_1.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c9754a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93eb59 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3003: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93ab09 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 2024.12.17 01:19:03.484193 [ 6043 ] {0e9d04ed-25dc-4f82-9769-e1c309608bc7} executeQuery: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL RIGHT JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37406) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:03.484983 [ 6043 ] {0e9d04ed-25dc-4f82-9769-e1c309608bc7} TCPHandler: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL RIGHT JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:03.904783 [ 6043 ] {96fc3fa2-7934-493b-8523-23563f7d6c3b} executeQuery: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL RIGHT JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37406) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:03.905526 [ 6043 ] {96fc3fa2-7934-493b-8523-23563f7d6c3b} TCPHandler: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL RIGHT JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:04.201933 [ 3551 ] {72735dae-d0b4-4b30-b809-0b5295bfd216} executeQuery: Code: 46. DB::Exception: Unknown table function test_02428_v1: or incorrect parameterized view. (UNKNOWN_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35358) (comment: 02428_parameterized_view.sh) (in query: SELECT Price FROM test_02428_v1(price=10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac137f8 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:04.203431 [ 3551 ] {72735dae-d0b4-4b30-b809-0b5295bfd216} TCPHandler: Code: 46. DB::Exception: Unknown table function test_02428_v1: or incorrect parameterized view. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac137f8 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:04.344833 [ 6043 ] {c1ad9b05-7ed7-4ddc-b391-95e42de055a1} executeQuery: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL RIGHT JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37406) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:04.345666 [ 6043 ] {c1ad9b05-7ed7-4ddc-b391-95e42de055a1} TCPHandler: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL RIGHT JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:04.789085 [ 6043 ] {bd442249-89e6-49cd-9803-c7ca8de4851b} executeQuery: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL RIGHT JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37406) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:04.789822 [ 6043 ] {bd442249-89e6-49cd-9803-c7ca8de4851b} TCPHandler: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL RIGHT JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 RIGHT JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:05.210032 [ 6043 ] {a132ce05-a0bb-4df4-be07-d624bfe180e6} executeQuery: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37406) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 FULL JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:05.210866 [ 6043 ] {a132ce05-a0bb-4df4-be07-d624bfe180e6} TCPHandler: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id INNER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:05.459618 [ 3551 ] {bc75fc7d-c75a-46c7-83cd-499ee256115b} executeQuery: Code: 47. DB::Exception: Identifier 'test_table_2.value_' cannot be resolved from table with name test_v1gn09b2.test_table_2. In scope SELECT test_table_2.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_2.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35388) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT test_table_2.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c9754a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93eb59 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3004: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93ab3f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 2024.12.17 01:19:05.461444 [ 3551 ] {bc75fc7d-c75a-46c7-83cd-499ee256115b} TCPHandler: Code: 47. DB::Exception: Identifier 'test_table_2.value_' cannot be resolved from table with name test_v1gn09b2.test_table_2. In scope SELECT test_table_2.value_ FROM test_table_1 INNER JOIN test_table_2 ON test_table_1.id = test_table_2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_table_2.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c9754a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93eb59 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3004: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93ab3f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 2024.12.17 01:19:05.660018 [ 6043 ] {a38df7c5-a8f2-478e-9545-6415b75a12fb} executeQuery: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37406) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 FULL JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:05.660852 [ 6043 ] {a38df7c5-a8f2-478e-9545-6415b75a12fb} TCPHandler: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id LEFT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:06.126985 [ 6043 ] {becc1fc0-2df5-4ebf-93f2-27ddba721c22} executeQuery: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37406) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 FULL JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:06.127912 [ 6043 ] {becc1fc0-2df5-4ebf-93f2-27ddba721c22} TCPHandler: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id RIGHT JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:06.579663 [ 6043 ] {cc5c2de1-b689-4310-bfba-57cbf85a0bc9} executeQuery: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37406) (comment: 02374_analyzer_join_using.gen.sql) (in query: SELECT id FROM test_table_join_1 AS t1 FULL JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL JOIN test_table_join_3 AS t3 USING (id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:06.580561 [ 6043 ] {cc5c2de1-b689-4310-bfba-57cbf85a0bc9} TCPHandler: Code: 207. DB::Exception: JOIN test_7yyvvljs.test_table_join_1 AS t1 ALL FULL OUTER JOIN test_7yyvvljs.test_table_join_2 AS t2 ON t1.id = t2.id ambiguous identifier 'id'. In scope SELECT id FROM test_table_join_1 AS t1 FULL OUTER JOIN test_table_join_2 AS t2 ON t1.id = t2.id FULL OUTER JOIN test_table_join_3 AS t3 USING (id). (AMBIGUOUS_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x000000001c971ea8 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3111: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93b899 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6657: DB::(anonymous namespace)::QueryAnalyzer::resolveJoin(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c944ec9 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6740: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x000000001c92589d in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6967: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c919242 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:07.332452 [ 3551 ] {23438e28-6381-41cd-9b1c-cd598be92621} executeQuery: Code: 47. DB::Exception: Identifier 't1.value_' cannot be resolved from table with name t1. In scope SELECT t1.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t1.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35434) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT t1.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c9754a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93eb59 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3003: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93ab09 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 2024.12.17 01:19:07.334558 [ 3551 ] {23438e28-6381-41cd-9b1c-cd598be92621} TCPHandler: Code: 47. DB::Exception: Identifier 't1.value_' cannot be resolved from table with name t1. In scope SELECT t1.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t1.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c9754a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93eb59 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3003: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93ab09 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 2024.12.17 01:19:09.261498 [ 1121 ] {637bb327-72f2-4afc-9274-409f1850d52c} executeQuery: Code: 47. DB::Exception: Identifier 't2.value_' cannot be resolved from table with name t2. In scope SELECT t2.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t2.value']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35476) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT t2.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c9754a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93eb59 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3004: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93ab3f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 2024.12.17 01:19:09.264264 [ 1121 ] {637bb327-72f2-4afc-9274-409f1850d52c} TCPHandler: Code: 47. DB::Exception: Identifier 't2.value_' cannot be resolved from table with name t2. In scope SELECT t2.value_ FROM test_table_1 AS t1 INNER JOIN test_table_2 AS t2 ON t1.id = t2.id SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t2.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String&, String&&, String&&) @ 0x000000001c9754a4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2932: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&)::$_0::operator()(unsigned long) const @ 0x000000001c93eb59 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2986: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromTableExpression(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93cb63 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3309: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a473 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3004: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoin(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93ab3f in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3291: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c93a3c5 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3351: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92a827 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c929a7b in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 15. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 16. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 17. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 18. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 19. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 2024.12.17 01:19:09.729366 [ 1120 ] {30bcd85f-0263-47bb-b7b0-12742af50c29} executeQuery: Code: 456. DB::Exception: Substitution `quantity` is not set. (UNKNOWN_QUERY_PARAMETER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35484) (comment: 02428_parameterized_view.sh) (in query: SELECT Price FROM test_02428_pv2(price=50)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:70: DB::ReplaceQueryParameterVisitor::getParamValue(String const&) @ 0x000000001d0926cd in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:79: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001d091a2a in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0918c5 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 18. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 19. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 20. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 21. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 22. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 23. /build/src/Storages/StorageView.cpp:224: DB::StorageView::replaceQueryParametersIfParametrizedView(std::shared_ptr&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x000000001da2744a in /usr/bin/clickhouse 24. /build/src/Interpreters/Context.cpp:1586: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc6f2f in /usr/bin/clickhouse 25. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:19:09.731024 [ 1120 ] {30bcd85f-0263-47bb-b7b0-12742af50c29} TCPHandler: Code: 456. DB::Exception: Substitution `quantity` is not set. (UNKNOWN_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:70: DB::ReplaceQueryParameterVisitor::getParamValue(String const&) @ 0x000000001d0926cd in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:79: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001d091a2a in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0918c5 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 18. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 19. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 20. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 21. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 22. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 23. /build/src/Storages/StorageView.cpp:224: DB::StorageView::replaceQueryParametersIfParametrizedView(std::shared_ptr&, std::unordered_map, std::equal_to, std::allocator>> const&) @ 0x000000001da2744a in /usr/bin/clickhouse 24. /build/src/Interpreters/Context.cpp:1586: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc6f2f in /usr/bin/clickhouse 25. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:19:09.801270 [ 1121 ] {8e1851a9-cf37-4566-a82c-7a6ed018c6bb} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35494) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:09.802076 [ 1121 ] {8e1851a9-cf37-4566-a82c-7a6ed018c6bb} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:11.098051 [ 3551 ] {d062d1de-b36a-4657-8999-4cfe5de61722} executeQuery: Code: 47. DB::Exception: Identifier a.size1 nested path size1 cannot be resolved from type Array(UInt8). In scope SELECT [1] AS a, a.size1 SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['a.size0']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42144) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT [1] AS a, a.size1 SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b3bc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c9299df in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:11.099589 [ 3551 ] {d062d1de-b36a-4657-8999-4cfe5de61722} TCPHandler: Code: 47. DB::Exception: Identifier a.size1 nested path size1 cannot be resolved from type Array(UInt8). In scope SELECT [1] AS a, a.size1 SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['a.size0']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b3bc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c9299df in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:12.327247 [ 2921 ] {461e493e-417a-4a36-bb79-18dfa564c517} executeQuery: Code: 42. DB::Exception: Number of arguments for function parseTimeDelta doesn't match: passed 0, should be 1.: While processing parseTimeDelta(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42200) (comment: 02354_parse_timedelta.sql) (in query: -- invalid expressions SELECT parseTimeDelta();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:119: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011952489 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:19:12.328296 [ 2921 ] {461e493e-417a-4a36-bb79-18dfa564c517} TCPHandler: Code: 42. DB::Exception: Number of arguments for function parseTimeDelta doesn't match: passed 0, should be 1.: While processing parseTimeDelta(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:119: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011952489 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:19:12.447833 [ 2921 ] {0688bf19-302a-434f-9f3f-94c76ed8c18c} executeQuery: Code: 42. DB::Exception: Number of arguments for function parseTimeDelta doesn't match: passed 2, should be 1.: While processing parseTimeDelta('1yr', 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42200) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1yr', 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:126: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000119525c2 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:19:12.448856 [ 2921 ] {0688bf19-302a-434f-9f3f-94c76ed8c18c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function parseTimeDelta doesn't match: passed 2, should be 1.: While processing parseTimeDelta('1yr', 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:126: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000119525c2 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:19:12.563642 [ 2921 ] {c82517da-a9f9-427f-bfe9-5eac84e15044} executeQuery: Code: 43. DB::Exception: Cannot format UInt8 as time string.: While processing parseTimeDelta(1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42200) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:135: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011952707 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:19:12.564537 [ 2921 ] {c82517da-a9f9-427f-bfe9-5eac84e15044} TCPHandler: Code: 43. DB::Exception: Cannot format UInt8 as time string.: While processing parseTimeDelta(1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:135: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011952707 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:19:12.678695 [ 2921 ] {1ad6891c-cf4e-4360-ac49-efeead897136} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, don't find valid characters, str: " ".: While processing parseTimeDelta(' '). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42200) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta(' ');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:162: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119516e5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:19:12.679943 [ 2921 ] {1ad6891c-cf4e-4360-ac49-efeead897136} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, don't find valid characters, str: " ".: While processing parseTimeDelta(' '). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:162: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119516e5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:19:12.810558 [ 2921 ] {efd30d30-1255-4865-b625-a090d2ee241d} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "-1yr".: While processing parseTimeDelta('-1yr'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42200) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('-1yr');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011951a1d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:19:12.811493 [ 2921 ] {efd30d30-1255-4865-b625-a090d2ee241d} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "-1yr".: While processing parseTimeDelta('-1yr'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011951a1d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:19:12.921092 [ 2921 ] {03547cb2-1446-416a-b673-91900efc80d8} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, str: "1yr-".: While processing parseTimeDelta('1yr-'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42200) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1yr-');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:172: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001195185d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:19:12.921987 [ 2921 ] {03547cb2-1446-416a-b673-91900efc80d8} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, str: "1yr-".: While processing parseTimeDelta('1yr-'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:172: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001195185d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:19:12.929471 [ 2921 ] {4a0c92e8-501f-4c0b-87ad-71eee39236a9} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "yr2mo".: While processing parseTimeDelta('yr2mo'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42200) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('yr2mo');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011951a1d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:19:12.930268 [ 2921 ] {4a0c92e8-501f-4c0b-87ad-71eee39236a9} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "yr2mo".: While processing parseTimeDelta('yr2mo'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011951a1d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:19:13.037956 [ 2921 ] {fedcc0bc-e6a0-4d42-8720-99f8b3b3ce8c} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number after '.' failed, str: "1.yr2mo".: While processing parseTimeDelta('1.yr2mo'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42200) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1.yr2mo');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:197: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011951be8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:19:13.038887 [ 2921 ] {fedcc0bc-e6a0-4d42-8720-99f8b3b3ce8c} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number after '.' failed, str: "1.yr2mo".: While processing parseTimeDelta('1.yr2mo'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:197: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011951be8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:19:13.149478 [ 2921 ] {acd1b89b-67f6-448b-825d-7fe3df5bbfd6} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find unit failed, str: "1-yr".: While processing parseTimeDelta('1-yr'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42200) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1-yr');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:225: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011951fe8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:19:13.149625 [ 1121 ] {738f7bdc-c84f-4ba3-9d8a-7f7eec367ae7} executeQuery: Code: 47. DB::Exception: Identifier t.c nested path c cannot be resolved from type Tuple(a Tuple(b UInt32)). In scope SELECT CAST('((1))', 'Tuple(a Tuple(b UInt32))') AS t, t.c SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t.a']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42230) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT ((1))::Tuple(a Tuple(b UInt32)) AS t, t.c SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b3bc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c9299df in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:13.150418 [ 2921 ] {acd1b89b-67f6-448b-825d-7fe3df5bbfd6} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find unit failed, str: "1-yr".: While processing parseTimeDelta('1-yr'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:225: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011951fe8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:19:13.151555 [ 1121 ] {738f7bdc-c84f-4ba3-9d8a-7f7eec367ae7} TCPHandler: Code: 47. DB::Exception: Identifier t.c nested path c cannot be resolved from type Tuple(a Tuple(b UInt32)). In scope SELECT CAST('((1))', 'Tuple(a Tuple(b UInt32))') AS t, t.c SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t.a']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b3bc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c9299df in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:13.157663 [ 2921 ] {56bfd46f-b323-47aa-af0d-56e22ee17b34} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find unit failed, str: "1 1yr".: While processing parseTimeDelta('1 1yr'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42200) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1 1yr');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:225: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011951fe8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:19:13.158460 [ 2921 ] {56bfd46f-b323-47aa-af0d-56e22ee17b34} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find unit failed, str: "1 1yr".: While processing parseTimeDelta('1 1yr'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:225: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011951fe8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:19:13.270224 [ 2921 ] {05903427-2b1e-45e3-9918-fe5d858d9432} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, parse unit failed: "yyr".: While processing parseTimeDelta('1yyr'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42200) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1yyr');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119554ec in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:237: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119521de in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:19:13.271193 [ 2921 ] {05903427-2b1e-45e3-9918-fe5d858d9432} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, parse unit failed: "yyr".: While processing parseTimeDelta('1yyr'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119554ec in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:237: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000119521de in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:19:13.279105 [ 2921 ] {f1f94f8d-7975-45b3-b548-b71577f698ea} executeQuery: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "1yr-2mo-4w + 12 days, 3 hours : 1 minute ;. 33 seconds".: While processing parseTimeDelta('1yr-2mo-4w + 12 days, 3 hours : 1 minute ;. 33 seconds'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42200) (comment: 02354_parse_timedelta.sql) (in query: SELECT parseTimeDelta('1yr-2mo-4w + 12 days, 3 hours : 1 minute ;. 33 seconds');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011951a1d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:19:13.279936 [ 2921 ] {f1f94f8d-7975-45b3-b548-b71577f698ea} TCPHandler: Code: 36. DB::Exception: Invalid expression for function parseTimeDelta, find number failed, str: "1yr-2mo-4w + 12 days, 3 hours : 1 minute ;. 33 seconds".: While processing parseTimeDelta('1yr-2mo-4w + 12 days, 3 hours : 1 minute ;. 33 seconds'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:184: DB::(anonymous namespace)::FunctionParseTimeDelta::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011951a1d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:19:14.986097 [ 1120 ] {fce89f09-5ccf-47e7-9546-c14c797f20ef} executeQuery: Code: 47. DB::Exception: Identifier t.a.c nested path a.c cannot be resolved from type Tuple(a Tuple(b UInt32)). In scope SELECT CAST('((1))', 'Tuple(a Tuple(b UInt32))') AS t, t.a.c SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t.a.b']. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42284) (comment: 02476_analyzer_identifier_hints.sh) (in query: SELECT ((1))::Tuple(a Tuple(b UInt32)) AS t, t.a.c SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b3bc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c9299df in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:14.987888 [ 1120 ] {fce89f09-5ccf-47e7-9546-c14c797f20ef} TCPHandler: Code: 47. DB::Exception: Identifier t.a.c nested path a.c cannot be resolved from type Tuple(a Tuple(b UInt32)). In scope SELECT CAST('((1))', 'Tuple(a Tuple(b UInt32))') AS t, t.a.c SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['t.a.b']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Identifier const&, DB::IdentifierView&, String&&, String&, String&&, String&&) @ 0x000000001c9627f6 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2429: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromCompoundExpression(DB::Identifier const&, unsigned long, std::shared_ptr const&, String, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c92ece6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:2653: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c92b3bc in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x000000001c9299df in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5410: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91d97b in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 13. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 14. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 15. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.551930 [ 2670 ] {da19c2a9-e811-45f9-80fa-2fc541f28b7f} executeQuery: Code: 179. DB::Exception: Multiple expressions 2 AS value and 1 AS value for alias value. In scope SELECT 1 AS value, 2 AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42320) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT 1 AS value, 2 AS value;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c958cc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a73e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.552744 [ 2670 ] {da19c2a9-e811-45f9-80fa-2fc541f28b7f} TCPHandler: Code: 179. DB::Exception: Multiple expressions 2 AS value and 1 AS value for alias value. In scope SELECT 1 AS value, 2 AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c958cc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a73e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.561491 [ 2670 ] {52f93b05-e906-40db-a2fe-cd3fd264fec4} executeQuery: Code: 179. DB::Exception: Multiple expressions 2 AS value and _CAST(2, 'UInt16') for alias value. In scope SELECT 1 + 1 AS value, 2 AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42320) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT plus(1, 1) AS value, 2 AS value;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c958cc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a73e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.562333 [ 2670 ] {52f93b05-e906-40db-a2fe-cd3fd264fec4} TCPHandler: Code: 179. DB::Exception: Multiple expressions 2 AS value and _CAST(2, 'UInt16') for alias value. In scope SELECT 1 + 1 AS value, 2 AS value. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c958cc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a73e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.576632 [ 2670 ] {a2f67f7d-c75f-45ee-afca-19aebd8fb4a6} executeQuery: Code: 179. DB::Exception: Multiple expressions 1 AS subquery and _CAST(1, 'Nullable(UInt8)') for alias subquery. In scope SELECT (SELECT 1) AS subquery, 1 AS subquery. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42320) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT (SELECT 1) AS subquery, 1 AS subquery;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c958cc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a73e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.577334 [ 2670 ] {a2f67f7d-c75f-45ee-afca-19aebd8fb4a6} TCPHandler: Code: 179. DB::Exception: Multiple expressions 1 AS subquery and _CAST(1, 'Nullable(UInt8)') for alias subquery. In scope SELECT (SELECT 1) AS subquery, 1 AS subquery. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c958cc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a73e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.692640 [ 2670 ] {2565cdd4-aafc-471e-a723-a8c88e6abf1a} executeQuery: Code: 179. DB::Exception: Multiple expressions x -> (x + 2) AS lambda and x -> (x + 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda, x -> (x + 2) AS lambda SELECT lambda(1). (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42320) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: WITH x -> x + 1 AS lambda, x -> x + 2 AS lambda SELECT lambda(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c958cc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7118: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91aa3e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.694931 [ 2670 ] {2565cdd4-aafc-471e-a723-a8c88e6abf1a} TCPHandler: Code: 179. DB::Exception: Multiple expressions x -> (x + 2) AS lambda and x -> (x + 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda, x -> (x + 2) AS lambda SELECT lambda(1). (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c958cc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7118: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91aa3e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.848823 [ 3551 ] {e4a5ca3c-2f6b-4ab8-867a-ff4946294c23} executeQuery: Code: 36. DB::Exception: Strict EXCEPT column transformer EXCEPT (id, value1) expects following column(s) : value1. In scope SELECT * EXCEPT STRICT (id, value1) FROM test_table. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42344) (comment: 02343_analyzer_column_transformers_strict.sql) (in query: SELECT * EXCEPT STRICT (id, value1) FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>, String>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, char const*&&, String&&, fmt::v8::join_view, std::__wrap_iter, char>&&, String&&) @ 0x000000001c989e84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4268: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c94f3b6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5514: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e7a0 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.848877 [ 2670 ] {068c6c26-68fb-401d-868b-23641a709d59} executeQuery: Code: 179. DB::Exception: Multiple expressions _CAST(1, 'Nullable(UInt8)') and (SELECT 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda SELECT (SELECT 1) AS lambda. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42320) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: WITH x -> x + 1 AS lambda SELECT (SELECT 1) AS lambda;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c958cc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a73e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.849714 [ 3551 ] {e4a5ca3c-2f6b-4ab8-867a-ff4946294c23} TCPHandler: Code: 36. DB::Exception: Strict EXCEPT column transformer EXCEPT (id, value1) expects following column(s) : value1. In scope SELECT * EXCEPT STRICT (id, value1) FROM test_table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>, String>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, char const*&&, String&&, fmt::v8::join_view, std::__wrap_iter, char>&&, String&&) @ 0x000000001c989e84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4268: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c94f3b6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5514: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e7a0 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.849838 [ 2670 ] {068c6c26-68fb-401d-868b-23641a709d59} TCPHandler: Code: 179. DB::Exception: Multiple expressions _CAST(1, 'Nullable(UInt8)') and (SELECT 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda SELECT (SELECT 1) AS lambda. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c958cc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a73e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.858380 [ 2670 ] {25b1900d-07bf-43db-a68d-ed96e2543188} executeQuery: Code: 179. DB::Exception: Multiple expressions 1 AS lambda and x -> (x + 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda SELECT 1 AS lambda. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42320) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: WITH x -> x + 1 AS lambda SELECT 1 AS lambda;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c958cc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7118: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91aa3e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.859195 [ 2670 ] {25b1900d-07bf-43db-a68d-ed96e2543188} TCPHandler: Code: 179. DB::Exception: Multiple expressions 1 AS lambda and x -> (x + 1) AS lambda for alias lambda. In scope WITH x -> (x + 1) AS lambda SELECT 1 AS lambda. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c958cc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7118: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91aa3e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.867677 [ 2670 ] {3903d24c-61f2-47da-9e5b-73937ec4e1d4} executeQuery: Code: 179. DB::Exception: Multiple expressions test_5xrkbrwc.test_table.value and test_5xrkbrwc.test_table.id for alias value. In scope SELECT id AS value, value AS value FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42320) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT id AS value, value AS value FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c958cc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a73e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.868456 [ 2670 ] {3903d24c-61f2-47da-9e5b-73937ec4e1d4} TCPHandler: Code: 179. DB::Exception: Multiple expressions test_5xrkbrwc.test_table.value and test_5xrkbrwc.test_table.id for alias value. In scope SELECT id AS value, value AS value FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c958cc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a73e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.876682 [ 2670 ] {ae525b30-f532-4dba-88f0-45bda7c3e942} executeQuery: Code: 179. DB::Exception: Multiple expressions test_5xrkbrwc.test_table.value and test_5xrkbrwc.test_table.id for alias value_1. In scope SELECT id AS value_1, value AS value_1 FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42320) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT id AS value_1, value AS value_1 FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c958cc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a73e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.877434 [ 2670 ] {ae525b30-f532-4dba-88f0-45bda7c3e942} TCPHandler: Code: 179. DB::Exception: Multiple expressions test_5xrkbrwc.test_table.value and test_5xrkbrwc.test_table.id for alias value_1. In scope SELECT id AS value_1, value AS value_1 FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c958cc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a73e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.885641 [ 2670 ] {6ec7a114-c557-4f5b-ad40-053af410a36e} executeQuery: Code: 179. DB::Exception: Multiple expressions id + 1 AS value and test_5xrkbrwc.test_table.id for alias value. In scope SELECT id AS value, id + 1 AS value FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42320) (comment: 02344_analyzer_multiple_aliases_for_expression.sql) (in query: SELECT id AS value, (id + 1) AS value FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c958cc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a73e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.886348 [ 2670 ] {6ec7a114-c557-4f5b-ad40-053af410a36e} TCPHandler: Code: 179. DB::Exception: Multiple expressions id + 1 AS value and test_5xrkbrwc.test_table.id for alias value. In scope SELECT id AS value, id + 1 AS value FROM test_table. (MULTIPLE_EXPRESSIONS_FOR_ALIAS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&, String&&) @ 0x000000001c958cc4 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7104: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c91a73e in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 9. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.889066 [ 3551 ] {aebedd67-e789-430d-b43e-6a6fb7b555d9} executeQuery: Code: 36. DB::Exception: Strict REPLACE column transformer REPLACE (1 AS id, 2 AS value_1) expects following column(s) : value_1. In scope SELECT * REPLACE STRICT (1 AS id, 2 AS value_1) FROM test_table. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42344) (comment: 02343_analyzer_column_transformers_strict.sql) (in query: SELECT * REPLACE STRICT (1 AS id, 2 AS value_1) FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>, String>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, char const*&&, String&&, fmt::v8::join_view, std::__wrap_iter, char>&&, String&&) @ 0x000000001c989e84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4268: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c94f3b6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5514: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e7a0 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:16.889916 [ 3551 ] {aebedd67-e789-430d-b43e-6a6fb7b555d9} TCPHandler: Code: 36. DB::Exception: Strict REPLACE column transformer REPLACE (1 AS id, 2 AS value_1) expects following column(s) : value_1. In scope SELECT * REPLACE STRICT (1 AS id, 2 AS value_1) FROM test_table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>, String>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, char const*&&, String&&, fmt::v8::join_view, std::__wrap_iter, char>&&, String&&) @ 0x000000001c989e84 in /usr/bin/clickhouse 6. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:4268: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c94f3b6 in /usr/bin/clickhouse 7. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5514: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91e7a0 in /usr/bin/clickhouse 8. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5686: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x000000001c91cf81 in /usr/bin/clickhouse 9. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:5877: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c925d67 in /usr/bin/clickhouse 10. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:6976: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001c9192ae in /usr/bin/clickhouse 11. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:1076: DB::(anonymous namespace)::QueryAnalyzer::resolve(std::shared_ptr, std::shared_ptr const&, std::shared_ptr) @ 0x000000001c917a1f in /usr/bin/clickhouse 12. /build/src/Analyzer/Passes/QueryAnalysisPass.cpp:7205: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x000000001c91775e in /usr/bin/clickhouse 13. /build/src/Analyzer/QueryTreePassManager.cpp:185: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x000000001c90a017 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:144: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cb64f2c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001cb64298 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca58dd8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:160: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e3e in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:17.870839 [ 8665 ] {e3a60462-c056-45eb-b98b-d5aa05950a58} executeQuery: Code: 206. DB::Exception: No alias for subquery or table function in JOIN (set joined_subquery_requires_alias=0 to disable restriction). While processing ' view(SELECT dummy AS d1, dummy AS d2 FROM system.one)'. (ALIAS_REQUIRED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60488) (comment: 02341_global_join_cte.sql) (in query: WITH `rhs` AS (SELECT * FROM remote('127.{1,2}', view(SELECT `dummy` AS `d1`, `dummy` AS `d2` FROM `system`.`one`))) SELECT `d2` FROM view(SELECT `dummy` AS `d1`, `dummy` AS `d2` FROM `system`.`one`) GLOBAL ALL INNER JOIN `rhs` AS `rhs` USING (`d1`) ORDER BY `rhs`.`d2` ASC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinedTables.cpp:254: DB::JoinedTables::resolveTables() @ 0x000000001cc1f3f0 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa68b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:17.871100 [ 8666 ] {4571b5da-2fd2-4d0e-9df9-93d1286b85ed} executeQuery: Code: 206. DB::Exception: No alias for subquery or table function in JOIN (set joined_subquery_requires_alias=0 to disable restriction). While processing ' view(SELECT dummy AS d1, dummy AS d2 FROM system.one)'. (ALIAS_REQUIRED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:53032) (comment: 02341_global_join_cte.sql) (in query: WITH `rhs` AS (SELECT * FROM remote('127.{1,2}', view(SELECT `dummy` AS `d1`, `dummy` AS `d2` FROM `system`.`one`))) SELECT `d2` FROM view(SELECT `dummy` AS `d1`, `dummy` AS `d2` FROM `system`.`one`) GLOBAL ALL INNER JOIN `rhs` AS `rhs` USING (`d1`) ORDER BY `rhs`.`d2` ASC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinedTables.cpp:254: DB::JoinedTables::resolveTables() @ 0x000000001cc1f3f0 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa68b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:17.872005 [ 8665 ] {e3a60462-c056-45eb-b98b-d5aa05950a58} TCPHandler: Code: 206. DB::Exception: No alias for subquery or table function in JOIN (set joined_subquery_requires_alias=0 to disable restriction). While processing ' view(SELECT dummy AS d1, dummy AS d2 FROM system.one)'. (ALIAS_REQUIRED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinedTables.cpp:254: DB::JoinedTables::resolveTables() @ 0x000000001cc1f3f0 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa68b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:17.872664 [ 8666 ] {4571b5da-2fd2-4d0e-9df9-93d1286b85ed} TCPHandler: Code: 206. DB::Exception: No alias for subquery or table function in JOIN (set joined_subquery_requires_alias=0 to disable restriction). While processing ' view(SELECT dummy AS d1, dummy AS d2 FROM system.one)'. (ALIAS_REQUIRED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinedTables.cpp:254: DB::JoinedTables::resolveTables() @ 0x000000001cc1f3f0 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa68b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:17.937874 [ 6043 ] {4a48d15a-415d-492d-a305-bd889094b453} executeQuery: Code: 206. DB::Exception: Received from 127.1:9000. DB::Exception: No alias for subquery or table function in JOIN (set joined_subquery_requires_alias=0 to disable restriction). While processing ' view(SELECT dummy AS d1, dummy AS d2 FROM system.one)'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinedTables.cpp:254: DB::JoinedTables::resolveTables() @ 0x000000001cc1f3f0 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa68b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? : While executing Remote. (ALIAS_REQUIRED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42380) (comment: 02341_global_join_cte.sql) (in query: -- { echo } with rhs as (select * from remote('127.{1,2}', view(select dummy d1, dummy d2 from system.one))) select lhs.d2 from remote('127.{1,2}', view(select dummy d1, dummy d2 from system.one)) lhs global join rhs using (d1) order by rhs.d2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1364: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013981322 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1150: DB::Connection::receiveException() const @ 0x000000001e4c4c39 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001e4cb231 in /usr/bin/clickhouse 9. /build/src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001e53607c in /usr/bin/clickhouse 10. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x000000001b89c3e1 in /usr/bin/clickhouse 11. /build/src/Common/Fiber.h:70: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x000000001b89c2f8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval())) std::__invoke[abi:v15000]&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89c288 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89c248 in /usr/bin/clickhouse 14. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x000000001b89c17e in /usr/bin/clickhouse 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x000000001b89bffd in /usr/bin/clickhouse 2024.12.17 01:19:17.940660 [ 6043 ] {4a48d15a-415d-492d-a305-bd889094b453} TCPHandler: Code: 206. DB::Exception: Received from 127.1:9000. DB::Exception: No alias for subquery or table function in JOIN (set joined_subquery_requires_alias=0 to disable restriction). While processing ' view(SELECT dummy AS d1, dummy AS d2 FROM system.one)'. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinedTables.cpp:254: DB::JoinedTables::resolveTables() @ 0x000000001cc1f3f0 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa68b2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? : While executing Remote. (ALIAS_REQUIRED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1364: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013981322 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1150: DB::Connection::receiveException() const @ 0x000000001e4c4c39 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001e4cb231 in /usr/bin/clickhouse 9. /build/src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001e53607c in /usr/bin/clickhouse 10. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x000000001b89c3e1 in /usr/bin/clickhouse 11. /build/src/Common/Fiber.h:70: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x000000001b89c2f8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval())) std::__invoke[abi:v15000]&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89c288 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89c248 in /usr/bin/clickhouse 14. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x000000001b89c17e in /usr/bin/clickhouse 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x000000001b89bffd in /usr/bin/clickhouse 2024.12.17 01:19:23.835196 [ 5531 ] {02421_truncate_isolation_with_mutations_test_w480beng_tx69_2799} executeQuery: Code: 650. DB::Exception: Serialization error: Transaction (38, 48, 68e13999-1f11-4966-ad08-ec0bdb66408d) tried to remove data part all_1_1_6 from test_w480beng.tt (78c2150a-7c90-4aef-b020-a98660aa70c5), but it's locked by another transaction (TID: (38, 49, 68e13999-1f11-4966-ad08-ec0bdb66408d), TIDH: 17966995878194943286) which is currently removing this part. (SERIALIZATION_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:47356) (in query: alter table tt drop partition id 'all'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001cf94afa in /usr/bin/clickhouse 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x000000001cf9152f in /usr/bin/clickhouse 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001cc553af in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x000000001cc55227 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3962: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001de9a113 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:1873: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e379307 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:5144: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac02a in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:23.836014 [ 5531 ] {02421_truncate_isolation_with_mutations_test_w480beng_tx69_2799} DynamicQueryHandler: Code: 650. DB::Exception: Serialization error: Transaction (38, 48, 68e13999-1f11-4966-ad08-ec0bdb66408d) tried to remove data part all_1_1_6 from test_w480beng.tt (78c2150a-7c90-4aef-b020-a98660aa70c5), but it's locked by another transaction (TID: (38, 49, 68e13999-1f11-4966-ad08-ec0bdb66408d), TIDH: 17966995878194943286) which is currently removing this part. (SERIALIZATION_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001cf94afa in /usr/bin/clickhouse 6. /build/src/Interpreters/TransactionVersionMetadata.cpp:62: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x000000001cf9152f in /usr/bin/clickhouse 7. /build/src/Interpreters/MergeTreeTransaction.cpp:149: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001cc553af in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x000000001cc55227 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3962: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001de9a113 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:1873: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e379307 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:5144: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac02a in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 16. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 18. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:19:25.743815 [ 1120 ] {09aa9bd7-9398-4669-94a5-1278f9ee9f85} executeQuery: Code: 36. DB::Exception: Column `path` should not be empty. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40946) (comment: 02311_system_zookeeper_insert.sql) (in query: -- test exceptions insert into system.zookeeper (name, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91cade in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:144: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abba20a in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:19:25.744883 [ 1120 ] {09aa9bd7-9398-4669-94a5-1278f9ee9f85} TCPHandler: Code: 36. DB::Exception: Column `path` should not be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91cade in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:144: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abba20a in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:19:25.911674 [ 1120 ] {30ccd896-c9c6-4fc2-a563-dc001f5043c6} executeQuery: Code: 36. DB::Exception: Column `name` should not be empty. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40946) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (path, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91cade in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:139: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abba180 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:19:25.912704 [ 1120 ] {30ccd896-c9c6-4fc2-a563-dc001f5043c6} TCPHandler: Code: 36. DB::Exception: Column `name` should not be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91cade in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:139: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abba180 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:19:25.998245 [ 1120 ] {46766263-2bbe-4000-86b0-184392cb6f18} executeQuery: Code: 44. DB::Exception: Cannot insert column version, because it is MATERIALIZED column. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40946) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, version) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:172: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7e405 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:149: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7e0d2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:393: DB::InterpreterInsertQuery::execute() @ 0x000000001ca80086 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:25.998933 [ 1120 ] {46766263-2bbe-4000-86b0-184392cb6f18} TCPHandler: Code: 44. DB::Exception: Cannot insert column version, because it is MATERIALIZED column. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:172: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7e405 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:149: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7e0d2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:393: DB::InterpreterInsertQuery::execute() @ 0x000000001ca80086 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:26.087616 [ 1120 ] {afb9cee7-8263-4be4-b1f7-2bef55a4ed56} executeQuery: Code: 16. DB::Exception: No such column versionxyz in table system.zookeeper (f798c804-1506-440f-b96e-73dd0dc32067). (NO_SUCH_COLUMN_IN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40946) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, versionxyz) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:177: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7e5a6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:149: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7e0d2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:393: DB::InterpreterInsertQuery::execute() @ 0x000000001ca80086 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:26.205086 [ 1120 ] {afb9cee7-8263-4be4-b1f7-2bef55a4ed56} TCPHandler: Code: 16. DB::Exception: No such column versionxyz in table system.zookeeper (f798c804-1506-440f-b96e-73dd0dc32067). (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:177: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7e5a6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:149: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7e0d2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:393: DB::InterpreterInsertQuery::execute() @ 0x000000001ca80086 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:26.205149 [ 3551 ] {e0df9300-c8ca-4367-a2fd-aa185939f205} executeQuery: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40990) (comment: 02315_readonly_create_function.sh) (in query: CREATE FUNCTION test_function AS (x) -> x + 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x000000001b04b2f7 in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:601: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x000000001b04945b in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:625: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001b01ca02 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:646: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x000000001b058093 in /usr/bin/clickhouse 10. /build/src/Access/ContextAccess.cpp:667: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElement const&) const @ 0x000000001b01ced2 in /usr/bin/clickhouse 11. /build/src/Access/ContextAccess.cpp:675: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001b01cf6e in /usr/bin/clickhouse 12. /build/src/Access/ContextAccess.cpp:705: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001b017f9d in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1200: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001bde41b6 in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1214: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001bdc433d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:45: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca795d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:26.206773 [ 3551 ] {e0df9300-c8ca-4367-a2fd-aa185939f205} TCPHandler: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x000000001b04b2f7 in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:601: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x000000001b04945b in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:625: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001b01ca02 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:646: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x000000001b058093 in /usr/bin/clickhouse 10. /build/src/Access/ContextAccess.cpp:667: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElement const&) const @ 0x000000001b01ced2 in /usr/bin/clickhouse 11. /build/src/Access/ContextAccess.cpp:675: bool DB::ContextAccess::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001b01cf6e in /usr/bin/clickhouse 12. /build/src/Access/ContextAccess.cpp:705: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001b017f9d in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1200: void DB::Context::checkAccessImpl(DB::AccessRightsElements const&) const @ 0x000000001bde41b6 in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1214: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x000000001bdc433d in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:45: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca795d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:26.379195 [ 1120 ] {e4d9b851-93a9-4df5-93ea-9b3bbe9f3eb0} executeQuery: Code: 36. DB::Exception: Column `name` should not contain '/'. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40946) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, path, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c576f7e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:134: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abba0b6 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:19:26.380144 [ 1120 ] {e4d9b851-93a9-4df5-93ea-9b3bbe9f3eb0} TCPHandler: Code: 36. DB::Exception: Column `name` should not contain '/'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c576f7e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:134: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abba0b6 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:19:26.397304 [ 1120 ] {c4e41522-a1ea-47a8-affb-103dd45d1005} executeQuery: Code: 36. DB::Exception: Column `name` should not contain '/'. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40946) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, path, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c576f7e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:134: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abba0b6 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:19:26.398148 [ 1120 ] {c4e41522-a1ea-47a8-affb-103dd45d1005} TCPHandler: Code: 36. DB::Exception: Column `name` should not contain '/'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c576f7e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:134: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abba0b6 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:19:26.415157 [ 1120 ] {e227a0fb-5884-4a62-af96-59112ca6125a} executeQuery: Code: 36. DB::Exception: Column `name` should not be empty. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40946) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, path, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91cade in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:139: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abba180 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:19:26.416050 [ 1120 ] {e227a0fb-5884-4a62-af96-59112ca6125a} TCPHandler: Code: 36. DB::Exception: Column `name` should not be empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91cade in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:139: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abba180 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:19:26.590914 [ 1120 ] {742bc641-0950-49b5-84e6-fcecde0a5b3f} executeQuery: Code: 36. DB::Exception: Sum of `name` length and `path` length should not exceed PATH_MAX. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40946) (comment: 02311_system_zookeeper_insert.sql) (in query: insert into system.zookeeper (name, path, value) values ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [66]) @ 0x000000000d72763e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:149: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abba2b8 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:19:26.591964 [ 1120 ] {742bc641-0950-49b5-84e6-fcecde0a5b3f} TCPHandler: Code: 36. DB::Exception: Sum of `name` length and `path` length should not exceed PATH_MAX. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [66]) @ 0x000000000d72763e in /usr/bin/clickhouse 6. /build/src/Storages/System/StorageSystemZooKeeper.cpp:149: DB::ZooKeeperSink::consume(DB::Chunk) @ 0x000000001abba2b8 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:19:30.841044 [ 6043 ] {85f2ed76-ee5e-4aca-b45d-be90afe16083} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.378540376 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:53850) (comment: 02293_http_header_summary_contains_exception_code_with_progress.sh) (in query: SELECT 1 + sleepEachRow(0.00002) FROM numbers(100000) ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87926c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b8786b3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b8785c8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b99 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:30.843259 [ 6043 ] {85f2ed76-ee5e-4aca-b45d-be90afe16083} DynamicQueryHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.378540376 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87926c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b8786b3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b8785c8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b99 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:19:30.854350 [ 3551 ] {6d0844fa-6c90-4b3d-a7b4-ccb21afafd44} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.500117865 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:53866) (comment: 02293_http_header_full_summary_without_progress.sh) (in query: SELECT 1 + sleepEachRow(0.00002) FROM numbers(100000) ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87926c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b8786b3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b8785c8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b99 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:30.856072 [ 3551 ] {6d0844fa-6c90-4b3d-a7b4-ccb21afafd44} DynamicQueryHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.500117865 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87926c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b8786b3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b8785c8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b99 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:19:31.229860 [ 1120 ] {d49a5480-5f0b-4e5d-985b-f780f311716a} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.101375465 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41108) (comment: 02294_floating_point_second_in_settings.sh) (in query: SELECT count() FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87926c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b8786b3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b8785c8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b99 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:31.237046 [ 1120 ] {d49a5480-5f0b-4e5d-985b-f780f311716a} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.101375465 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87926c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b8786b3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b8785c8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b99 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:31.434015 [ 1120 ] {0e25a201-ca47-4302-804a-eb11e01b0caf} executeQuery: Code: 46. DB::Exception: Unknown table function 02428_parameterized_view_test_qwkgwccx.pv1: or incorrect parameterized view. (UNKNOWN_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56146) (comment: 02428_parameterized_view.sh) (in query: SELECT Price FROM `02428_parameterized_view_test_qwkgwccx.pv1`(price=20) SETTINGS allow_experimental_analyzer = 0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac137f8 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:31.436227 [ 1120 ] {0e25a201-ca47-4302-804a-eb11e01b0caf} TCPHandler: Code: 46. DB::Exception: Unknown table function 02428_parameterized_view_test_qwkgwccx.pv1: or incorrect parameterized view. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac137f8 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:32.536400 [ 2921 ] {bbf2b2c2-34c0-4850-b0e1-389b19b2cc7c} executeQuery: Code: 47. DB::Exception: Missing columns: 'String' while processing query: 'String AS b', required columns: 'String' 'String': default expression and column type are incompatible. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56166) (comment: 02287_ephemeral_format_crash.sql) (in query: CREATE TABLE test(a UInt8, b EPHEMERAL String) Engine=Memory();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1355: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa1078 in /usr/bin/clickhouse 8. /build/src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d5a7c5b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:571: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e6efa in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:32.557088 [ 2921 ] {bbf2b2c2-34c0-4850-b0e1-389b19b2cc7c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'String' while processing query: 'String AS b', required columns: 'String' 'String': default expression and column type are incompatible. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1355: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa1078 in /usr/bin/clickhouse 8. /build/src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d5a7c5b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:571: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e6efa in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:32.566539 [ 2921 ] {42230120-7e55-469e-9e06-0be38dc53684} executeQuery: Code: 47. DB::Exception: Missing columns: 'test' while processing query: '_CAST(test AS b_tmp_alter1386965313334290684, 'String') AS b, b_tmp_alter1386965313334290684', required columns: 'test' 'test': default expression and column type are incompatible. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56166) (comment: 02287_ephemeral_format_crash.sql) (in query: CREATE TABLE test(a UInt8, b String EPHEMERAL test) Engine=Memory();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1355: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa1078 in /usr/bin/clickhouse 8. /build/src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d5a7c5b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:571: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e6efa in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:32.567285 [ 2921 ] {42230120-7e55-469e-9e06-0be38dc53684} TCPHandler: Code: 47. DB::Exception: Missing columns: 'test' while processing query: '_CAST(test AS b_tmp_alter1386965313334290684, 'String') AS b, b_tmp_alter1386965313334290684', required columns: 'test' 'test': default expression and column type are incompatible. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1355: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa1078 in /usr/bin/clickhouse 8. /build/src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d5a7c5b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:571: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e6efa in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:33.910897 [ 8665 ] {059e30fc-9b0a-46ea-abcd-04bd503e7582} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.101255764 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56200) (comment: 02294_floating_point_second_in_settings.sh) (in query: SELECT count() FROM system.numbers SETTINGS max_execution_time=1.1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87926c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b8786b3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b8785c8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b99 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:33.916147 [ 8665 ] {059e30fc-9b0a-46ea-abcd-04bd503e7582} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.101255764 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87926c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b8786b3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b8785c8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b99 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:35.088762 [ 3551 ] {615848dd-557f-48e6-bed1-bfb25db6c2eb} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.101360719 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56468) (comment: 02294_floating_point_second_in_settings.sh) (in query: SELECT count() FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87926c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b8786b3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b8785c8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b99 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:35.093194 [ 3551 ] {615848dd-557f-48e6-bed1-bfb25db6c2eb} DynamicQueryHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.101360719 seconds, maximum: 1.1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87926c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b8786b3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b8785c8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b99 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:19:38.073449 [ 5531 ] {02421_truncate_isolation_with_mutations_test_w480beng_tx79_6334} executeQuery: Code: 232. DB::Exception: No part all_2_2_0 in committed state. (NO_SUCH_DATA_PART) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60908) (in query: alter table tt drop part 'all_2_2_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4984: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x000000001deaa0f0 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5138: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deabef0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:38.074653 [ 5531 ] {02421_truncate_isolation_with_mutations_test_w480beng_tx79_6334} DynamicQueryHandler: Code: 232. DB::Exception: No part all_2_2_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4984: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x000000001deaa0f0 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5138: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deabef0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:19:51.265694 [ 8668 ] {297c43d0-00e7-493e-8907-45a4ecd59afa} executeQuery: Code: 36. DB::Exception: Cannot load time zone not a timezone: While processing makeDateTime(1984, 1, 1, 0, 0, 0, 'not a timezone'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40690) (comment: 02244_make_datetime.sql) (in query: select makeDateTime(1984, 1, 1, 0, 0, 0, 'not a timezone');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x00000000138c3254 in /usr/bin/clickhouse 7. /build/src/Common/DateLUT.cpp:157: DateLUT::getImplementation(String const&) const @ 0x00000000138bdb0a in /usr/bin/clickhouse 8. /build/src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x000000001b8adc29 in /usr/bin/clickhouse 9. /build/src/DataTypes/DataTypeDateTime.cpp:11: DB::DataTypeDateTime::DataTypeDateTime(String const&) @ 0x000000001b8ad50e in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime* std::construct_at[abi:v15000](DB::DataTypeDateTime*, String&) @ 0x000000000d8f1cc6 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime*, String&) @ 0x000000000d8f1c41 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x000000000d8f1bc7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x000000000d8f1af7 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x000000000d8f1a26 in /usr/bin/clickhouse 15. /build/src/Functions/makeDate.cpp:281: DB::(anonymous namespace)::FunctionMakeDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010316814 in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:19:51.266550 [ 8668 ] {297c43d0-00e7-493e-8907-45a4ecd59afa} TCPHandler: Code: 36. DB::Exception: Cannot load time zone not a timezone: While processing makeDateTime(1984, 1, 1, 0, 0, 0, 'not a timezone'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x00000000138c3254 in /usr/bin/clickhouse 7. /build/src/Common/DateLUT.cpp:157: DateLUT::getImplementation(String const&) const @ 0x00000000138bdb0a in /usr/bin/clickhouse 8. /build/src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x000000001b8adc29 in /usr/bin/clickhouse 9. /build/src/DataTypes/DataTypeDateTime.cpp:11: DB::DataTypeDateTime::DataTypeDateTime(String const&) @ 0x000000001b8ad50e in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime* std::construct_at[abi:v15000](DB::DataTypeDateTime*, String&) @ 0x000000000d8f1cc6 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime*, String&) @ 0x000000000d8f1c41 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x000000000d8f1bc7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x000000000d8f1af7 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x000000000d8f1a26 in /usr/bin/clickhouse 15. /build/src/Functions/makeDate.cpp:281: DB::(anonymous namespace)::FunctionMakeDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010316814 in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:19:52.948840 [ 8670 ] {219bb515-f106-49c0-b3b8-bae67b024741} executeQuery: Code: 497. DB::Exception: without_on_cluster_02250_ON_CLUSTER_grant_test_tna9mh2f: Not enough privileges. To execute this query, it's necessary to have the grant CLUSTER ON *.*. (ACCESS_DENIED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40756) (comment: 02250_ON_CLUSTER_grant.sh) (in query: CREATE DATABASE IF NOT EXISTS db_without_on_cluster_02250_ON_CLUSTER_grant_test_tna9mh2f ON CLUSTER test_shard_localhost), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x000000001b04a6be in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:560: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x000000001b049173 in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:625: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001b01ca02 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:698: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x000000001b017d3d in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1200: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001bde39f6 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1203: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x000000001bdc3e1d in /usr/bin/clickhouse 12. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:111: DB::executeDDLQueryOnCluster(std::shared_ptr const&, std::shared_ptr, DB::DDLQueryOnClusterParams const&) @ 0x000000001d0946a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterCreateQuery.cpp:1706: DB::InterpreterCreateQuery::executeQueryOnCluster(DB::ASTCreateQuery&) @ 0x000000001c7f0a19 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1719: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7b85 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:52.950601 [ 8670 ] {219bb515-f106-49c0-b3b8-bae67b024741} TCPHandler: Code: 497. DB::Exception: without_on_cluster_02250_ON_CLUSTER_grant_test_tna9mh2f: Not enough privileges. To execute this query, it's necessary to have the grant CLUSTER ON *.*. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x000000001b04a6be in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:560: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x000000001b049173 in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:625: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001b01ca02 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:698: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x000000001b017d3d in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1200: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001bde39f6 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1203: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x000000001bdc3e1d in /usr/bin/clickhouse 12. /build/src/Interpreters/executeDDLQueryOnCluster.cpp:111: DB::executeDDLQueryOnCluster(std::shared_ptr const&, std::shared_ptr, DB::DDLQueryOnClusterParams const&) @ 0x000000001d0946a1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterCreateQuery.cpp:1706: DB::InterpreterCreateQuery::executeQueryOnCluster(DB::ASTCreateQuery&) @ 0x000000001c7f0a19 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1719: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7b85 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:19:53.628369 [ 8669 ] {cfc04cd6-1f65-4fdf-94d7-4a5e2a8ad970} executeQuery: Code: 675. DB::ParsingException: Cannot parse IPv4 : Cannot parse IPv4 from String: while executing 'FUNCTION toIPv4(ip : 0) -> toIPv4(ip) IPv4 : 2'. (CANNOT_PARSE_IPV4) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40784) (comment: 02244_ip_address_invalid_insert.sql) (in query: INSERT INTO test_table_ipv4_materialized(ip) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x000000000b5e0013 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:862: void DB::readIPv4TextImpl(DB::IPv4&, DB::ReadBuffer&) @ 0x000000000b5dfca2 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:869: DB::readIPv4Text(DB::IPv4&, DB::ReadBuffer&) @ 0x000000000b5dfb7d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1093: void DB::parseImpl(DB::DataTypeIPv4::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b5ffe91 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b5ffd86 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b5faf18 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b5e3539 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b5e2495 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b5e15fe in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001ebc8b97 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 2024.12.17 01:19:53.629682 [ 8669 ] {cfc04cd6-1f65-4fdf-94d7-4a5e2a8ad970} TCPHandler: Code: 675. DB::ParsingException: Cannot parse IPv4 : Cannot parse IPv4 from String: while executing 'FUNCTION toIPv4(ip : 0) -> toIPv4(ip) IPv4 : 2'. (CANNOT_PARSE_IPV4), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x000000000b5e0013 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:862: void DB::readIPv4TextImpl(DB::IPv4&, DB::ReadBuffer&) @ 0x000000000b5dfca2 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:869: DB::readIPv4Text(DB::IPv4&, DB::ReadBuffer&) @ 0x000000000b5dfb7d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1093: void DB::parseImpl(DB::DataTypeIPv4::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b5ffe91 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b5ffd86 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b5faf18 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b5e3539 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b5e2495 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b5e15fe in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001ebc8b97 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 2024.12.17 01:19:53.651763 [ 8669 ] {9d789b32-51d1-4790-8bcb-641b53e1c111} executeQuery: Code: 675. DB::ParsingException: Cannot parse IPv4 : Cannot parse IPv4 from String: while executing 'FUNCTION toIPv4(ip : 0) -> toIPv4(ip) IPv4 : 2'. (CANNOT_PARSE_IPV4) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40784) (comment: 02244_ip_address_invalid_insert.sql) (in query: INSERT INTO test_table_ipv4_materialized(ip) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x000000000b5e0013 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:862: void DB::readIPv4TextImpl(DB::IPv4&, DB::ReadBuffer&) @ 0x000000000b5dfca2 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:869: DB::readIPv4Text(DB::IPv4&, DB::ReadBuffer&) @ 0x000000000b5dfb7d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1093: void DB::parseImpl(DB::DataTypeIPv4::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b5ffe91 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b5ffd86 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b5faf18 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b5e3539 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b5e2495 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b5e15fe in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001ebc8b97 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 2024.12.17 01:19:53.652818 [ 8669 ] {9d789b32-51d1-4790-8bcb-641b53e1c111} TCPHandler: Code: 675. DB::ParsingException: Cannot parse IPv4 : Cannot parse IPv4 from String: while executing 'FUNCTION toIPv4(ip : 0) -> toIPv4(ip) IPv4 : 2'. (CANNOT_PARSE_IPV4), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x000000000b5e0013 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:862: void DB::readIPv4TextImpl(DB::IPv4&, DB::ReadBuffer&) @ 0x000000000b5dfca2 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:869: DB::readIPv4Text(DB::IPv4&, DB::ReadBuffer&) @ 0x000000000b5dfb7d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1093: void DB::parseImpl(DB::DataTypeIPv4::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b5ffe91 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b5ffd86 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b5faf18 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b5e3539 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b5e2495 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b5e15fe in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001ebc8b97 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 2024.12.17 01:19:54.062577 [ 8669 ] {41f2bb2c-feb3-47d9-92eb-41cc0d38744b} executeQuery: Code: 676. DB::ParsingException: Cannot parse IPv6 : Cannot parse IPv6 from String: while executing 'FUNCTION toIPv6(ip : 0) -> toIPv6(ip) IPv6 : 2'. (CANNOT_PARSE_IPV6) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40784) (comment: 02244_ip_address_invalid_insert.sql) (in query: INSERT INTO test_table_ipv6_materialized(ip) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x000000000b5e0013 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:884: void DB::readIPv6TextImpl(DB::IPv6&, DB::ReadBuffer&) @ 0x000000000b609ffb in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:891: DB::readIPv6Text(DB::IPv6&, DB::ReadBuffer&) @ 0x000000000b609edd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1101: void DB::parseImpl(DB::DataTypeIPv6::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b629ab1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b6299a6 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b624eb8 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b60ded9 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b60ce35 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b60bf9e in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001ebc8b97 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 2024.12.17 01:19:54.063960 [ 8669 ] {41f2bb2c-feb3-47d9-92eb-41cc0d38744b} TCPHandler: Code: 676. DB::ParsingException: Cannot parse IPv6 : Cannot parse IPv6 from String: while executing 'FUNCTION toIPv6(ip : 0) -> toIPv6(ip) IPv6 : 2'. (CANNOT_PARSE_IPV6), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x000000000b5e0013 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:884: void DB::readIPv6TextImpl(DB::IPv6&, DB::ReadBuffer&) @ 0x000000000b609ffb in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:891: DB::readIPv6Text(DB::IPv6&, DB::ReadBuffer&) @ 0x000000000b609edd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1101: void DB::parseImpl(DB::DataTypeIPv6::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b629ab1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b6299a6 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b624eb8 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b60ded9 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b60ce35 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b60bf9e in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001ebc8b97 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 2024.12.17 01:19:54.085610 [ 8669 ] {98684520-9430-4ff7-9464-e5aeea30ef99} executeQuery: Code: 676. DB::ParsingException: Cannot parse IPv6 : Cannot parse IPv6 from String: while executing 'FUNCTION toIPv6(ip : 0) -> toIPv6(ip) IPv6 : 2'. (CANNOT_PARSE_IPV6) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40784) (comment: 02244_ip_address_invalid_insert.sql) (in query: INSERT INTO test_table_ipv6_materialized(ip) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x000000000b5e0013 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:884: void DB::readIPv6TextImpl(DB::IPv6&, DB::ReadBuffer&) @ 0x000000000b609ffb in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:891: DB::readIPv6Text(DB::IPv6&, DB::ReadBuffer&) @ 0x000000000b609edd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1101: void DB::parseImpl(DB::DataTypeIPv6::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b629ab1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b6299a6 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b624eb8 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b60ded9 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b60ce35 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b60bf9e in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001ebc8b97 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 2024.12.17 01:19:54.086967 [ 8669 ] {98684520-9430-4ff7-9464-e5aeea30ef99} TCPHandler: Code: 676. DB::ParsingException: Cannot parse IPv6 : Cannot parse IPv6 from String: while executing 'FUNCTION toIPv6(ip : 0) -> toIPv6(ip) IPv6 : 2'. (CANNOT_PARSE_IPV6), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException>>(int, FormatStringHelperImpl>>::type>, std::basic_string_view>&&) @ 0x000000000b5e0013 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.h:884: void DB::readIPv6TextImpl(DB::IPv6&, DB::ReadBuffer&) @ 0x000000000b609ffb in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:891: DB::readIPv6Text(DB::IPv6&, DB::ReadBuffer&) @ 0x000000000b609edd in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1101: void DB::parseImpl(DB::DataTypeIPv6::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b629ab1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b6299a6 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b624eb8 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b60ded9 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b60ce35 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b60bf9e in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:39: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001ebc8b97 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 30. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 2024.12.17 01:20:00.452404 [ 8670 ] {ab2105d8-6218-4781-8276-48f0fa9e2949} executeQuery: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/store/3ce/3ce09b10-36fe-4bd4-a057-7069884c9e9d/all_0_0_0/ab.proj/data.bin, errno: 2, strerror: No such file or directory: (while reading from part /var/lib/clickhouse/store/3ce/3ce09b10-36fe-4bd4-a057-7069884c9e9d/all_0_0_0/ab.proj/ in table test_367objv4.projection_broken_parts_1 (3ce09b10-36fe-4bd4-a057-7069884c9e9d) located on disk default of type local, from mark 0 with max_rows_to_read = 1): While executing MergeTreeInOrder. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40974) (comment: 02254_projection_broken_part.sh) (in query: select 3, sum(b) from projection_broken_parts_1 group by a format Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:169: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x00000000138e14f0 in /usr/bin/clickhouse 6. /build/src/Common/Exception.cpp:224: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x00000000138dcc9b in /usr/bin/clickhouse 7. /build/src/IO/OpenedFile.cpp:33: DB::OpenedFile::open() const @ 0x000000001ac284ee in /usr/bin/clickhouse 8. /build/src/IO/OpenedFile.cpp:41: DB::OpenedFile::getFD() const @ 0x000000001ac28558 in /usr/bin/clickhouse 9. /build/src/IO/ReadBufferFromFile.h:99: DB::ReadBufferFromFilePReadWithDescriptorsCache::ReadBufferFromFilePReadWithDescriptorsCache(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x000000001ac1b008 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&>(String const&, unsigned long&, int&, char*&, unsigned long&, std::optional&, std::shared_ptr const&) @ 0x000000001ac1a9ac in /usr/bin/clickhouse 11. /build/src/Disks/IO/createReadBufferFromFileBase.cpp:91: DB::createReadBufferFromFileBase(String const&, DB::ReadSettings const&, std::optional, std::optional, int, char*, unsigned long)::$_1::operator()(unsigned long, unsigned long, int) const @ 0x000000001ac19f67 in /usr/bin/clickhouse 12. /build/src/Disks/IO/createReadBufferFromFileBase.cpp:216: DB::createReadBufferFromFileBase(String const&, DB::ReadSettings const&, std::optional, std::optional, int, char*, unsigned long) @ 0x000000001ac19dfc in /usr/bin/clickhouse 13. /build/src/Disks/DiskLocal.cpp:335: DB::DiskLocal::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000001bb79d87 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000001dd3de57 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeReaderCompact.cpp:76: DB::MergeTreeReaderCompact::initialize()::$_0::operator()() const @ 0x000000001e0fc04f in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::MergeTreeReaderCompact::initialize()::$_0&) @ 0x000000001e0fbf95 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call(DB::MergeTreeReaderCompact::initialize()::$_0&) @ 0x000000001e0fbf55 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> ()>::operator()[abi:v15000]() @ 0x000000001e0fbf15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> ()>::__call_impl> ()>>(std::__function::__policy_storage const*) @ 0x000000001e0fbee0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> ()>::operator()[abi:v15000]() const @ 0x000000001ae568d6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> ()>::operator()() const @ 0x000000001ae53bd5 in /usr/bin/clickhouse 22. /build/src/Compression/CachedCompressedReadBuffer.cpp:22: DB::CachedCompressedReadBuffer::initInput() @ 0x000000001e106eb8 in /usr/bin/clickhouse 23. /build/src/Compression/CachedCompressedReadBuffer.h:64: DB::CachedCompressedReadBuffer::setReadUntilPosition(unsigned long) @ 0x000000001e109c3d in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/MergeTreeReaderCompact.cpp:451: DB::MergeTreeReaderCompact::adjustUpperBound(unsigned long) @ 0x000000001e0fab90 in /usr/bin/clickhouse 25. /build/src/Storages/MergeTree/MergeTreeReaderCompact.cpp:281: DB::MergeTreeReaderCompact::readData(DB::NameAndTypePair const&, COW::immutable_ptr&, unsigned long, unsigned long, unsigned long, unsigned long, std::optional>) @ 0x000000001e0fa138 in /usr/bin/clickhouse 26. /build/src/Storages/MergeTree/MergeTreeReaderCompact.cpp:234: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000001e0f9c6e in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:105: DB::MergeTreeRangeReader::DelayedStream::readRows(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, unsigned long) @ 0x000000001e13588c in /usr/bin/clickhouse 28. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:179: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000001e135b64 in /usr/bin/clickhouse 29. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:291: DB::MergeTreeRangeReader::Stream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000001e136425 in /usr/bin/clickhouse 30. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1147: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000001e13ffb1 in /usr/bin/clickhouse 31. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1036: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13e6e6 in /usr/bin/clickhouse 2024.12.17 01:20:00.591550 [ 8670 ] {ab2105d8-6218-4781-8276-48f0fa9e2949} TCPHandler: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/store/3ce/3ce09b10-36fe-4bd4-a057-7069884c9e9d/all_0_0_0/ab.proj/data.bin, errno: 2, strerror: No such file or directory: (while reading from part /var/lib/clickhouse/store/3ce/3ce09b10-36fe-4bd4-a057-7069884c9e9d/all_0_0_0/ab.proj/ in table test_367objv4.projection_broken_parts_1 (3ce09b10-36fe-4bd4-a057-7069884c9e9d) located on disk default of type local, from mark 0 with max_rows_to_read = 1): While executing MergeTreeInOrder. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:169: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x00000000138e14f0 in /usr/bin/clickhouse 6. /build/src/Common/Exception.cpp:224: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x00000000138dcc9b in /usr/bin/clickhouse 7. /build/src/IO/OpenedFile.cpp:33: DB::OpenedFile::open() const @ 0x000000001ac284ee in /usr/bin/clickhouse 8. /build/src/IO/OpenedFile.cpp:41: DB::OpenedFile::getFD() const @ 0x000000001ac28558 in /usr/bin/clickhouse 9. /build/src/IO/ReadBufferFromFile.h:99: DB::ReadBufferFromFilePReadWithDescriptorsCache::ReadBufferFromFilePReadWithDescriptorsCache(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x000000001ac1b008 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&>(String const&, unsigned long&, int&, char*&, unsigned long&, std::optional&, std::shared_ptr const&) @ 0x000000001ac1a9ac in /usr/bin/clickhouse 11. /build/src/Disks/IO/createReadBufferFromFileBase.cpp:91: DB::createReadBufferFromFileBase(String const&, DB::ReadSettings const&, std::optional, std::optional, int, char*, unsigned long)::$_1::operator()(unsigned long, unsigned long, int) const @ 0x000000001ac19f67 in /usr/bin/clickhouse 12. /build/src/Disks/IO/createReadBufferFromFileBase.cpp:216: DB::createReadBufferFromFileBase(String const&, DB::ReadSettings const&, std::optional, std::optional, int, char*, unsigned long) @ 0x000000001ac19dfc in /usr/bin/clickhouse 13. /build/src/Disks/DiskLocal.cpp:335: DB::DiskLocal::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000001bb79d87 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000001dd3de57 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeReaderCompact.cpp:76: DB::MergeTreeReaderCompact::initialize()::$_0::operator()() const @ 0x000000001e0fc04f in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::MergeTreeReaderCompact::initialize()::$_0&) @ 0x000000001e0fbf95 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call(DB::MergeTreeReaderCompact::initialize()::$_0&) @ 0x000000001e0fbf55 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> ()>::operator()[abi:v15000]() @ 0x000000001e0fbf15 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> ()>::__call_impl> ()>>(std::__function::__policy_storage const*) @ 0x000000001e0fbee0 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> ()>::operator()[abi:v15000]() const @ 0x000000001ae568d6 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> ()>::operator()() const @ 0x000000001ae53bd5 in /usr/bin/clickhouse 22. /build/src/Compression/CachedCompressedReadBuffer.cpp:22: DB::CachedCompressedReadBuffer::initInput() @ 0x000000001e106eb8 in /usr/bin/clickhouse 23. /build/src/Compression/CachedCompressedReadBuffer.h:64: DB::CachedCompressedReadBuffer::setReadUntilPosition(unsigned long) @ 0x000000001e109c3d in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/MergeTreeReaderCompact.cpp:451: DB::MergeTreeReaderCompact::adjustUpperBound(unsigned long) @ 0x000000001e0fab90 in /usr/bin/clickhouse 25. /build/src/Storages/MergeTree/MergeTreeReaderCompact.cpp:281: DB::MergeTreeReaderCompact::readData(DB::NameAndTypePair const&, COW::immutable_ptr&, unsigned long, unsigned long, unsigned long, unsigned long, std::optional>) @ 0x000000001e0fa138 in /usr/bin/clickhouse 26. /build/src/Storages/MergeTree/MergeTreeReaderCompact.cpp:234: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000001e0f9c6e in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:105: DB::MergeTreeRangeReader::DelayedStream::readRows(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, unsigned long) @ 0x000000001e13588c in /usr/bin/clickhouse 28. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:179: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000001e135b64 in /usr/bin/clickhouse 29. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:291: DB::MergeTreeRangeReader::Stream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000001e136425 in /usr/bin/clickhouse 30. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1147: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000001e13ffb1 in /usr/bin/clickhouse 31. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1036: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13e6e6 in /usr/bin/clickhouse 2024.12.17 01:20:00.591701 [ 825 ] {} test_367objv4.projection_broken_parts_1 (ReplicatedMergeTreePartCheckThread): ReplicatedCheckResult DB::ReplicatedMergeTreePartCheckThread::checkPartImpl(const String &): Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/store/3ce/3ce09b10-36fe-4bd4-a057-7069884c9e9d/all_0_0_0/ab.proj/data.bin, errno: 2, strerror: No such file or directory. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:169: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x00000000138e14f0 in /usr/bin/clickhouse 6. /build/src/Common/Exception.cpp:224: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x00000000138dcc9b in /usr/bin/clickhouse 7. /build/src/IO/OpenedFile.cpp:33: DB::OpenedFile::open() const @ 0x000000001ac284ee in /usr/bin/clickhouse 8. /build/src/IO/OpenedFile.cpp:41: DB::OpenedFile::getFD() const @ 0x000000001ac28558 in /usr/bin/clickhouse 9. /build/src/IO/ReadBufferFromFile.h:99: DB::ReadBufferFromFilePReadWithDescriptorsCache::ReadBufferFromFilePReadWithDescriptorsCache(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x000000001ac1b008 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr const&>(String const&, unsigned long&, int&, char*&, unsigned long&, std::optional&, std::shared_ptr const&) @ 0x000000001ac1a9ac in /usr/bin/clickhouse 11. /build/src/Disks/IO/createReadBufferFromFileBase.cpp:91: DB::createReadBufferFromFileBase(String const&, DB::ReadSettings const&, std::optional, std::optional, int, char*, unsigned long)::$_1::operator()(unsigned long, unsigned long, int) const @ 0x000000001ac19f67 in /usr/bin/clickhouse 12. /build/src/Disks/IO/createReadBufferFromFileBase.cpp:216: DB::createReadBufferFromFileBase(String const&, DB::ReadSettings const&, std::optional, std::optional, int, char*, unsigned long) @ 0x000000001ac19dfc in /usr/bin/clickhouse 13. /build/src/Disks/DiskLocal.cpp:335: DB::DiskLocal::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000001bb79d87 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000001dd3de57 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/checkDataPart.cpp:142: DB::checkDataPart(std::shared_ptr, DB::IDataPartStorage const&, DB::NamesAndTypesList const&, DB::MergeTreeDataPartType const&, std::unordered_set, std::equal_to, std::allocator> const&, DB::ReadSettings const&, bool, std::function)::$_2::operator()(String const&) const @ 0x000000001e34f764 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/checkDataPart.cpp:154: DB::checkDataPart(std::shared_ptr, DB::IDataPartStorage const&, DB::NamesAndTypesList const&, DB::MergeTreeDataPartType const&, std::unordered_set, std::equal_to, std::allocator> const&, DB::ReadSettings const&, bool, std::function) @ 0x000000001e34da18 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/checkDataPart.cpp:226: DB::checkDataPart(std::shared_ptr, DB::IDataPartStorage const&, DB::NamesAndTypesList const&, DB::MergeTreeDataPartType const&, std::unordered_set, std::equal_to, std::allocator> const&, DB::ReadSettings const&, bool, std::function) @ 0x000000001e34e769 in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/checkDataPart.cpp:314: DB::checkDataPart(std::shared_ptr, bool, std::function) @ 0x000000001e34d0e8 in /usr/bin/clickhouse 19. /build/src/Storages/MergeTree/ReplicatedMergeTreePartCheckThread.cpp:363: DB::ReplicatedMergeTreePartCheckThread::checkPartImpl(String const&) @ 0x000000001e2a6648 in /usr/bin/clickhouse 20. /build/src/Storages/MergeTree/ReplicatedMergeTreePartCheckThread.cpp:433: DB::ReplicatedMergeTreePartCheckThread::checkPartAndFix(String const&, std::optional*) @ 0x000000001e2a892b in /usr/bin/clickhouse 21. /build/src/Storages/MergeTree/ReplicatedMergeTreePartCheckThread.cpp:573: DB::ReplicatedMergeTreePartCheckThread::run() @ 0x000000001e2ab500 in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/ReplicatedMergeTreePartCheckThread.cpp:33: DB::ReplicatedMergeTreePartCheckThread::ReplicatedMergeTreePartCheckThread(DB::StorageReplicatedMergeTree&)::$_0::operator()() const @ 0x000000001e2ac358 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ReplicatedMergeTreePartCheckThread::ReplicatedMergeTreePartCheckThread(DB::StorageReplicatedMergeTree&)::$_0&) @ 0x000000001e2ac335 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ReplicatedMergeTreePartCheckThread::ReplicatedMergeTreePartCheckThread(DB::StorageReplicatedMergeTree&)::$_0&) @ 0x000000001e2ac315 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e2ac2f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e2ac2bd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Core/BackgroundSchedulePool.cpp:104: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000001b3d233d in /usr/bin/clickhouse 30. /build/src/Core/BackgroundSchedulePool.cpp:302: DB::BackgroundSchedulePool::threadFunction() @ 0x000000001b3d5126 in /usr/bin/clickhouse 31. /build/src/Core/BackgroundSchedulePool.cpp:168: DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0::operator()() const @ 0x000000001b3d6018 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:20:00.592244 [ 825 ] {} test_367objv4.projection_broken_parts_1 (ReplicatedMergeTreePartCheckThread): Part all_0_0_0 looks broken. Removing it and will try to fetch. 2024.12.17 01:20:00.592386 [ 825 ] {} test_367objv4.projection_broken_parts_1 (ReplicatedMergeTreePartCheckThread): Part all_0_0_0 exists in ZooKeeper and the local part was broken. Detaching it, removing from ZooKeeper and queueing a fetch. 2024.12.17 01:20:00.595849 [ 825 ] {} test_367objv4.projection_broken_parts_1 (3ce09b10-36fe-4bd4-a057-7069884c9e9d): Detached 1 parts covered by broken part all_0_0_0: all_0_0_0 2024.12.17 01:20:00.608833 [ 833 ] {} test_367objv4.projection_broken_parts_1 (3ce09b10-36fe-4bd4-a057-7069884c9e9d): Cannot quickly remove directory /var/lib/clickhouse/store/3ce/3ce09b10-36fe-4bd4-a057-7069884c9e9d/delete_tmp_all_0_0_0/ab.proj by removing files; fallback to recursive removal. Reason: Code: 458. DB::ErrnoException: Cannot unlink file /var/lib/clickhouse/store/3ce/3ce09b10-36fe-4bd4-a057-7069884c9e9d/delete_tmp_all_0_0_0/ab.proj/data.bin, errno: 2, strerror: No such file or directory. (CANNOT_UNLINK) (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:20:06.633487 [ 2389 ] {3ccea127-3e9d-4e62-82f3-360cc83707af} ReadWriteBufferFromHTTP: HTTP request (positioned) to `http://[2001:3984:3989::242:ac11:2]:40911/` with range [20, 30) failed at try 1/10: Expected 206 Partial Content, got 200 when reading http://[2001:3984:3989::242:ac11:2]:40911/ range [20, 30) 2024.12.17 01:20:06.633897 [ 2355 ] {3ccea127-3e9d-4e62-82f3-360cc83707af} ReadWriteBufferFromHTTP: HTTP request (positioned) to `http://[2001:3984:3989::242:ac11:2]:40911/` with range [30, 40) failed at try 1/10: Received error from remote server /. HTTP status code: 500 Internal Server Error, body: ": 5480124 2024.12.17 01:20:06.802773 [ 6043 ] {fb849632-0052-43fc-9b02-65b773a008b8} executeQuery: Code: 6. DB::Exception: Cannot parse string 'inter' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while converting source column `'inter'` to destination column inter. (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52586) (comment: 02233_interpolate_1.sql) (in query: # Test INTERPOLATE with incompatible const - should produce error SELECT n, source, inter FROM ( SELECT toFloat32(number % 10) AS n, 'original' AS source, number as inter FROM numbers(10) WHERE number % 3 = 1 ) ORDER BY n WITH FILL FROM 0 TO 11.51 STEP 0.5 INTERPOLATE (inter AS 'inter');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2ee5b7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2e9278 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2d7999 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d6cc8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d5ede in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b236a10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2369a6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b236940 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2368e0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b23688b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 2024.12.17 01:20:06.803920 [ 6043 ] {fb849632-0052-43fc-9b02-65b773a008b8} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'inter' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while converting source column `'inter'` to destination column inter. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2ee5b7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2e9278 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2d7999 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d6cc8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d5ede in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b236a10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2369a6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b236940 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2368e0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b23688b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 2024.12.17 01:20:06.964596 [ 6043 ] {1c2c2992-954e-4d30-aed5-2b1957dae044} executeQuery: Code: 44. DB::Exception: Illegal column UInt64 of argument of function concat: while executing 'FUNCTION concat(inter :: 0, 'inter' :: 1) -> concat(inter, 'inter') String : 3'. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52586) (comment: 02233_interpolate_1.sql) (in query: # Test INTERPOLATE with incompatible expression - should produce error SELECT n, source, inter FROM ( SELECT toFloat32(number % 10) AS n, 'original' AS source, number as inter FROM numbers(10) WHERE number % 3 = 1 ) ORDER BY n WITH FILL FROM 0 TO 11.51 STEP 0.5 INTERPOLATE (inter AS inter||'inter');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:148: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x000000000d9122dd in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:110: DB::(anonymous namespace)::ConcatImpl::executeBinary(std::vector> const&, unsigned long) const @ 0x000000000d911e51 in /usr/bin/clickhouse 8. /build/src/Functions/concat.cpp:81: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d91165f in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8394e in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/FillingTransform.cpp:344: DB::FillingTransform::interpolate(std::vector::mutable_ptr, std::allocator::mutable_ptr>> const&, DB::Block&) @ 0x000000001ee3696a in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/FillingTransform.cpp:590: DB::FillingTransform::transformRange(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector::mutable_ptr, std::allocator::mutable_ptr>> const&, std::vector> const&, std::vector> const&, std::vector> const&, std::vector> const&, std::pair, bool) @ 0x000000001ee38004 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/FillingTransform.cpp:729: DB::FillingTransform::transform(DB::Chunk&) @ 0x000000001ee390aa in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 2024.12.17 01:20:06.966684 [ 6043 ] {1c2c2992-954e-4d30-aed5-2b1957dae044} TCPHandler: Code: 44. DB::Exception: Illegal column UInt64 of argument of function concat: while executing 'FUNCTION concat(inter :: 0, 'inter' :: 1) -> concat(inter, 'inter') String : 3'. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/concat.cpp:148: DB::(anonymous namespace)::ConcatImpl::executeFormatImpl(std::vector> const&, unsigned long) const @ 0x000000000d9122dd in /usr/bin/clickhouse 7. /build/src/Functions/concat.cpp:110: DB::(anonymous namespace)::ConcatImpl::executeBinary(std::vector> const&, unsigned long) const @ 0x000000000d911e51 in /usr/bin/clickhouse 8. /build/src/Functions/concat.cpp:81: DB::(anonymous namespace)::ConcatImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d91165f in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8394e in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/FillingTransform.cpp:344: DB::FillingTransform::interpolate(std::vector::mutable_ptr, std::allocator::mutable_ptr>> const&, DB::Block&) @ 0x000000001ee3696a in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/FillingTransform.cpp:590: DB::FillingTransform::transformRange(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector::mutable_ptr, std::allocator::mutable_ptr>> const&, std::vector> const&, std::vector> const&, std::vector> const&, std::vector> const&, std::pair, bool) @ 0x000000001ee38004 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/FillingTransform.cpp:729: DB::FillingTransform::transform(DB::Chunk&) @ 0x000000001ee390aa in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 2024.12.17 01:20:07.152811 [ 6043 ] {dcb10f7f-682e-436d-83e0-995471716d60} executeQuery: Code: 475. DB::Exception: Column 'n' is participating in ORDER BY ... WITH FILL expression and can't be INTERPOLATE output. (INVALID_WITH_FILL_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52586) (comment: 02233_interpolate_1.sql) (in query: # Test INTERPOLATE with column from WITH FILL expression - should produce error SELECT n, source, inter FROM ( SELECT toFloat32(number % 10) AS n, 'original' AS source, number as inter FROM numbers(10) WHERE number % 3 = 1 ) ORDER BY n WITH FILL FROM 0 TO 11.51 STEP 0.5 INTERPOLATE (n AS n);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/FillingTransform.cpp:210: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001ee3282b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::FillingTransform* std::construct_at[abi:v15000], bool const&, DB::FillingTransform*>(DB::FillingTransform*, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee31df8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], bool const&, void, void>(std::allocator&, DB::FillingTransform*, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee31b61 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], bool const&>(std::allocator, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee3184d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee316a0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], bool const&, void>(DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee30a86 in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/FillingStep.cpp:53: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x000000001ee307f1 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee30747 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee30705 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee306c5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000001ee3066c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) const @ 0x000000001b83c508 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::Block const&, DB::Pipe::StreamType)>::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x000000001b83c484 in /usr/bin/clickhouse 19. /build/src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x000000001b82a8ae in /usr/bin/clickhouse 20. /build/src/QueryPipeline/Pipe.cpp:658: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x000000001b82a796 in /usr/bin/clickhouse 21. /build/src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x000000001b8590ce in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/FillingStep.cpp:48: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee30142 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee50adc in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 01:20:07.154041 [ 6043 ] {dcb10f7f-682e-436d-83e0-995471716d60} TCPHandler: Code: 475. DB::Exception: Column 'n' is participating in ORDER BY ... WITH FILL expression and can't be INTERPOLATE output. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/FillingTransform.cpp:210: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001ee3282b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::FillingTransform* std::construct_at[abi:v15000], bool const&, DB::FillingTransform*>(DB::FillingTransform*, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee31df8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], bool const&, void, void>(std::allocator&, DB::FillingTransform*, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee31b61 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], bool const&>(std::allocator, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee3184d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr, bool const&, void>(std::allocator const&, DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee316a0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], bool const&, void>(DB::Block const&, DB::SortDescription&, DB::SortDescription&, std::shared_ptr&&, bool const&) @ 0x000000001ee30a86 in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/FillingStep.cpp:53: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x000000001ee307f1 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee30747 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&)::$_0&, DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee30705 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) @ 0x000000001ee306c5 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000001ee3066c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::Block const&, DB::Pipe::StreamType)>::operator()[abi:v15000](DB::Block const&, DB::Pipe::StreamType&&) const @ 0x000000001b83c508 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::Block const&, DB::Pipe::StreamType)>::operator()(DB::Block const&, DB::Pipe::StreamType) const @ 0x000000001b83c484 in /usr/bin/clickhouse 19. /build/src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x000000001b82a8ae in /usr/bin/clickhouse 20. /build/src/QueryPipeline/Pipe.cpp:658: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x000000001b82a796 in /usr/bin/clickhouse 21. /build/src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x000000001b8590ce in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/FillingStep.cpp:48: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee30142 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee50adc in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 01:20:07.286644 [ 6043 ] {7e2e6806-c3bc-4214-b8e0-013a39dac08d} executeQuery: Code: 32. DB::Exception: Attempt to read after eof: Cannot parse UInt64 from String, because value is too short: while converting source column source to destination column inter: while executing 'FUNCTION _CAST(source :: 0, UInt64 :: 1) -> _CAST(source, UInt64) UInt64 : 2'. (ATTEMPT_TO_READ_AFTER_EOF) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52586) (comment: 02233_interpolate_1.sql) (in query: # Test INTERPOLATE with inconsistent column - should produce error SELECT n, source, inter FROM ( SELECT toFloat32(number % 10) AS n, 'original' AS source, number as inter FROM numbers(10) WHERE number % 3 = 1 ) ORDER BY n WITH FILL FROM 0 TO 11.51 STEP 0.5 INTERPOLATE (inter AS source);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [26]) @ 0x000000000b5dfa5e in /usr/bin/clickhouse 6. /build/src/IO/VarInt.cpp:13: DB::throwReadAfterEOF() @ 0x0000000013998b91 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:325: void DB::readIntTextImpl(unsigned long&, DB::ReadBuffer&) @ 0x000000000b2ee804 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:466: void DB::readIntText<(DB::ReadIntTextCheckOverflow)0, unsigned long>(unsigned long&, DB::ReadBuffer&) @ 0x000000000b2ee75d in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:1160: void DB::readText(unsigned long&, DB::ReadBuffer&) @ 0x000000000b2ee71d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1052: void DB::parseImpl>(DB::DataTypeNumber::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b2ee668 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2ee566 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2e9278 in /usr/bin/clickhouse 13. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2d7999 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d6cc8 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d5ede in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b236a10 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2369a6 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b236940 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2368e0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b23688b in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 28. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 2024.12.17 01:20:07.288580 [ 6043 ] {7e2e6806-c3bc-4214-b8e0-013a39dac08d} TCPHandler: Code: 32. DB::Exception: Attempt to read after eof: Cannot parse UInt64 from String, because value is too short: while converting source column source to destination column inter: while executing 'FUNCTION _CAST(source :: 0, UInt64 :: 1) -> _CAST(source, UInt64) UInt64 : 2'. (ATTEMPT_TO_READ_AFTER_EOF), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [26]) @ 0x000000000b5dfa5e in /usr/bin/clickhouse 6. /build/src/IO/VarInt.cpp:13: DB::throwReadAfterEOF() @ 0x0000000013998b91 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:325: void DB::readIntTextImpl(unsigned long&, DB::ReadBuffer&) @ 0x000000000b2ee804 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:466: void DB::readIntText<(DB::ReadIntTextCheckOverflow)0, unsigned long>(unsigned long&, DB::ReadBuffer&) @ 0x000000000b2ee75d in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:1160: void DB::readText(unsigned long&, DB::ReadBuffer&) @ 0x000000000b2ee71d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1052: void DB::parseImpl>(DB::DataTypeNumber::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b2ee668 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2ee566 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2e9278 in /usr/bin/clickhouse 13. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2d7999 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d6cc8 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2d5ede in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b236a10 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2369a6 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b236940 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2368e0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b23688b in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 28. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 2024.12.17 01:20:10.778905 [ 8669 ] {be47017b-9d89-4271-847a-176792d740f6} executeQuery: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48702) (comment: 02224_parallel_distributed_insert_select_cluster.sql) (in query: insert into function cluster('test_cluster_two_shards', currentDatabase(), dst_02224, key) select * from cluster('test_cluster_two_shards', currentDatabase(), src_02224, key) settings parallel_distributed_insert_select=1, max_distributed_depth=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b20281e in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1026: DB::StorageDistributed::distributedWrite(DB::ASTInsertQuery const&, std::shared_ptr) @ 0x000000001d65c1a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:402: DB::InterpreterInsertQuery::execute() @ 0x000000001ca80302 in /usr/bin/clickhouse 8. /build/src/Storages/StorageDistributed.cpp:931: DB::StorageDistributed::distributedWriteBetweenDistributedTables(DB::StorageDistributed const&, DB::ASTInsertQuery const&, std::shared_ptr) const @ 0x000000001d65aca4 in /usr/bin/clickhouse 9. /build/src/Storages/StorageDistributed.cpp:1052: DB::StorageDistributed::distributedWrite(DB::ASTInsertQuery const&, std::shared_ptr) @ 0x000000001d65c4d2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:402: DB::InterpreterInsertQuery::execute() @ 0x000000001ca80302 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:10.779973 [ 8669 ] {be47017b-9d89-4271-847a-176792d740f6} TCPHandler: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b20281e in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1026: DB::StorageDistributed::distributedWrite(DB::ASTInsertQuery const&, std::shared_ptr) @ 0x000000001d65c1a1 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:402: DB::InterpreterInsertQuery::execute() @ 0x000000001ca80302 in /usr/bin/clickhouse 8. /build/src/Storages/StorageDistributed.cpp:931: DB::StorageDistributed::distributedWriteBetweenDistributedTables(DB::StorageDistributed const&, DB::ASTInsertQuery const&, std::shared_ptr) const @ 0x000000001d65aca4 in /usr/bin/clickhouse 9. /build/src/Storages/StorageDistributed.cpp:1052: DB::StorageDistributed::distributedWrite(DB::ASTInsertQuery const&, std::shared_ptr) @ 0x000000001d65c4d2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:402: DB::InterpreterInsertQuery::execute() @ 0x000000001ca80302 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:10.883921 [ 8670 ] {33515dd7-5320-406e-aa6f-f04efa41a610} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48716) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:10.884824 [ 8670 ] {33515dd7-5320-406e-aa6f-f04efa41a610} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:11.790731 [ 8669 ] {d18a631f-a53d-4a7a-846e-d1604f5ad039} executeQuery: Code: 117. DB::Exception: Incorrect H3 index: 9223372036854775807, error: 5: while executing 'FUNCTION h3CellAreaM2(arrayJoin([9223372036854775807, 65535, NULL]) :: 4) -> h3CellAreaM2(arrayJoin([9223372036854775807, 65535, NULL])) Nullable(Float64) : 0'. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48750) (comment: 02223_h3_test_const_columns.sql) (in query: SELECT NULL, toFloat64('-1'), -2147483648, h3CellAreaM2(arrayJoin([9223372036854775807, 65535, NULL]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned int&) @ 0x000000000eeca40c in /usr/bin/clickhouse 6. /build/src/Functions/h3CellAreaM2.cpp:82: DB::(anonymous namespace)::FunctionH3CellAreaM2::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000eec9c88 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:199: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb97c in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:241: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb44a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 17. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 2024.12.17 01:20:11.792008 [ 8669 ] {d18a631f-a53d-4a7a-846e-d1604f5ad039} TCPHandler: Code: 117. DB::Exception: Incorrect H3 index: 9223372036854775807, error: 5: while executing 'FUNCTION h3CellAreaM2(arrayJoin([9223372036854775807, 65535, NULL]) :: 4) -> h3CellAreaM2(arrayJoin([9223372036854775807, 65535, NULL])) Nullable(Float64) : 0'. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned int&) @ 0x000000000eeca40c in /usr/bin/clickhouse 6. /build/src/Functions/h3CellAreaM2.cpp:82: DB::(anonymous namespace)::FunctionH3CellAreaM2::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000eec9c88 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:199: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb97c in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:241: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb44a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 17. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 2024.12.17 01:20:11.954942 [ 8669 ] {713e5684-e04e-4051-83da-ebeb7e97d412} executeQuery: Code: 117. DB::Exception: Incorrect H3 index: 9223372036854775807, error: 5: while executing 'FUNCTION h3CellAreaRads2(arrayJoin([9223372036854775807, 65535, NULL]) :: 4) -> h3CellAreaRads2(arrayJoin([9223372036854775807, 65535, NULL])) Nullable(Float64) : 0'. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48750) (comment: 02223_h3_test_const_columns.sql) (in query: SELECT NULL, toFloat64('-1'), -2147483648, h3CellAreaRads2(arrayJoin([9223372036854775807, 65535, NULL]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned int&) @ 0x000000000eeca40c in /usr/bin/clickhouse 6. /build/src/Functions/h3CellAreaRads2.cpp:81: DB::(anonymous namespace)::FunctionH3CellAreaRads2::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000eecb7a8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:199: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb97c in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:241: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb44a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 17. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 2024.12.17 01:20:11.956265 [ 8669 ] {713e5684-e04e-4051-83da-ebeb7e97d412} TCPHandler: Code: 117. DB::Exception: Incorrect H3 index: 9223372036854775807, error: 5: while executing 'FUNCTION h3CellAreaRads2(arrayJoin([9223372036854775807, 65535, NULL]) :: 4) -> h3CellAreaRads2(arrayJoin([9223372036854775807, 65535, NULL])) Nullable(Float64) : 0'. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned int&) @ 0x000000000eeca40c in /usr/bin/clickhouse 6. /build/src/Functions/h3CellAreaRads2.cpp:81: DB::(anonymous namespace)::FunctionH3CellAreaRads2::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000eecb7a8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:199: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb97c in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:241: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb44a in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 17. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 2024.12.17 01:20:12.451095 [ 8669 ] {1d9974e9-3e66-4fb3-8020-51eefff0cf93} executeQuery: Code: 117. DB::Exception: Incorrect arguments h3Index: 579205133326352383, k: 1, error: 1: while executing 'FUNCTION h3HexRing(arrayJoin([579205133326352383]) :: 2, arrayJoin(array(toUInt16(1), toUInt16(2), toUInt16(3))) :: 0) -> h3HexRing(arrayJoin([579205133326352383]), arrayJoin(array(toUInt16(1), toUInt16(2), toUInt16(3)))) Array(UInt64) : 1'. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48750) (comment: 02223_h3_test_const_columns.sql) (in query: SELECT h3HexRing(arrayJoin([579205133326352383]), arrayJoin([toUInt16(1),toUInt16(2),toUInt16(3)]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, int const&, unsigned int&) @ 0x000000000eeedfa8 in /usr/bin/clickhouse 6. /build/src/Functions/h3HexRing.cpp:134: DB::(anonymous namespace)::FunctionH3HexRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000eeed3ee in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 14. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 2024.12.17 01:20:12.452255 [ 8669 ] {1d9974e9-3e66-4fb3-8020-51eefff0cf93} TCPHandler: Code: 117. DB::Exception: Incorrect arguments h3Index: 579205133326352383, k: 1, error: 1: while executing 'FUNCTION h3HexRing(arrayJoin([579205133326352383]) :: 2, arrayJoin(array(toUInt16(1), toUInt16(2), toUInt16(3))) :: 0) -> h3HexRing(arrayJoin([579205133326352383]), arrayJoin(array(toUInt16(1), toUInt16(2), toUInt16(3)))) Array(UInt64) : 1'. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, int const&, unsigned int&) @ 0x000000000eeedfa8 in /usr/bin/clickhouse 6. /build/src/Functions/h3HexRing.cpp:134: DB::(anonymous namespace)::FunctionH3HexRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000eeed3ee in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 14. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 2024.12.17 01:20:18.385814 [ 1121 ] {006b4776-52c5-412e-9b10-a050cea665dd} executeQuery: Code: 36. DB::Exception: Engine Distributed doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48988) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE distributed_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c39c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:18.386533 [ 1121 ] {006b4776-52c5-412e-9b10-a050cea665dd} TCPHandler: Code: 36. DB::Exception: Engine Distributed doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c39c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:18.422600 [ 1121 ] {524a1fa4-6681-4b2a-87e7-bd5399b776a5} executeQuery: Code: 36. DB::Exception: Engine Buffer doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48988) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE buffer_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c39c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:18.423160 [ 1121 ] {524a1fa4-6681-4b2a-87e7-bd5399b776a5} TCPHandler: Code: 36. DB::Exception: Engine Buffer doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c39c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:18.459465 [ 1121 ] {985d4fb6-899c-41bb-930c-c3ff5e753ac3} executeQuery: Code: 36. DB::Exception: Engine Merge doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48988) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE merge_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c39c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:18.460261 [ 1121 ] {985d4fb6-899c-41bb-930c-c3ff5e753ac3} TCPHandler: Code: 36. DB::Exception: Engine Merge doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c39c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:18.491436 [ 1121 ] {a3a99798-99a7-4c1a-8551-94aa2219a835} executeQuery: Code: 36. DB::Exception: Engine Null doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48988) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE null_02184 MODIFY COLUMN dummy Int TTL now() + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c39c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:18.492322 [ 1121 ] {a3a99798-99a7-4c1a-8551-94aa2219a835} TCPHandler: Code: 36. DB::Exception: Engine Null doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c39c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:18.533386 [ 1121 ] {36b364ca-487e-42de-8bdb-ef68e05c57bd} executeQuery: Code: 36. DB::Exception: Engine File doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48988) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE file_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c39c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:18.534301 [ 1121 ] {36b364ca-487e-42de-8bdb-ef68e05c57bd} TCPHandler: Code: 36. DB::Exception: Engine File doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c39c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:18.566752 [ 1121 ] {e9edd123-9e41-403b-8e0c-0b8bd7853f71} executeQuery: Code: 36. DB::Exception: Engine Memory doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48988) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE memory_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c39c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:18.567454 [ 1121 ] {e9edd123-9e41-403b-8e0c-0b8bd7853f71} TCPHandler: Code: 36. DB::Exception: Engine Memory doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c39c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:18.597161 [ 1121 ] {a4b23123-7b0a-4b55-85eb-3149ffcddb7f} executeQuery: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48988) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE log_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c39c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:18.597754 [ 1121 ] {a4b23123-7b0a-4b55-85eb-3149ffcddb7f} TCPHandler: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c39c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:18.627368 [ 1121 ] {a0b17da8-58eb-491b-a844-a76fa27fd8eb} executeQuery: Code: 36. DB::Exception: Engine TinyLog doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48988) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE ting_log_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c39c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:18.628048 [ 1121 ] {a0b17da8-58eb-491b-a844-a76fa27fd8eb} TCPHandler: Code: 36. DB::Exception: Engine TinyLog doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c39c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:18.659097 [ 1121 ] {f1eba135-af0b-473e-a008-65c49a293d7c} executeQuery: Code: 36. DB::Exception: Engine StripeLog doesn't support TTL clause. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48988) (comment: 02184_storage_add_support_ttl.sql) (in query: ALTER TABLE stripe_log_02184 MODIFY COLUMN name String TTL dt + INTERVAL 1 MONTH;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c39c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:18.659837 [ 1121 ] {f1eba135-af0b-473e-a008-65c49a293d7c} TCPHandler: Code: 36. DB::Exception: Engine StripeLog doesn't support TTL clause. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1073: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c39c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:20.209711 [ 8666 ] {35963224-3120-4657-8eef-53f5d7ce5f06} executeQuery: Code: 46. DB::Exception: Unknown table function test_02428_mv1: or incorrect parameterized view. (UNKNOWN_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49042) (comment: 02428_parameterized_view.sh) (in query: SELECT * FROM test_02428_mv1(test)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac137f8 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:20.211381 [ 8666 ] {35963224-3120-4657-8eef-53f5d7ce5f06} TCPHandler: Code: 46. DB::Exception: Unknown table function test_02428_mv1: or incorrect parameterized view. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFactory.cpp:46: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac137f8 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:20.503505 [ 3551 ] {98c5a0a1-3f80-4007-af48-0926ae401a84} executeQuery: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52768) (comment: 02181_sql_user_defined_functions_invalid_lambda.sql) (in query: CREATE FUNCTION 02181_invalid_lambda AS lambda(((x * 2) AS x_doubled) + x_doubled);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000cead0de in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001ef95505 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef95340 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef95c62 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca796aa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:20.504292 [ 3551 ] {98c5a0a1-3f80-4007-af48-0926ae401a84} TCPHandler: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000cead0de in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001ef95505 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef95340 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef95c62 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca796aa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:20.510190 [ 3551 ] {b44712a3-357a-419a-9476-3d8f409e7620} executeQuery: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52768) (comment: 02181_sql_user_defined_functions_invalid_lambda.sql) (in query: CREATE FUNCTION 02181_invalid_lambda AS lambda(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000cead0de in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001ef95505 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef95340 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef95c62 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca796aa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:20.510894 [ 3551 ] {b44712a3-357a-419a-9476-3d8f409e7620} TCPHandler: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000cead0de in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001ef95505 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef95340 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef95c62 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca796aa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:20.516841 [ 3551 ] {6b8f73ab-3ae1-4ff7-937c-155a0253f9d8} executeQuery: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52768) (comment: 02181_sql_user_defined_functions_invalid_lambda.sql) (in query: CREATE FUNCTION 02181_invalid_lambda AS lambda();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000cead0de in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001ef95505 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef95340 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef95c62 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca796aa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:20.517501 [ 3551 ] {6b8f73ab-3ae1-4ff7-937c-155a0253f9d8} TCPHandler: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000cead0de in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001ef95505 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef95340 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef95c62 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca796aa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:20.523088 [ 3551 ] {03496e13-f1e2-47ae-928d-3e4e44f2c953} executeQuery: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52768) (comment: 02181_sql_user_defined_functions_invalid_lambda.sql) (in query: CREATE FUNCTION 02181_invalid_lambda AS lambda(tuple(x)) --{serverError 1} ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000cead0de in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001ef95505 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef95340 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef95c62 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca796aa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:20.523609 [ 3551 ] {03496e13-f1e2-47ae-928d-3e4e44f2c953} TCPHandler: Code: 1. DB::Exception: Lambda must have arguments and body. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [36]) @ 0x000000000cead0de in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:55: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001ef95505 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef95340 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef95c62 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca796aa in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:22.679288 [ 8665 ] {cd37d757-60d1-4e79-bd8f-5b4238406b78} executeQuery: Code: 520. DB::Exception: Cannot drop/detach dictionary test_1bo13qvf.02181_test_dictionary as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52824) (comment: 02181_dictionary_attach_detach.sql) (in query: DETACH TABLE 02181_test_dictionary;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDictionary.cpp:151: DB::StorageDictionary::checkTableCanBeDropped(std::shared_ptr) const @ 0x000000001d64a4aa in /usr/bin/clickhouse 7. /build/src/Storages/StorageDictionary.cpp:165: DB::StorageDictionary::checkTableCanBeDetached() const @ 0x000000001d64a619 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:176: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b4919 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b3694 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b2f0e in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:22.679949 [ 8665 ] {cd37d757-60d1-4e79-bd8f-5b4238406b78} TCPHandler: Code: 520. DB::Exception: Cannot drop/detach dictionary test_1bo13qvf.02181_test_dictionary as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDictionary.cpp:151: DB::StorageDictionary::checkTableCanBeDropped(std::shared_ptr) const @ 0x000000001d64a4aa in /usr/bin/clickhouse 7. /build/src/Storages/StorageDictionary.cpp:165: DB::StorageDictionary::checkTableCanBeDetached() const @ 0x000000001d64a619 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:176: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b4919 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b3694 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b2f0e in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:22.767311 [ 8665 ] {520fc70e-db9f-45e5-b97e-f7c7a08de6da} executeQuery: Code: 80. DB::Exception: Cannot ATTACH TABLE test_1bo13qvf.`02181_test_dictionary`, it is a Dictionary. (INCORRECT_QUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52824) (comment: 02181_dictionary_attach_detach.sql) (in query: ATTACH TABLE 02181_test_dictionary;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1118: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ed29d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:22.768026 [ 8665 ] {520fc70e-db9f-45e5-b97e-f7c7a08de6da} TCPHandler: Code: 80. DB::Exception: Cannot ATTACH TABLE test_1bo13qvf.`02181_test_dictionary`, it is a Dictionary. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1118: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ed29d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:23.795770 [ 3551 ] {b88f1849-3e1f-41d2-abb3-8ba816eea67f} executeQuery: Code: 62. DB::Exception: Syntax error: failed at position 11 ('#'): #. Unrecognized token: '#'. (SYNTAX_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:37308) (comment: 02192_comment_error.sh) (in query: select 42 #), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000001f47d8e7 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000001f47d9c6 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:714: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0abc48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:23.796784 [ 3551 ] {b88f1849-3e1f-41d2-abb3-8ba816eea67f} DynamicQueryHandler: Code: 62. DB::Exception: Syntax error: failed at position 11 ('#'): #. Unrecognized token: '#'. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000001f47d8e7 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000001f47d9c6 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:714: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0abc48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 11. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:20:24.969181 [ 6043 ] {a648fd26-d477-4342-bd5d-119b08c9d01e} executeQuery: Code: 46. DB::Exception: Unknown function sumIF: While processing sumIF(1, 0). (UNKNOWN_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52904) (comment: 02177_sum_if_not_found.sql) (in query: SELECT sumIF(1, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x00000000139fecac in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x000000001abf2d4c in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x000000001abf344a in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe7c44 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:20:24.970231 [ 6043 ] {a648fd26-d477-4342-bd5d-119b08c9d01e} TCPHandler: Code: 46. DB::Exception: Unknown function sumIF: While processing sumIF(1, 0). (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x00000000139fecac in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x000000001abf2d4c in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x000000001abf344a in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe7c44 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:20:25.140648 [ 6043 ] {89b8f489-253b-40fc-b2c7-c31713be5687} executeQuery: Code: 46. DB::Exception: Unknown function sumIF: While processing t, sumIF(n, 0). (UNKNOWN_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52904) (comment: 02177_sum_if_not_found.sql) (in query: CREATE TABLE agg ENGINE = AggregatingMergeTree ORDER BY tuple() SETTINGS index_granularity = 13569, min_bytes_for_wide_part = 8860395, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 5904, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10332435604, index_granularity_bytes = 29411253, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 48519, primary_key_compress_block_size = 16289 AS SELECT t, sumIF(n, 0) FROM data GROUP BY t), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x00000000139fecac in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x000000001abf2d4c in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x000000001abf344a in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe7c44 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:777: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9190 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:20:25.142029 [ 6043 ] {89b8f489-253b-40fc-b2c7-c31713be5687} TCPHandler: Code: 46. DB::Exception: Unknown function sumIF: While processing t, sumIF(n, 0). (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x00000000139fecac in /usr/bin/clickhouse 6. /build/src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x000000001abf2d4c in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x000000001abf344a in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe7c44 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:777: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9190 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:20:26.492086 [ 8669 ] {c3d07751-7507-4553-8392-020183208aeb} executeQuery: Code: 43. DB::Exception: The sixth argument Nullable(Nothing) of function proportionsZTest should be a constant string: While processing NULL, proportionsZTest(257, 1048575, 1048575, 257, -inf, NULL), proportionsZTest(1024, 1025, 2, 2, 'unpooled'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52968) (comment: 02158_proportions_ztest.sql) (in query: SELECT NULL, proportionsZTest(257, 1048575, 1048575, 257, -inf, NULL), proportionsZTest(1024, 1025, 2, 2, 'unpooled');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/ztest.cpp:81: DB::FunctionTwoSampleProportionsZTest::getReturnTypeImpl(std::vector> const&) const @ 0x00000000128305dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:20:26.493180 [ 8669 ] {c3d07751-7507-4553-8392-020183208aeb} TCPHandler: Code: 43. DB::Exception: The sixth argument Nullable(Nothing) of function proportionsZTest should be a constant string: While processing NULL, proportionsZTest(257, 1048575, 1048575, 257, -inf, NULL), proportionsZTest(1024, 1025, 2, 2, 'unpooled'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/ztest.cpp:81: DB::FunctionTwoSampleProportionsZTest::getReturnTypeImpl(std::vector> const&) const @ 0x00000000128305dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:20:29.313253 [ 6043 ] {26e37237-4f66-4b24-acfb-076bc331c95a} executeQuery: Code: 397. DB::Exception: StorageMaterializedView cannot be created from table functions (numbers(10)). (QUERY_IS_NOT_SUPPORTED_IN_MATERIALIZED_VIEW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53038) (comment: 02146_mv_non_phys.sql) (in query: CREATE MATERIALIZED VIEW mv_02146 ENGINE = MergeTree ORDER BY number SETTINGS index_granularity = 57091, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 16525, prefer_fetch_merged_part_size_threshold = 2144766471, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 10408765, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 45065, primary_key_compress_block_size = 20340 AS SELECT * FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/SelectQueryDescription.cpp:63: DB::(anonymous namespace)::extractDependentTableFromSelectQuery(DB::ASTSelectQuery&, std::shared_ptr, bool) @ 0x000000001d62488c in /usr/bin/clickhouse 7. /build/src/Storages/SelectQueryDescription.cpp:127: DB::SelectQueryDescription::getSelectQueryFromASTForMatView(std::shared_ptr const&, std::shared_ptr) @ 0x000000001d623efc in /usr/bin/clickhouse 8. /build/src/Storages/StorageMaterializedView.cpp:85: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x000000001d728052 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72e3fa in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72e16d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72de39 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72dc8e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72dbf4 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMaterializedView.cpp:491: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d72d02d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72cfbd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72cf5d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001d72cf1d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001d72cee5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 21. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 2024.12.17 01:20:29.314270 [ 6043 ] {26e37237-4f66-4b24-acfb-076bc331c95a} TCPHandler: Code: 397. DB::Exception: StorageMaterializedView cannot be created from table functions (numbers(10)). (QUERY_IS_NOT_SUPPORTED_IN_MATERIALIZED_VIEW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/SelectQueryDescription.cpp:63: DB::(anonymous namespace)::extractDependentTableFromSelectQuery(DB::ASTSelectQuery&, std::shared_ptr, bool) @ 0x000000001d62488c in /usr/bin/clickhouse 7. /build/src/Storages/SelectQueryDescription.cpp:127: DB::SelectQueryDescription::getSelectQueryFromASTForMatView(std::shared_ptr const&, std::shared_ptr) @ 0x000000001d623efc in /usr/bin/clickhouse 8. /build/src/Storages/StorageMaterializedView.cpp:85: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x000000001d728052 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72e3fa in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72e16d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72de39 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72dc8e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72dbf4 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMaterializedView.cpp:491: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d72d02d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72cfbd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72cf5d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001d72cf1d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001d72cee5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 21. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 2024.12.17 01:20:34.536540 [ 6046 ] {d09b0a9c-31a6-441a-8378-8ba3977dce2c} DynamicQueryHandler: Code: 33. DB::Exception: Unexpected EOF, got 9502720 of 78889100 bytes. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c4b04cc in /usr/bin/clickhouse 6. /build/src/IO/LimitReadBuffer.cpp:40: DB::LimitReadBuffer::nextImpl() @ 0x0000000013aeda91 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 8. /build/src/IO/PeekableReadBuffer.cpp:94: DB::PeekableReadBuffer::peekNext() @ 0x0000000013996f16 in /usr/bin/clickhouse 9. /build/src/IO/PeekableReadBuffer.cpp:171: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013997816 in /usr/bin/clickhouse 10. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 11. /build/src/IO/ReadBuffer.h:105: DB::HTMLForm::MultipartReadBuffer::readLine(bool) @ 0x000000001e6611c2 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTMLForm.cpp:329: DB::HTMLForm::MultipartReadBuffer::nextImpl() @ 0x000000001e6616f5 in /usr/bin/clickhouse 13. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:105: DB::readHeaders(Poco::Net::MessageHeader&, DB::ReadBuffer&, unsigned long, unsigned long, unsigned long) @ 0x000000001e66ae61 in /usr/bin/clickhouse 15. /build/src/Server/HTTP/HTMLForm.cpp:201: DB::HTMLForm::readMultipart(DB::ReadBuffer&, DB::HTMLForm::PartHandler&) @ 0x000000001e65ffad in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTMLForm.cpp:104: DB::HTMLForm::load(Poco::Net::HTTPRequest const&, DB::ReadBuffer&, DB::HTMLForm::PartHandler&) @ 0x000000001e65f011 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1134: DB::DynamicQueryHandler::getQuery(DB::HTTPServerRequest&, DB::HTMLForm&, std::shared_ptr) @ 0x000000001e5c4b4d in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:781: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bf3e8 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:20:34.603407 [ 6046 ] {d09b0a9c-31a6-441a-8378-8ba3977dce2c} DynamicQueryHandler: Cannot send exception to client: Code: 33. DB::Exception: Unexpected EOF, got 9830400 of 78889100 bytes. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c4b04cc in /usr/bin/clickhouse 6. /build/src/IO/LimitReadBuffer.cpp:40: DB::LimitReadBuffer::nextImpl() @ 0x0000000013aeda91 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000001e5c0bfb in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1088: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3615 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 16. ? @ 0x00007f3559e74ac3 in ? 17. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:20:34.603724 [ 1121 ] {a999e300-36cd-433a-86eb-03f2f93a7477} DynamicQueryHandler: Code: 33. DB::Exception: Unexpected EOF, got 9437184 of 78889100 bytes. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c4b04cc in /usr/bin/clickhouse 6. /build/src/IO/LimitReadBuffer.cpp:40: DB::LimitReadBuffer::nextImpl() @ 0x0000000013aeda91 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 8. /build/src/IO/PeekableReadBuffer.cpp:94: DB::PeekableReadBuffer::peekNext() @ 0x0000000013996f16 in /usr/bin/clickhouse 9. /build/src/IO/PeekableReadBuffer.cpp:171: DB::PeekableReadBuffer::nextImpl() @ 0x0000000013997816 in /usr/bin/clickhouse 10. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 11. /build/src/IO/ReadBuffer.h:105: DB::HTMLForm::MultipartReadBuffer::readLine(bool) @ 0x000000001e6611c2 in /usr/bin/clickhouse 12. /build/src/Server/HTTP/HTMLForm.cpp:329: DB::HTMLForm::MultipartReadBuffer::nextImpl() @ 0x000000001e6616f5 in /usr/bin/clickhouse 13. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:105: DB::readHeaders(Poco::Net::MessageHeader&, DB::ReadBuffer&, unsigned long, unsigned long, unsigned long) @ 0x000000001e66ae61 in /usr/bin/clickhouse 15. /build/src/Server/HTTP/HTMLForm.cpp:201: DB::HTMLForm::readMultipart(DB::ReadBuffer&, DB::HTMLForm::PartHandler&) @ 0x000000001e65ffad in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTMLForm.cpp:104: DB::HTMLForm::load(Poco::Net::HTTPRequest const&, DB::ReadBuffer&, DB::HTMLForm::PartHandler&) @ 0x000000001e65f011 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:1134: DB::DynamicQueryHandler::getQuery(DB::HTTPServerRequest&, DB::HTMLForm&, std::shared_ptr) @ 0x000000001e5c4b4d in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:781: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bf3e8 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:20:34.604478 [ 1121 ] {a999e300-36cd-433a-86eb-03f2f93a7477} DynamicQueryHandler: Cannot send exception to client: Code: 33. DB::Exception: Unexpected EOF, got 9699328 of 78889100 bytes. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c4b04cc in /usr/bin/clickhouse 6. /build/src/IO/LimitReadBuffer.cpp:40: DB::LimitReadBuffer::nextImpl() @ 0x0000000013aeda91 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000001e5c0bfb in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1088: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c3615 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 16. ? @ 0x00007f3559e74ac3 in ? 17. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:20:34.778669 [ 6046 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x00000000249466c7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x000000002494a807 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000002476136d in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:927: Poco::Net::SocketImpl::error(int) @ 0x0000000024761a04 in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x00000000247625f2 in /usr/bin/clickhouse 8. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x000000002476a29e in /usr/bin/clickhouse 9. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x00000000247660f2 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x0000000024740b6e in /usr/bin/clickhouse 11. /build/base/poco/Net/src/HTTPChunkedStream.cpp:57: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x000000002472a6ed in /usr/bin/clickhouse 12. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x000000002472b0ba in /usr/bin/clickhouse 13. /build/base/poco/Net/src/HTTPChunkedStream.cpp:208: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x000000002472b7a1 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:207: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x000000002472b7e0 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e6694ed in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e669495 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e669479 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000001e6692ee in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x000000000b191614 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x000000000b1915b9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x000000001e5cc04c in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000001e6637db in /usr/bin/clickhouse 23. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x000000001e663318 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:20:34.779298 [ 1121 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x00000000249466c7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x000000002494a807 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000002476136d in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:927: Poco::Net::SocketImpl::error(int) @ 0x0000000024761a04 in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x00000000247625f2 in /usr/bin/clickhouse 8. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x000000002476a29e in /usr/bin/clickhouse 9. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x00000000247660f2 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x0000000024740b6e in /usr/bin/clickhouse 11. /build/base/poco/Net/src/HTTPChunkedStream.cpp:57: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x000000002472a6ed in /usr/bin/clickhouse 12. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x000000002472b0ba in /usr/bin/clickhouse 13. /build/base/poco/Net/src/HTTPChunkedStream.cpp:208: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x000000002472b7a1 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:207: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x000000002472b7e0 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e6694ed in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e669495 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e669479 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000001e6692ee in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x000000000b191614 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x000000000b1915b9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x000000001e5cc04c in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000001e6637db in /usr/bin/clickhouse 23. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x000000001e663318 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:20:37.477925 [ 1121 ] {7c3ea847-c773-412b-ba23-9bb0fbc4f517} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57360) (comment: 02125_fix_storage_filelog.sql) (in query: CREATE TABLE log (A String) ENGINE= FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da98f56 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8304 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8035 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7cc3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7ad5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab589b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa6c2f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa637d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa631d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa62dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa62a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:20:37.478938 [ 1121 ] {7c3ea847-c773-412b-ba23-9bb0fbc4f517} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da98f56 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8304 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8035 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7cc3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7ad5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab589b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa6c2f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa637d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa631d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa62dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa62a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:20:37.486509 [ 1121 ] {5e46b1f1-187a-481f-9031-5251217c3112} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57360) (comment: 02125_fix_storage_filelog.sql) (in query: CREATE TABLE log (A String) ENGINE= FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da98f56 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8304 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8035 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7cc3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7ad5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab589b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa6c2f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa637d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa631d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa62dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa62a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:20:37.487310 [ 1121 ] {5e46b1f1-187a-481f-9031-5251217c3112} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da98f56 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8304 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8035 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7cc3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7ad5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab589b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa6c2f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa637d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa631d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa62dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa62a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:20:37.493750 [ 1121 ] {d48a4f5e-8fea-4a16-a046-de8fbc6f6f85} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57360) (comment: 02125_fix_storage_filelog.sql) (in query: CREATE TABLE log (A String) ENGINE= FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da98f56 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8304 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8035 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7cc3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7ad5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab589b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa6c2f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa637d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa631d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa62dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa62a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:20:37.494581 [ 1121 ] {d48a4f5e-8fea-4a16-a046-de8fbc6f6f85} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da98f56 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8304 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8035 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7cc3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7ad5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab589b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa6c2f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa637d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa631d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa62dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa62a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:20:38.499617 [ 1121 ] {8b3ae9fc-c7f5-4ece-b3f6-4b120b8c853b} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57396) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:38.500251 [ 1121 ] {8b3ae9fc-c7f5-4ece-b3f6-4b120b8c853b} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:20:41.735350 [ 6046 ] {a1b14dbb-83d2-47b0-805c-ffb5cd6f375d} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60488) (comment: 02126_fix_filelog.sh) (in query: create table file_log(k UInt8, v UInt8) engine=FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da98f56 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8304 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8035 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7cc3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7ad5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab589b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa6c2f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa637d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa631d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa62dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa62a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:20:41.737278 [ 6046 ] {a1b14dbb-83d2-47b0-805c-ffb5cd6f375d} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da98f56 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8304 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8035 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7cc3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7ad5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab589b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa6c2f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa637d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa631d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa62dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa62a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:20:43.610779 [ 11805 ] {73e21304-fefd-4414-a7de-504dddc4f367} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60644) (comment: 02126_fix_filelog.sh) (in query: create table file_log(k UInt8, v UInt8) engine=FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da98f56 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8304 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8035 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7cc3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7ad5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab589b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa6c2f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa637d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa631d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa62dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa62a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:20:43.612599 [ 11805 ] {73e21304-fefd-4414-a7de-504dddc4f367} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da98f56 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8304 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8035 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7cc3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7ad5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab589b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa6c2f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa637d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa631d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa62dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa62a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:20:45.569335 [ 11807 ] {41feb8ef-bb90-4740-be2f-2da9aa8003f2} executeQuery: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60678) (comment: 02126_fix_filelog.sh) (in query: create table file_log(k UInt8, v UInt8) engine=FileLog('/tmp/aaa.csv', 'CSV');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da98f56 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8304 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8035 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7cc3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7ad5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab589b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa6c2f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa637d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa631d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa62dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa62a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:20:45.571979 [ 11807 ] {41feb8ef-bb90-4740-be2f-2da9aa8003f2} TCPHandler: Code: 36. DB::Exception: The absolute data path should be inside `user_files_path`(/var/lib/clickhouse/user_files/). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:85: DB::StorageFileLog::StorageFileLog(DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String const&, String const&, String const&, std::unique_ptr>, String const&, bool) @ 0x000000001da98f56 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageFileLog* std::construct_at[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, DB::StorageFileLog*>(DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8304 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void, void>(std::allocator&, DB::StorageFileLog*, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab8035 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7cc3 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab7ad5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>, String const&, bool const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ColumnsDescription const&, String&, String const&, String&, std::unique_ptr>&&, String const&, bool const&) @ 0x000000001dab589b in /usr/bin/clickhouse 12. /build/src/Storages/FileLog/StorageFileLog.cpp:806: DB::registerStorageFileLog(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001daa6c2f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa637d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageFileLog(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001daa631d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001daa62dd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001daa62a5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:21:07.609280 [ 8665 ] {5b8f2864-0442-4c2a-b76d-021fdb7ab60a} executeQuery: Code: 43. DB::Exception: First argument for function tupleElement must be tuple or array of tuple. Actual UInt64: While processing number.1. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49210) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(number, 1) FROM numbers(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:63: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a5b80 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:21:07.610323 [ 8665 ] {5b8f2864-0442-4c2a-b76d-021fdb7ab60a} TCPHandler: Code: 43. DB::Exception: First argument for function tupleElement must be tuple or array of tuple. Actual UInt64: While processing number.1. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:63: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a5b80 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:21:07.735262 [ 8665 ] {2f08fb25-9139-48ed-bd0e-535fd3b7d000} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleElement doesn't match: passed 1, should be 2 or 3: While processing tupleElement(t1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49210) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t1) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long const&) @ 0x000000000be7272c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:49: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a59b1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:21:07.736392 [ 8665 ] {2f08fb25-9139-48ed-bd0e-535fd3b7d000} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleElement doesn't match: passed 1, should be 2 or 3: While processing tupleElement(t1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long const&) @ 0x000000000be7272c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:49: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a59b1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:21:07.744773 [ 8665 ] {92644444-1b23-48ac-80de-fa6f2c847807} executeQuery: Code: 47. DB::Exception: Missing columns: 't1.b' while processing query: 'SELECT `t1.b` FROM t_tuple_element', required columns: 't1.b'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49210) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t1, 'b') FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:07.745454 [ 8665 ] {92644444-1b23-48ac-80de-fa6f2c847807} TCPHandler: Code: 47. DB::Exception: Missing columns: 't1.b' while processing query: 'SELECT `t1.b` FROM t_tuple_element', required columns: 't1.b'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:07.886993 [ 8665 ] {7f3c87d3-b039-4f86-a842-de8741a39f0b} executeQuery: Code: 127. DB::Exception: Index of tuple element (0) if out range ([1, 2]): While processing t1.0. (ILLEGAL_INDEX) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49210) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t1, 0) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b666c8c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x000000001b99f1f1 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x000000001cfdc990 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x000000001cfbc0a1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x000000001cfbbea0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc121 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbc1c6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc12e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbc1c6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc12e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfbbd05 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:669: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x000000001cfb7224 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:737: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x000000001cfb6a50 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c0fa in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:21:07.888321 [ 8665 ] {7f3c87d3-b039-4f86-a842-de8741a39f0b} TCPHandler: Code: 127. DB::Exception: Index of tuple element (0) if out range ([1, 2]): While processing t1.0. (ILLEGAL_INDEX), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b666c8c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x000000001b99f1f1 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x000000001cfdc990 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x000000001cfbc0a1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x000000001cfbbea0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc121 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbc1c6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc12e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbc1c6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc12e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfbbd05 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:669: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x000000001cfb7224 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:737: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x000000001cfb6a50 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c0fa in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:21:07.898870 [ 8665 ] {b70d8d2a-e38a-40b9-8300-bde497694f0c} executeQuery: Code: 127. DB::Exception: Index of tuple element (3) if out range ([1, 2]): While processing t1.3. (ILLEGAL_INDEX) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49210) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t1, 3) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b666c8c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x000000001b99f1f1 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x000000001cfdc990 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x000000001cfbc0a1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x000000001cfbbea0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc121 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbc1c6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc12e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbc1c6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc12e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfbbd05 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:669: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x000000001cfb7224 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:737: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x000000001cfb6a50 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c0fa in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:21:07.900053 [ 8665 ] {b70d8d2a-e38a-40b9-8300-bde497694f0c} TCPHandler: Code: 127. DB::Exception: Index of tuple element (3) if out range ([1, 2]): While processing t1.3. (ILLEGAL_INDEX), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b666c8c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x000000001b99f1f1 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x000000001cfdc990 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x000000001cfbc0a1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x000000001cfbbea0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc121 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbc1c6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc12e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbc1c6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc12e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfbbd05 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:669: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x000000001cfb7224 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:737: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x000000001cfb6a50 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c0fa in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:21:08.023969 [ 8665 ] {94c7ac6d-d06b-41d5-81d2-ff8d51bd1670} executeQuery: Code: 43. DB::Exception: Second argument to tupleElement must be a constant UInt or String: While processing tupleElement(t1, materialize('a')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49210) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t1, materialize('a')) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:161: DB::(anonymous namespace)::FunctionTupleElement::getElementIndex(COW::immutable_ptr const&, DB::DataTypeTuple const&, unsigned long) const @ 0x00000000127a6264 in /usr/bin/clickhouse 7. /build/src/Functions/tupleElement.cpp:68: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a5c3e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:21:08.024976 [ 8665 ] {94c7ac6d-d06b-41d5-81d2-ff8d51bd1670} TCPHandler: Code: 43. DB::Exception: Second argument to tupleElement must be a constant UInt or String: While processing tupleElement(t1, materialize('a')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:161: DB::(anonymous namespace)::FunctionTupleElement::getElementIndex(COW::immutable_ptr const&, DB::DataTypeTuple const&, unsigned long) const @ 0x00000000127a6264 in /usr/bin/clickhouse 7. /build/src/Functions/tupleElement.cpp:68: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a5c3e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:21:08.082664 [ 8665 ] {82d243e0-fd3d-4d37-8d40-566c56ad6caa} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleElement doesn't match: passed 1, should be 2 or 3: While processing tupleElement(t2). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49210) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t2) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long const&) @ 0x000000000be7272c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:49: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a59b1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:21:08.083472 [ 8665 ] {82d243e0-fd3d-4d37-8d40-566c56ad6caa} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleElement doesn't match: passed 1, should be 2 or 3: While processing tupleElement(t2). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long const&) @ 0x000000000be7272c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:49: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a59b1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:21:08.091374 [ 8665 ] {adf799fb-70f1-4463-bf25-2fc0962046a9} executeQuery: Code: 47. DB::Exception: Missing columns: 't2.a' while processing query: 'SELECT `t2.a` FROM t_tuple_element', required columns: 't2.a'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49210) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t2, 'a') FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:08.092066 [ 8665 ] {adf799fb-70f1-4463-bf25-2fc0962046a9} TCPHandler: Code: 47. DB::Exception: Missing columns: 't2.a' while processing query: 'SELECT `t2.a` FROM t_tuple_element', required columns: 't2.a'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:08.099503 [ 8665 ] {46f714bd-372d-489f-8fd6-2adf074ab8d8} executeQuery: Code: 127. DB::Exception: Index of tuple element (0) if out range ([1, 2]): While processing t2.0. (ILLEGAL_INDEX) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49210) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t2, 0) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b666c8c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x000000001b99f1f1 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x000000001cfdc990 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x000000001cfbc0a1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x000000001cfbbea0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc121 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbc1c6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc12e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbc1c6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc12e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfbbd05 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:669: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x000000001cfb7224 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:737: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x000000001cfb6a50 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c0fa in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:21:08.100333 [ 8665 ] {46f714bd-372d-489f-8fd6-2adf074ab8d8} TCPHandler: Code: 127. DB::Exception: Index of tuple element (0) if out range ([1, 2]): While processing t2.0. (ILLEGAL_INDEX), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b666c8c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x000000001b99f1f1 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x000000001cfdc990 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x000000001cfbc0a1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x000000001cfbbea0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc121 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbc1c6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc12e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbc1c6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc12e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfbbd05 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:669: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x000000001cfb7224 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:737: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x000000001cfb6a50 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c0fa in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:21:08.108280 [ 8665 ] {a5a1c939-8d15-4481-aa34-0dd54570a9c4} executeQuery: Code: 127. DB::Exception: Index of tuple element (3) if out range ([1, 2]): While processing t2.3. (ILLEGAL_INDEX) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49210) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t2, 3) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b666c8c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x000000001b99f1f1 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x000000001cfdc990 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x000000001cfbc0a1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x000000001cfbbea0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc121 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbc1c6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc12e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbc1c6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc12e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfbbd05 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:669: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x000000001cfb7224 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:737: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x000000001cfb6a50 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c0fa in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:21:08.109203 [ 8665 ] {a5a1c939-8d15-4481-aa34-0dd54570a9c4} TCPHandler: Code: 127. DB::Exception: Index of tuple element (3) if out range ([1, 2]): While processing t2.3. (ILLEGAL_INDEX), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b666c8c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:234: DB::DataTypeTuple::getNameByPosition(unsigned long) const @ 0x000000001b99f1f1 in /usr/bin/clickhouse 7. /build/src/Interpreters/RewriteFunctionToSubcolumnVisitor.cpp:115: DB::RewriteFunctionToSubcolumnData::visit(DB::ASTFunction&, std::shared_ptr&) const @ 0x000000001cfdc990 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:122: DB::OneTypeMatcher const&, std::shared_ptr const&), std::shared_ptr>::visit(std::shared_ptr&, DB::RewriteFunctionToSubcolumnData&) @ 0x000000001cfbc0a1 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::doVisit(std::shared_ptr&) @ 0x000000001cfbbea0 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc121 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbc1c6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc12e in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitChildren(std::shared_ptr&) @ 0x000000001cfbc1c6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImplMain(std::shared_ptr&) @ 0x000000001cfbc12e in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfbbe2a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfbbd05 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeOptimizer.cpp:669: DB::(anonymous namespace)::optimizeFunctionsToSubcolumns(std::shared_ptr&, std::shared_ptr const&) @ 0x000000001cfb7224 in /usr/bin/clickhouse 20. /build/src/Interpreters/TreeOptimizer.cpp:737: DB::TreeOptimizer::apply(std::shared_ptr&, DB::TreeRewriterResult&, std::vector> const&, std::shared_ptr) @ 0x000000001cfb6a50 in /usr/bin/clickhouse 21. /build/src/Interpreters/TreeRewriter.cpp:1242: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c0fa in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:21:08.118995 [ 8665 ] {20676d7a-1df5-4867-bea0-a5d6b326b263} executeQuery: Code: 43. DB::Exception: Second argument to tupleElement must be a constant UInt or String: While processing tupleElement(t2, materialize(1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49210) (comment: 02116_tuple_element.sql) (in query: SELECT tupleElement(t2, materialize(1)) FROM t_tuple_element;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:161: DB::(anonymous namespace)::FunctionTupleElement::getElementIndex(COW::immutable_ptr const&, DB::DataTypeTuple const&, unsigned long) const @ 0x00000000127a6264 in /usr/bin/clickhouse 7. /build/src/Functions/tupleElement.cpp:68: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a5c3e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:21:08.119837 [ 8665 ] {20676d7a-1df5-4867-bea0-a5d6b326b263} TCPHandler: Code: 43. DB::Exception: Second argument to tupleElement must be a constant UInt or String: While processing tupleElement(t2, materialize(1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:161: DB::(anonymous namespace)::FunctionTupleElement::getElementIndex(COW::immutable_ptr const&, DB::DataTypeTuple const&, unsigned long) const @ 0x00000000127a6264 in /usr/bin/clickhouse 7. /build/src/Functions/tupleElement.cpp:68: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a5c3e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:21:08.254658 [ 8668 ] {ff3483b8-3095-4ef7-8280-a51638b77071} executeQuery: Code: 43. DB::Exception: Illegal type String of argument for aggregate function sumCount. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49190) (comment: 02119_sumcount.sql) (in query: -- Other types SELECT toTypeName(sumCount(v)), sumCount(v) FROM (SELECT 'a'::String AS v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumCount.cpp:34: DB::(anonymous namespace)::createAggregateFunctionSumCount(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015e55cb4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:21:08.255619 [ 8668 ] {ff3483b8-3095-4ef7-8280-a51638b77071} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument for aggregate function sumCount. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumCount.cpp:34: DB::(anonymous namespace)::createAggregateFunctionSumCount(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015e55cb4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:21:08.270125 [ 8668 ] {9d7f5bc2-0a07-4ff6-b587-328ca6e30c56} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for aggregate function sumCount. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49190) (comment: 02119_sumcount.sql) (in query: SELECT toTypeName(sumCount(v)), sumCount(v) FROM (SELECT now()::DateTime AS v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumCount.cpp:34: DB::(anonymous namespace)::createAggregateFunctionSumCount(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015e55cb4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:21:08.271165 [ 8668 ] {9d7f5bc2-0a07-4ff6-b587-328ca6e30c56} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for aggregate function sumCount. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumCount.cpp:34: DB::(anonymous namespace)::createAggregateFunctionSumCount(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015e55cb4 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:21:10.270894 [ 2921 ] {d526dac4-14a1-45ac-a6ef-0bc9b6c0a509} executeQuery: Code: 60. DB::Exception: Table default.id does not exist: While processing 1 IN (id). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49282) (comment: 02111_global_context_temporary_tables.sql) (in query: -- { echo } SELECT * FROM remote('127.1', system.one, 1 IN id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x000000001d0d4524 in /usr/bin/clickhouse 10. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x000000001d0d3b96 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1431: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfec3a0 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6a81 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb7838 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb7ba3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:219: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001d652ed3 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001d65198a in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a9534ce in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a9532b1 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a953188 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a952fba in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a94daf6 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionRemote.cpp:322: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94a930 in /usr/bin/clickhouse 29. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 2024.12.17 01:21:10.271923 [ 2921 ] {d526dac4-14a1-45ac-a6ef-0bc9b6c0a509} TCPHandler: Code: 60. DB::Exception: Table default.id does not exist: While processing 1 IN (id). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x000000001d0d4524 in /usr/bin/clickhouse 10. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x000000001d0d3b96 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1431: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfec3a0 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6a81 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb7838 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb7ba3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:219: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001d652ed3 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001d65198a in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a9534ce in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a9532b1 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a953188 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a952fba in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a94daf6 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionRemote.cpp:322: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94a930 in /usr/bin/clickhouse 29. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 2024.12.17 01:21:10.281250 [ 2921 ] {4d23db93-efb3-4864-bf86-60a95a6dca9b} executeQuery: Code: 60. DB::Exception: Table default.dummy does not exist: While processing 1 IN (dummy). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49282) (comment: 02111_global_context_temporary_tables.sql) (in query: SELECT * FROM remote('127.1', system.one, 1 IN dummy);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x000000001d0d4524 in /usr/bin/clickhouse 10. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x000000001d0d3b96 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1431: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfec3a0 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6a81 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb7838 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb7ba3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:219: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001d652ed3 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001d65198a in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a9534ce in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a9532b1 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a953188 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a952fba in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a94daf6 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionRemote.cpp:322: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94a930 in /usr/bin/clickhouse 29. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 2024.12.17 01:21:10.282081 [ 2921 ] {4d23db93-efb3-4864-bf86-60a95a6dca9b} TCPHandler: Code: 60. DB::Exception: Table default.dummy does not exist: While processing 1 IN (dummy). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x000000001d0d4524 in /usr/bin/clickhouse 10. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x000000001d0d3b96 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1431: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfec3a0 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6a81 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb7838 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb7ba3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:219: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001d652ed3 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001d65198a in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a9534ce in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a9532b1 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a953188 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a952fba in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a94daf6 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionRemote.cpp:322: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94a930 in /usr/bin/clickhouse 29. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 2024.12.17 01:21:10.408529 [ 2921 ] {c7978baf-39f1-4eb3-839b-8162ed9478ee} executeQuery: Code: 60. DB::Exception: Table default.id does not exist: While processing 1 IN (id). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49282) (comment: 02111_global_context_temporary_tables.sql) (in query: SELECT * FROM remote('127.1', view(SELECT * FROM system.one), 1 IN id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x000000001d0d4524 in /usr/bin/clickhouse 10. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x000000001d0d3b96 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1431: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfec3a0 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6a81 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb7838 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb7ba3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:219: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001d652ed3 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001d65198a in /usr/bin/clickhouse 23. /build/src/Storages/StorageDistributed.cpp:396: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x000000001d653c9d in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a952bd0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a952862 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a9524b4 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a95227f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a94d8e8 in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionRemote.cpp:309: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94a711 in /usr/bin/clickhouse 30. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 31. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 2024.12.17 01:21:10.409731 [ 2921 ] {c7978baf-39f1-4eb3-839b-8162ed9478ee} TCPHandler: Code: 60. DB::Exception: Table default.id does not exist: While processing 1 IN (id). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x000000001d0d4524 in /usr/bin/clickhouse 10. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x000000001d0d3b96 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1431: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfec3a0 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6a81 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb7838 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb7ba3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:219: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001d652ed3 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001d65198a in /usr/bin/clickhouse 23. /build/src/Storages/StorageDistributed.cpp:396: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x000000001d653c9d in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a952bd0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a952862 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a9524b4 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a95227f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a94d8e8 in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionRemote.cpp:309: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94a711 in /usr/bin/clickhouse 30. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 31. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 2024.12.17 01:21:10.422947 [ 2921 ] {dad543a3-6967-4176-9269-d5f4b862005a} executeQuery: Code: 60. DB::Exception: Table default.id does not exist: While processing 1 IN (id). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49282) (comment: 02111_global_context_temporary_tables.sql) (in query: SELECT * FROM remote('127.1', view(SELECT number AS id FROM numbers(2)), 1 IN id);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x000000001d0d4524 in /usr/bin/clickhouse 10. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x000000001d0d3b96 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1431: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfec3a0 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6a81 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb7838 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb7ba3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:219: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001d652ed3 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001d65198a in /usr/bin/clickhouse 23. /build/src/Storages/StorageDistributed.cpp:396: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x000000001d653c9d in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a952bd0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a952862 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a9524b4 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a95227f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a94d8e8 in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionRemote.cpp:309: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94a711 in /usr/bin/clickhouse 30. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 31. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 2024.12.17 01:21:10.423813 [ 2921 ] {dad543a3-6967-4176-9269-d5f4b862005a} TCPHandler: Code: 60. DB::Exception: Table default.id does not exist: While processing 1 IN (id). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/interpretSubquery.cpp:99: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, std::vector> const&, DB::SelectQueryOptions const&) @ 0x000000001d0d4524 in /usr/bin/clickhouse 10. /build/src/Interpreters/interpretSubquery.cpp:28: DB::interpretSubquery(std::shared_ptr const&, std::shared_ptr, unsigned long, std::vector> const&) @ 0x000000001d0d3b96 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1431: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfec3a0 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6a81 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb7838 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb7ba3 in /usr/bin/clickhouse 21. /build/src/Storages/StorageDistributed.cpp:219: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001d652ed3 in /usr/bin/clickhouse 22. /build/src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001d65198a in /usr/bin/clickhouse 23. /build/src/Storages/StorageDistributed.cpp:396: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x000000001d653c9d in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a952bd0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a952862 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a9524b4 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a95227f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a94d8e8 in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionRemote.cpp:309: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94a711 in /usr/bin/clickhouse 30. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 31. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 2024.12.17 01:21:15.037251 [ 6046 ] {4c71e855-576b-42f5-8cc6-14f0903b0e83} executeQuery: Code: 36. DB::Exception: Table doesn't have SAMPLE BY, cannot remove. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38862) (comment: 02097_remove_sample_by.sql) (in query: ALTER TABLE t_remove_sample_by REMOVE SAMPLE BY;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000b2566fe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1343: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d590059 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:15.038132 [ 6046 ] {4c71e855-576b-42f5-8cc6-14f0903b0e83} TCPHandler: Code: 36. DB::Exception: Table doesn't have SAMPLE BY, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000b2566fe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1343: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d590059 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:15.154512 [ 6046 ] {97c1746d-e5f4-48f8-9441-e1103800b413} executeQuery: Code: 141. DB::Exception: Illegal SAMPLE: table doesn't support sampling. (SAMPLING_NOT_SUPPORTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38862) (comment: 02097_remove_sample_by.sql) (in query: SELECT * FROM t_remove_sample_by SAMPLE 1 / 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [47]) @ 0x000000000b5b469e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:687: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caadb51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:15.155581 [ 6046 ] {97c1746d-e5f4-48f8-9441-e1103800b413} TCPHandler: Code: 141. DB::Exception: Illegal SAMPLE: table doesn't support sampling. (SAMPLING_NOT_SUPPORTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [47]) @ 0x000000000b5b469e in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:687: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caadb51 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:15.378527 [ 6046 ] {827409c0-1095-4255-9ea4-5441cf19fa92} executeQuery: Code: 36. DB::Exception: Table doesn't have SAMPLE BY, cannot remove. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38862) (comment: 02097_remove_sample_by.sql) (in query: ALTER TABLE t_remove_sample_by REMOVE SAMPLE BY;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000b2566fe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1343: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d590059 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:15.379308 [ 6046 ] {827409c0-1095-4255-9ea4-5441cf19fa92} TCPHandler: Code: 36. DB::Exception: Table doesn't have SAMPLE BY, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [44]) @ 0x000000000b2566fe in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1343: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d590059 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:15.670912 [ 6046 ] {9acdb5e2-0315-418f-9619-1b9cfb1216f8} executeQuery: Code: 59. DB::Exception: Invalid sampling column type in storage parameters: String. Must be one unsigned integer type. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38862) (comment: 02097_remove_sample_by.sql) (in query: SELECT * FROM t_remove_sample_by SAMPLE 1 / 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:645: DB::MergeTreeDataSelectExecutor::getSampling(DB::SelectQueryInfo const&, DB::NamesAndTypesList, std::vector, std::allocator>> const&, DB::KeyCondition&, DB::MergeTreeData const&, std::shared_ptr const&, std::shared_ptr, bool, Poco::Logger*) @ 0x000000001dfac330 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1473: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9fb02 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:15.671920 [ 6046 ] {9acdb5e2-0315-418f-9619-1b9cfb1216f8} TCPHandler: Code: 59. DB::Exception: Invalid sampling column type in storage parameters: String. Must be one unsigned integer type. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:645: DB::MergeTreeDataSelectExecutor::getSampling(DB::SelectQueryInfo const&, DB::NamesAndTypesList, std::vector, std::allocator>> const&, DB::KeyCondition&, DB::MergeTreeData const&, std::shared_ptr const&, std::shared_ptr, bool, Poco::Logger*) @ 0x000000001dfac330 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1473: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9fb02 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:17.319833 [ 2921 ] {f5876df9-806f-4d1b-9178-85a3938533b5} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38924) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_1_wide0 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf0933 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bddfda0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee95aad in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee94c4e in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbc018 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfa942b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa5c8c in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e3602df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:17.320960 [ 2921 ] {f5876df9-806f-4d1b-9178-85a3938533b5} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf0933 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bddfda0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee95aad in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee94c4e in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbc018 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfa942b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa5c8c in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e3602df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:17.422378 [ 2921 ] {791116c9-8cb4-4ab4-9a20-d9f3eee22383} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38924) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_1_wide100000000 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf0933 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bddfda0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee95aad in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee94c4e in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbc018 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfa942b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa5c8c in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e3602df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:17.423437 [ 2921 ] {791116c9-8cb4-4ab4-9a20-d9f3eee22383} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf0933 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bddfda0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee95aad in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee94c4e in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbc018 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfa942b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa5c8c in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e3602df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:17.523365 [ 2921 ] {db817b20-9677-4c10-80fe-d044e9e734cb} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38924) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_10_wide0 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf0933 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bddfda0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee95aad in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee94c4e in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbc018 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfa942b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa5c8c in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e3602df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:17.524231 [ 2921 ] {db817b20-9677-4c10-80fe-d044e9e734cb} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf0933 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bddfda0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee95aad in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee94c4e in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbc018 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfa942b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa5c8c in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e3602df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:17.618391 [ 2921 ] {816eee37-0bdd-4214-af95-dd1be476ab6d} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38924) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_10_wide100000000 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf0933 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bddfda0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee95aad in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee94c4e in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbc018 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfa942b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa5c8c in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e3602df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:17.619176 [ 2921 ] {816eee37-0bdd-4214-af95-dd1be476ab6d} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf0933 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bddfda0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee95aad in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee94c4e in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbc018 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfa942b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa5c8c in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e3602df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:17.714732 [ 2921 ] {4982c25a-9f7f-4cab-8879-dc06e990b220} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38924) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_100_wide0 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf0933 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bddfda0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee95aad in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee94c4e in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbc018 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfa942b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa5c8c in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e3602df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:17.723586 [ 2921 ] {4982c25a-9f7f-4cab-8879-dc06e990b220} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf0933 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bddfda0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee95aad in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee94c4e in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbc018 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfa942b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa5c8c in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e3602df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:17.826397 [ 2921 ] {66ded3f0-c4b0-4538-9396-550359378721} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38924) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_100_wide100000000 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf0933 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bddfda0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee95aad in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee94c4e in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbc018 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfa942b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa5c8c in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e3602df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:17.827218 [ 2921 ] {66ded3f0-c4b0-4538-9396-550359378721} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf0933 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bddfda0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee95aad in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee94c4e in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbc018 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfa942b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa5c8c in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e3602df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:17.936457 [ 2921 ] {42bd24e5-3772-44a7-884b-fc367050aea7} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38924) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_10000_wide0 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf0933 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bddfda0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee95aad in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee94c4e in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbc018 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfa942b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa5c8c in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e3602df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:17.937308 [ 2921 ] {42bd24e5-3772-44a7-884b-fc367050aea7} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf0933 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bddfda0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee95aad in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee94c4e in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbc018 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfa942b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa5c8c in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e3602df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:18.055683 [ 2921 ] {842dc733-5aa4-42da-a763-26e12f0649b4} executeQuery: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38924) (comment: 02052_last_granula_adjust_LOGICAL_ERROR.gen.sql) (in query: select * apply max from data_02052_10000_wide100000000 settings max_read_buffer_size=0, max_threads=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf0933 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bddfda0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee95aad in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee94c4e in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbc018 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfa942b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa5c8c in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e3602df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:18.056506 [ 2921 ] {842dc733-5aa4-42da-a763-26e12f0649b4} TCPHandler: Code: 471. DB::Exception: Invalid value '0' for max_read_buffer_size. (INVALID_SETTING_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception const&>(int, FormatStringHelperImpl const&>::type>, DB::SettingFieldNumber const&) @ 0x000000001bdf0933 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:4632: DB::Context::getReadSettings() const @ 0x000000001bddfda0 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:114: DB::getMergeTreeReaderSettings(std::shared_ptr const&, DB::SelectQueryInfo const&) @ 0x000000001ee95aad in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:259: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001ee94c4e in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001dfbc018 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1305: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfa942b in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa5c8c in /usr/bin/clickhouse 12. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e3602df in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:25.181504 [ 11806 ] {} HTTPServerRequest: Got an HTTP request with no content length and no chunked/multipart encoding, it may be impossible to distinguish graceful EOF from abnormal connection loss 2024.12.17 01:21:27.842817 [ 11806 ] {4bff0e82-3f2b-4c6b-885f-db6fcbd2a186} executeQuery: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45978) (comment: 02025_nested_func_for_if_combinator.sql) (in query: SELECT uniqCombinedIfMergeIf(n, last > 50) FILTER(WHERE last>50) FROM (SELECT uniqCombinedIfState(number, number % 2) AS n, max(number) AS last FROM numbers(10));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0144b in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:27.843855 [ 11806 ] {4bff0e82-3f2b-4c6b-885f-db6fcbd2a186} TCPHandler: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0144b in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:28.082609 [ 11806 ] {0490da5e-1ae0-4741-8f6f-2190d8df0c70} executeQuery: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45978) (comment: 02025_nested_func_for_if_combinator.sql) (in query: SELECT uniqCombinedIfMergeIfIf(n, last > 5) FROM (SELECT uniqCombinedIfState(number, number % 2) AS n, max(number) AS last FROM numbers(10));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0144b in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:28.083941 [ 11806 ] {0490da5e-1ae0-4741-8f6f-2190d8df0c70} TCPHandler: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0144b in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:28.104607 [ 11806 ] {057df8c9-f354-48cc-890f-d675d64ad149} executeQuery: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45978) (comment: 02025_nested_func_for_if_combinator.sql) (in query: SELECT uniqCombinedIfMergeIfIf(n, last > 5, 1) FROM (SELECT uniqCombinedIfState(number, number % 2) AS n, max(number) AS last FROM numbers(10));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0144b in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:28.105651 [ 11806 ] {057df8c9-f354-48cc-890f-d675d64ad149} TCPHandler: Code: 184. DB::Exception: Nested identical combinator 'If' is not supported. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:191: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0144b in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:28.551647 [ 1121 ] {2e8cf77f-16f5-4674-a55d-67daf75bc3bf} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46018) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:28.552331 [ 1121 ] {2e8cf77f-16f5-4674-a55d-67daf75bc3bf} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:31.304094 [ 8669 ] {b898bc41-101f-4866-9c1a-7c854cd53d39} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60274) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:31.304793 [ 8669 ] {b898bc41-101f-4866-9c1a-7c854cd53d39} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:38.893764 [ 2670 ] {f040bcd9-77cf-466c-920f-734892848557} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60496) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:38.894694 [ 2670 ] {f040bcd9-77cf-466c-920f-734892848557} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:48.995862 [ 8665 ] {3fb84ce5-ece0-4696-95b5-03a82ccb7e7f} executeQuery: Code: 33. DB::Exception: Last saved offsset for File a.txt is bigger than file size (311 > 0). (CANNOT_READ_ALL_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49124) (comment: 02025_storage_filelog_virtual_col.sh) (in query: select * from file_log order by k settings stream_like_engine_allow_direct_select=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity&>::type>, String const&, unsigned long&, std::fpos<__mbstate_t>&) @ 0x000000001daab1a8 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:429: DB::StorageFileLog::openFilesAndSetPos() @ 0x000000001daa02ee in /usr/bin/clickhouse 7. /build/src/Storages/FileLog/StorageFileLog.cpp:335: DB::StorageFileLog::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001da9ca22 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:48.997527 [ 8665 ] {3fb84ce5-ece0-4696-95b5-03a82ccb7e7f} TCPHandler: Code: 33. DB::Exception: Last saved offsset for File a.txt is bigger than file size (311 > 0). (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity&>::type>, String const&, unsigned long&, std::fpos<__mbstate_t>&) @ 0x000000001daab1a8 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:429: DB::StorageFileLog::openFilesAndSetPos() @ 0x000000001daa02ee in /usr/bin/clickhouse 7. /build/src/Storages/FileLog/StorageFileLog.cpp:335: DB::StorageFileLog::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001da9ca22 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:56.856542 [ 6046 ] {47b550b8-bbbb-47cc-a9f1-a5d4d9901e0e} executeQuery: Code: 33. DB::Exception: Last saved offsset for File a.txt is bigger than file size (311 > 0). (CANNOT_READ_ALL_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36600) (comment: 02023_storage_filelog.sh) (in query: select * from file_log order by k settings stream_like_engine_allow_direct_select=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity&>::type>, String const&, unsigned long&, std::fpos<__mbstate_t>&) @ 0x000000001daab1a8 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:429: DB::StorageFileLog::openFilesAndSetPos() @ 0x000000001daa02ee in /usr/bin/clickhouse 7. /build/src/Storages/FileLog/StorageFileLog.cpp:335: DB::StorageFileLog::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001da9ca22 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:56.858516 [ 6046 ] {47b550b8-bbbb-47cc-a9f1-a5d4d9901e0e} TCPHandler: Code: 33. DB::Exception: Last saved offsset for File a.txt is bigger than file size (311 > 0). (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity&>::type>, String const&, unsigned long&, std::fpos<__mbstate_t>&) @ 0x000000001daab1a8 in /usr/bin/clickhouse 6. /build/src/Storages/FileLog/StorageFileLog.cpp:429: DB::StorageFileLog::openFilesAndSetPos() @ 0x000000001daa02ee in /usr/bin/clickhouse 7. /build/src/Storages/FileLog/StorageFileLog.cpp:335: DB::StorageFileLog::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001da9ca22 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:21:59.599701 [ 8666 ] {47637bbe-69da-42a8-89d7-263d75d0cbf0} executeQuery: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAll(y, [[123], -42]). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36660) (comment: 02013_bloom_filter_hasAll.sql) (in query: SELECT count() FROM bftest WHERE hasAll(y, [[123], -42]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119554ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001ba050c6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:267: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba08039 in /usr/bin/clickhouse 8. /build/src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x000000001b9c67b0 in /usr/bin/clickhouse 9. /build/src/Core/Field.h:640: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x000000001bc3aac8 in /usr/bin/clickhouse 10. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x000000001bc3a73d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1297: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea18b in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:700: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f43 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:705: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4fe6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb7ccd in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/KeyCondition.cpp:724: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001ddc9518 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:83: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x000000001e1d602d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:663: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad42f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 2024.12.17 01:21:59.600820 [ 8666 ] {47637bbe-69da-42a8-89d7-263d75d0cbf0} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAll(y, [[123], -42]). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119554ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001ba050c6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:267: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba08039 in /usr/bin/clickhouse 8. /build/src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x000000001b9c67b0 in /usr/bin/clickhouse 9. /build/src/Core/Field.h:640: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x000000001bc3aac8 in /usr/bin/clickhouse 10. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x000000001bc3a73d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1297: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea18b in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:700: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f43 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:705: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4fe6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb7ccd in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/KeyCondition.cpp:724: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001ddc9518 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:83: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x000000001e1d602d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:663: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad42f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 2024.12.17 01:22:00.003893 [ 8666 ] {2b76d1b4-238b-45f8-a7e5-184059401f05} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36660) (comment: 02013_bloom_filter_hasAll.sql) (in query: -- can't use bloom_filter with `hasAll` on non-constant arguments (just like `has`) SELECT count() FROM bftest WHERE hasAll(x, materialize([1,2,3])) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001dfb09eb in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9fe21 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:00.004850 [ 8666 ] {2b76d1b4-238b-45f8-a7e5-184059401f05} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001dfb09eb in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9fe21 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:00.031220 [ 8666 ] {8986cc24-bf0b-4955-abe4-df5791b2a503} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36660) (comment: 02013_bloom_filter_hasAll.sql) (in query: -- NULLs are not Ok SELECT count() FROM bftest WHERE hasAll(x, [NULL,-42]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001dfb09eb in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9fe21 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:00.031997 [ 8666 ] {8986cc24-bf0b-4955-abe4-df5791b2a503} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001dfb09eb in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9fe21 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:00.056142 [ 8666 ] {f817a631-7624-458d-9708-c915f03367dd} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36660) (comment: 02013_bloom_filter_hasAll.sql) (in query: SELECT count() FROM bftest WHERE hasAll(x, [0,NULL]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001dfb09eb in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9fe21 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:00.056881 [ 8666 ] {f817a631-7624-458d-9708-c915f03367dd} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001dfb09eb in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9fe21 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:00.067156 [ 8666 ] {21ad4d88-c24d-4f86-a954-6c8a66a6889f} executeQuery: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAll(x, [[123], -42]). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36660) (comment: 02013_bloom_filter_hasAll.sql) (in query: -- non-compatible types SELECT count() FROM bftest WHERE hasAll(x, [[123], -42]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119554ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001ba050c6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:267: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba08039 in /usr/bin/clickhouse 8. /build/src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x000000001b9c67b0 in /usr/bin/clickhouse 9. /build/src/Core/Field.h:640: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x000000001bc3aac8 in /usr/bin/clickhouse 10. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x000000001bc3a73d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1297: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea18b in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:700: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f43 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:705: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4fe6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb7ccd in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/KeyCondition.cpp:724: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001ddc9518 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:83: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x000000001e1d602d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:663: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad42f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 2024.12.17 01:22:00.068054 [ 8666 ] {21ad4d88-c24d-4f86-a954-6c8a66a6889f} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAll(x, [[123], -42]). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119554ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001ba050c6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:267: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba08039 in /usr/bin/clickhouse 8. /build/src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x000000001b9c67b0 in /usr/bin/clickhouse 9. /build/src/Core/Field.h:640: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x000000001bc3aac8 in /usr/bin/clickhouse 10. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x000000001bc3a73d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1297: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea18b in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:700: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f43 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:705: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4fe6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb7ccd in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/KeyCondition.cpp:724: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001ddc9518 in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:83: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x000000001e1d602d in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:663: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad42f in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 2024.12.17 01:22:00.094956 [ 8666 ] {eab17e2b-bb56-4808-857a-5f3f3409541d} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36660) (comment: 02013_bloom_filter_hasAll.sql) (in query: SELECT count() FROM bftest WHERE hasAll(x, [toDecimal32(123, 3), 2]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001dfb09eb in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9fe21 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:00.095702 [ 8666 ] {eab17e2b-bb56-4808-857a-5f3f3409541d} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:930: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001dfb09eb in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1493: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9fe21 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1373: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001ee9d2b3 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001ee9cfcd in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1677: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001eea226c in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1785: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea32db in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:01.972423 [ 1121 ] {421b3718-a166-4328-a900-9bdadfba09cd} executeQuery: Code: 44. DB::Exception: Columns UInt32 and DateTime64 cannot be compared. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58246) (comment: 02010_array_index_bad_cast.sql) (in query: -- This query throws exception about uncomparable data types (but at least it does not introduce bad cast in code). SELECT has(materialize(CAST(['2021-07-14'] AS Array(LowCardinality(Nullable(DateTime))))), materialize('2021-07-14'::DateTime64(7)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayIndex.h:124: void DB::Impl::Main::process<3ul, DB::IColumn, DB::IColumn>(DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const*, DB::PODArray, 63ul, 64ul> const*) @ 0x00000000128f8c14 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayIndex.h:188: void DB::Impl::Main::vector(DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const*, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000012892d06 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:857: DB::FunctionArrayIndex::dispatchConvertedLowCardinalityColumns(DB::FunctionArrayIndex::ExecutionData&) @ 0x000000001338244a in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:813: DB::FunctionArrayIndex::executeLowCardinality(std::vector> const&) @ 0x000000001338097c in /usr/bin/clickhouse 10. /build/src/Functions/array/arrayIndex.h:585: DB::FunctionArrayIndex::executeOnNonNullable(std::vector> const&, std::shared_ptr const&) const @ 0x000000001337fb9e in /usr/bin/clickhouse 11. /build/src/Functions/array/arrayIndex.h:516: DB::FunctionArrayIndex::executeArrayImpl(std::vector> const&, std::shared_ptr const&) const @ 0x000000001337f641 in /usr/bin/clickhouse 12. /build/src/Functions/array/arrayIndex.h:0: DB::FunctionArrayIndex::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001337ef60 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:22:01.973652 [ 1121 ] {421b3718-a166-4328-a900-9bdadfba09cd} TCPHandler: Code: 44. DB::Exception: Columns UInt32 and DateTime64 cannot be compared. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayIndex.h:124: void DB::Impl::Main::process<3ul, DB::IColumn, DB::IColumn>(DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const*, DB::PODArray, 63ul, 64ul> const*) @ 0x00000000128f8c14 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayIndex.h:188: void DB::Impl::Main::vector(DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const*, DB::PODArray, 63ul, 64ul> const*) @ 0x0000000012892d06 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:857: DB::FunctionArrayIndex::dispatchConvertedLowCardinalityColumns(DB::FunctionArrayIndex::ExecutionData&) @ 0x000000001338244a in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:813: DB::FunctionArrayIndex::executeLowCardinality(std::vector> const&) @ 0x000000001338097c in /usr/bin/clickhouse 10. /build/src/Functions/array/arrayIndex.h:585: DB::FunctionArrayIndex::executeOnNonNullable(std::vector> const&, std::shared_ptr const&) const @ 0x000000001337fb9e in /usr/bin/clickhouse 11. /build/src/Functions/array/arrayIndex.h:516: DB::FunctionArrayIndex::executeArrayImpl(std::vector> const&, std::shared_ptr const&) const @ 0x000000001337f641 in /usr/bin/clickhouse 12. /build/src/Functions/array/arrayIndex.h:0: DB::FunctionArrayIndex::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001337ef60 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:22:02.884638 [ 8668 ] {7ac790f1-783d-43a8-9b7f-45f49dd9cb79} executeQuery: Code: 36. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): arrayJoin([0, 1]). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58266) (comment: 02009_array_join_partition.sql) (in query: ALTER TABLE table_2009_part ATTACH PARTITION tuple(arrayJoin([0, 1]));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Interpreters/evaluateConstantExpression.cpp:93: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a154 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5575: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001de9243d in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4948: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000001dea9aa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:184: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d49f3 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:02.885494 [ 8668 ] {7ac790f1-783d-43a8-9b7f-45f49dd9cb79} TCPHandler: Code: 36. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): arrayJoin([0, 1]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Interpreters/evaluateConstantExpression.cpp:93: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a154 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5575: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001de9243d in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4948: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000001dea9aa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:184: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d49f3 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:02.899864 [ 8668 ] {2c245cba-c370-4830-9b3b-eced2b862e2c} executeQuery: Code: 36. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): toYYYYMM(toDate(array(arrayJoin(array(arrayJoin(array(arrayJoin(array(arrayJoin(array(3, materialize(NULL), arrayJoin(array(1025, materialize(NULL), materialize(NULL))), NULL)))))), materialize(NULL)))), NULL)). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58266) (comment: 02009_array_join_partition.sql) (in query: ALTER TABLE table_2009_part ATTACH PARTITION tuple(toYYYYMM(toDate([arrayJoin([arrayJoin([arrayJoin([arrayJoin([3, materialize(NULL), arrayJoin([1025, materialize(NULL), materialize(NULL)]), NULL])])]), materialize(NULL)])], NULL)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Interpreters/evaluateConstantExpression.cpp:93: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a154 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5575: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001de9243d in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4948: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000001dea9aa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:184: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d49f3 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:02.900612 [ 8668 ] {2c245cba-c370-4830-9b3b-eced2b862e2c} TCPHandler: Code: 36. DB::Exception: Element of set in IN, VALUES, or LIMIT, or aggregate function parameter, or a table function argument is not a constant expression (result column not found): toYYYYMM(toDate(array(arrayJoin(array(arrayJoin(array(arrayJoin(array(arrayJoin(array(3, materialize(NULL), arrayJoin(array(1025, materialize(NULL), materialize(NULL))), NULL)))))), materialize(NULL)))), NULL)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Interpreters/evaluateConstantExpression.cpp:93: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a154 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5575: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001de9243d in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:4948: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000001dea9aa4 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:184: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d49f3 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:03.834282 [ 8668 ] {762a4c1d-6ded-421e-812e-652195dd658d} executeQuery: Code: 36. DB::Exception: Cannot materialize column `x` because it doesn't have default expression. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58280) (comment: 02008_materialize_column.sql) (in query: ALTER TABLE tmp MATERIALIZE COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:698: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc68558 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65d21 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65520 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47d2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:03.834977 [ 8668 ] {762a4c1d-6ded-421e-812e-652195dd658d} TCPHandler: Code: 36. DB::Exception: Cannot materialize column `x` because it doesn't have default expression. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:698: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc68558 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65d21 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65520 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47d2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:04.258272 [ 8670 ] {672797fc-e1c7-458a-b679-038fc608a668} executeQuery: Code: 675. DB::Exception: Invalid IPv4 value: While processing CAST('hello', 'IPv4') AS v, toTypeName(v). (CANNOT_PARSE_IPV4) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58298) (comment: 02007_ipv4_and_ipv6_to_and_from_string.sql) (in query: SELECT CAST('hello' as IPv4) as v, toTypeName(v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [19]) @ 0x000000000b21b35e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.h:279: COW::immutable_ptr DB::convertToIPv4<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b21aa73 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:4104: bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7a3cf7 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(auto&&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a3a66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a3a00 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a39a0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7a3948 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 2024.12.17 01:22:04.259417 [ 8670 ] {672797fc-e1c7-458a-b679-038fc608a668} TCPHandler: Code: 675. DB::Exception: Invalid IPv4 value: While processing CAST('hello', 'IPv4') AS v, toTypeName(v). (CANNOT_PARSE_IPV4), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [19]) @ 0x000000000b21b35e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.h:279: COW::immutable_ptr DB::convertToIPv4<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b21aa73 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:4104: bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7a3cf7 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(auto&&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a3a66 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a3a00 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a39a0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7a3948 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 2024.12.17 01:22:04.454448 [ 8670 ] {af8e23d1-b809-49de-a6e3-dfe0a0f0807d} executeQuery: Code: 676. DB::Exception: Invalid IPv6 value: While processing CAST('hello', 'IPv6') AS v, toTypeName(v). (CANNOT_PARSE_IPV6) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58298) (comment: 02007_ipv4_and_ipv6_to_and_from_string.sql) (in query: SELECT CAST('hello' as IPv6) as v, toTypeName(v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [19]) @ 0x000000000b21b35e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.h:198: COW::immutable_ptr DB::detail::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector, DB::ColumnString>(DB::ColumnString const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b21e39d in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsCodingIP.h:220: COW::immutable_ptr DB::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b21bd77 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:4124: bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7a43f7 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(auto&&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a4166 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a4100 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a40a0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7a4048 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 2024.12.17 01:22:04.455456 [ 8670 ] {af8e23d1-b809-49de-a6e3-dfe0a0f0807d} TCPHandler: Code: 676. DB::Exception: Invalid IPv6 value: While processing CAST('hello', 'IPv6') AS v, toTypeName(v). (CANNOT_PARSE_IPV6), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [19]) @ 0x000000000b21b35e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.h:198: COW::immutable_ptr DB::detail::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector, DB::ColumnString>(DB::ColumnString const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b21e39d in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsCodingIP.h:220: COW::immutable_ptr DB::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnVector>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b21bd77 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:4124: bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7a43f7 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(auto&&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a4166 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(bool DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a4100 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7a40a0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(auto const&)::operator()>(auto const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7a4048 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 2024.12.17 01:22:06.318318 [ 6043 ] {7306404d182447f89cb4ba0e6fb60bbb} executeQuery: Code: 117. DB::Exception: Index for LowCardinality is out of range. Dictionary size is 1, but found index with value 72057594037927936. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:48022) (in query: insert into test_5jkqghaf.tab settings input_format_defaults_for_omitted_fields=0 format TSV), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c4b04cc in /usr/bin/clickhouse 6. /build/src/Columns/ColumnLowCardinality.cpp:229: auto DB::checkPositionsAreLimited(DB::IColumn const&, unsigned long)::$_0::operator()(unsigned long) const @ 0x000000001d335759 in /usr/bin/clickhouse 7. /build/src/Columns/ColumnLowCardinality.cpp:236: DB::checkPositionsAreLimited(DB::IColumn const&, unsigned long) @ 0x000000001d3283e9 in /usr/bin/clickhouse 8. /build/src/Columns/ColumnLowCardinality.cpp:246: DB::ColumnLowCardinality::insertRangeFromDictionaryEncodedColumn(DB::IColumn const&, DB::IColumn const&) @ 0x000000001d328260 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:594: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const::$_2::operator()(unsigned long) const @ 0x000000001ba547f5 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:667: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001ba540b9 in /usr/bin/clickhouse 11. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001e68f074 in /usr/bin/clickhouse 12. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001e68ff0a in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:1777: DB::TCPHandler::receiveData(bool) @ 0x000000001e652709 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1453: DB::TCPHandler::receivePacket() @ 0x000000001e649749 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:774: DB::TCPHandler::readDataNext() @ 0x000000001e64b601 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:861: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64be9f in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:06.319161 [ 6043 ] {7306404d182447f89cb4ba0e6fb60bbb} TCPHandler: Code: 117. DB::Exception: Index for LowCardinality is out of range. Dictionary size is 1, but found index with value 72057594037927936. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x000000000c4b04cc in /usr/bin/clickhouse 6. /build/src/Columns/ColumnLowCardinality.cpp:229: auto DB::checkPositionsAreLimited(DB::IColumn const&, unsigned long)::$_0::operator()(unsigned long) const @ 0x000000001d335759 in /usr/bin/clickhouse 7. /build/src/Columns/ColumnLowCardinality.cpp:236: DB::checkPositionsAreLimited(DB::IColumn const&, unsigned long) @ 0x000000001d3283e9 in /usr/bin/clickhouse 8. /build/src/Columns/ColumnLowCardinality.cpp:246: DB::ColumnLowCardinality::insertRangeFromDictionaryEncodedColumn(DB::IColumn const&, DB::IColumn const&) @ 0x000000001d328260 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:594: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const::$_2::operator()(unsigned long) const @ 0x000000001ba547f5 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:667: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001ba540b9 in /usr/bin/clickhouse 11. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001e68f074 in /usr/bin/clickhouse 12. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001e68ff0a in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:1777: DB::TCPHandler::receiveData(bool) @ 0x000000001e652709 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1453: DB::TCPHandler::receivePacket() @ 0x000000001e649749 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:774: DB::TCPHandler::readDataNext() @ 0x000000001e64b601 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:861: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64be9f in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:06.478413 [ 8668 ] {e03916bba6604d66a9e79b0f48750f45} executeQuery: Code: 117. DB::Exception: LowCardinality indexes serialization type for Native format cannot use global dictionary. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:48026) (in query: insert into test_5jkqghaf.tab settings input_format_defaults_for_omitted_fields=0 format TSV), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [89]) @ 0x000000001b0c451e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:152: DB::IndexesSerializationType::deserialize(DB::ReadBuffer&, DB::ISerialization::DeserializeBinaryBulkSettings const&) @ 0x000000001ba590d5 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:648: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001ba53f59 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001e68f074 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001e68ff0a in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:1777: DB::TCPHandler::receiveData(bool) @ 0x000000001e652709 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:1453: DB::TCPHandler::receivePacket() @ 0x000000001e649749 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:774: DB::TCPHandler::readDataNext() @ 0x000000001e64b601 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:861: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64be9f in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:06.479268 [ 8668 ] {e03916bba6604d66a9e79b0f48750f45} TCPHandler: Code: 117. DB::Exception: LowCardinality indexes serialization type for Native format cannot use global dictionary. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [89]) @ 0x000000001b0c451e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:152: DB::IndexesSerializationType::deserialize(DB::ReadBuffer&, DB::ISerialization::DeserializeBinaryBulkSettings const&) @ 0x000000001ba590d5 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:648: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001ba53f59 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001e68f074 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001e68ff0a in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:1777: DB::TCPHandler::receiveData(bool) @ 0x000000001e652709 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:1453: DB::TCPHandler::receivePacket() @ 0x000000001e649749 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:774: DB::TCPHandler::readDataNext() @ 0x000000001e64b601 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:861: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64be9f in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:06.561041 [ 8668 ] {b1b5ea0d-276d-45b8-84cc-930474dc3069} executeQuery: Code: 62. DB::Exception: Empty query. (SYNTAX_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:48026) (in query: ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000001f47d8e7 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000001f47d9c6 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:714: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0abc48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:06.688792 [ 8670 ] {4d8ca390abcd4fc2a1380b4ed0474124} executeQuery: Code: 117. DB::Exception: No additional keys found. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:48034) (in query: insert into test_5jkqghaf.tab settings input_format_defaults_for_omitted_fields=0 format TSV), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [26]) @ 0x000000000b5dfa5e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:589: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const::$_2::operator()(unsigned long) const @ 0x000000001ba54671 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:667: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001ba540b9 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001e68f074 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001e68ff0a in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:1777: DB::TCPHandler::receiveData(bool) @ 0x000000001e652709 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:1453: DB::TCPHandler::receivePacket() @ 0x000000001e649749 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:774: DB::TCPHandler::readDataNext() @ 0x000000001e64b601 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:861: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64be9f in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:06.688817 [ 8668 ] {b1b5ea0d-276d-45b8-84cc-930474dc3069} TCPHandler: Code: 62. DB::Exception: Empty query. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000001f47d8e7 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000001f47d9c6 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:714: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0abc48 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:06.689464 [ 8668 ] {b1b5ea0d-276d-45b8-84cc-930474dc3069} TCPHandler: Can't skip data packets after query failure. 2024.12.17 01:22:06.689659 [ 8670 ] {4d8ca390abcd4fc2a1380b4ed0474124} TCPHandler: Code: 117. DB::Exception: No additional keys found. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [26]) @ 0x000000000b5dfa5e in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:589: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const::$_2::operator()(unsigned long) const @ 0x000000001ba54671 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationLowCardinality.cpp:667: DB::SerializationLowCardinality::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x000000001ba540b9 in /usr/bin/clickhouse 8. /build/src/Formats/NativeReader.cpp:97: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001e68f074 in /usr/bin/clickhouse 9. /build/src/Formats/NativeReader.cpp:206: DB::NativeReader::read() @ 0x000000001e68ff0a in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:1777: DB::TCPHandler::receiveData(bool) @ 0x000000001e652709 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:1453: DB::TCPHandler::receivePacket() @ 0x000000001e649749 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:774: DB::TCPHandler::readDataNext() @ 0x000000001e64b601 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:861: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64be9f in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:06.759677 [ 8670 ] {} TCPHandler: Code: 101. DB::NetException: Unexpected packet Hello received from client. (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:14: DB::NetException::NetException(int, char const (&) [45]) @ 0x000000001e65975e in /usr/bin/clickhouse 6. /build/src/Server/TCPHandler.cpp:1388: DB::TCPHandler::receiveUnexpectedHello() @ 0x000000001e64f965 in /usr/bin/clickhouse 7. /build/src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000001e6497fe in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:348: DB::TCPHandler::runImpl() @ 0x000000001e6418c1 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 15. ? @ 0x00007f3559e74ac3 in ? 16. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:07.670420 [ 8668 ] {97ece8d1-51c8-42f6-849d-f1e4e5df4d53} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58364) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:07.671215 [ 8668 ] {97ece8d1-51c8-42f6-849d-f1e4e5df4d53} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:11.009937 [ 8668 ] {b9c6650d-cc00-49c1-be46-257db04f61e9} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 96.66 MiB (attempt to allocate chunk of 0 bytes), maximum: 95.37 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58374) (comment: 01961_roaring_memory_tracking.sql) (in query: SELECT cityHash64(rand() % 1000) as n, groupBitmapState(number) FROM numbers_mt(200000000) GROUP BY n FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:84: CurrentMemoryTracker::check() @ 0x000000001387c8d9 in /usr/bin/clickhouse 9. /build/src/Interpreters/Aggregator.cpp:1823: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x000000001c00e557 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1615: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fc33 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 2024.12.17 01:22:12.702041 [ 8668 ] {b9c6650d-cc00-49c1-be46-257db04f61e9} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 96.66 MiB (attempt to allocate chunk of 0 bytes), maximum: 95.37 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:84: CurrentMemoryTracker::check() @ 0x000000001387c8d9 in /usr/bin/clickhouse 9. /build/src/Interpreters/Aggregator.cpp:1823: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x000000001c00e557 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1615: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fc33 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 2024.12.17 01:22:15.282814 [ 8668 ] {test_01948_tcp_test_llc57i6a} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34814) (comment: 01950_kill_large_group_by_query.sh) (in query: SELECT * FROM ( SELECT a.name as n FROM ( SELECT 'Name' as name, number FROM system.numbers LIMIT 2000000 ) AS a, ( SELECT 'Name' as name2, number FROM system.numbers LIMIT 2000000 ) as b GROUP BY n ) LIMIT 20 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b3b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:15.293433 [ 8668 ] {test_01948_tcp_test_llc57i6a} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b3b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:15.782496 [ 11806 ] {e50c07ab-5894-4492-8137-f2b97f8856dd} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateTimeToSnowflake doesn't match: passed 0, should be 1: While processing dateTimeToSnowflake(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34874) (comment: 01942_dateTimeToSnowflake.sql) (in query: -- Error cases SELECT dateTimeToSnowflake();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:22:15.785857 [ 11806 ] {e50c07ab-5894-4492-8137-f2b97f8856dd} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateTimeToSnowflake doesn't match: passed 0, should be 1: While processing dateTimeToSnowflake(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:22:15.794239 [ 11806 ] {54909afd-d33d-45bb-b30e-18856bce7701} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateTime64ToSnowflake doesn't match: passed 0, should be 1: While processing dateTime64ToSnowflake(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34874) (comment: 01942_dateTimeToSnowflake.sql) (in query: SELECT dateTime64ToSnowflake();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:22:15.795444 [ 11806 ] {54909afd-d33d-45bb-b30e-18856bce7701} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateTime64ToSnowflake doesn't match: passed 0, should be 1: While processing dateTime64ToSnowflake(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:22:15.963576 [ 11806 ] {19766c8f-e46e-42d5-babf-7b5e070a4c6b} executeQuery: Code: 43. DB::Exception: The only argument for function dateTimeToSnowflake must be DateTime: While processing dateTimeToSnowflake('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34874) (comment: 01942_dateTimeToSnowflake.sql) (in query: SELECT dateTimeToSnowflake('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionSnowflake.h:50: DB::FunctionDateTimeToSnowflake::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125455b7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:22:15.964490 [ 11806 ] {19766c8f-e46e-42d5-babf-7b5e070a4c6b} TCPHandler: Code: 43. DB::Exception: The only argument for function dateTimeToSnowflake must be DateTime: While processing dateTimeToSnowflake('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionSnowflake.h:50: DB::FunctionDateTimeToSnowflake::getReturnTypeImpl(std::vector> const&) const @ 0x00000000125455b7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:22:16.091874 [ 11806 ] {992bfa45-8a23-4371-a1d7-d78773ac34c6} executeQuery: Code: 43. DB::Exception: The only argument for function dateTime64ToSnowflake must be DateTime64: While processing dateTime64ToSnowflake('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34874) (comment: 01942_dateTimeToSnowflake.sql) (in query: SELECT dateTime64ToSnowflake('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionSnowflake.h:151: DB::FunctionDateTime64ToSnowflake::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012546457 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:22:16.092927 [ 11806 ] {992bfa45-8a23-4371-a1d7-d78773ac34c6} TCPHandler: Code: 43. DB::Exception: The only argument for function dateTime64ToSnowflake must be DateTime64: While processing dateTime64ToSnowflake('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionSnowflake.h:151: DB::FunctionDateTime64ToSnowflake::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012546457 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:22:16.100239 [ 11806 ] {e02d0835-f66a-4861-9133-adff4292811e} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateTimeToSnowflake doesn't match: passed 2, should be 1: While processing dateTimeToSnowflake('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34874) (comment: 01942_dateTimeToSnowflake.sql) (in query: SELECT dateTimeToSnowflake('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:22:16.101138 [ 11806 ] {e02d0835-f66a-4861-9133-adff4292811e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateTimeToSnowflake doesn't match: passed 2, should be 1: While processing dateTimeToSnowflake('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:22:16.108574 [ 11806 ] {58bb39c7-2336-4732-9866-d5d233b7ce0f} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateTime64ToSnowflake doesn't match: passed 2, should be 1: While processing dateTime64ToSnowflake('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34874) (comment: 01942_dateTimeToSnowflake.sql) (in query: SELECT dateTime64ToSnowflake('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:22:16.109655 [ 11806 ] {58bb39c7-2336-4732-9866-d5d233b7ce0f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateTime64ToSnowflake doesn't match: passed 2, should be 1: While processing dateTime64ToSnowflake('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:22:17.739935 [ 3551 ] {test_01948_http_test_llc57i6a} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56602) (comment: 01950_kill_large_group_by_query.sh) (in query: SELECT * FROM ( SELECT a.name as n FROM ( SELECT 'Name' as name, number FROM system.numbers LIMIT 2000000 ) AS a, ( SELECT 'Name' as name2, number FROM system.numbers LIMIT 2000000 ) as b GROUP BY n ) LIMIT 20 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b3b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:17.752174 [ 3551 ] {test_01948_http_test_llc57i6a} DynamicQueryHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b3b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:22:26.232200 [ 8668 ] {c472c8d5-7272-4f7c-8829-be22f8563901} executeQuery: Code: 6. DB::Exception: Cannot parse string '0.Aa234' as Float64: syntax error at position 2 (parsed just '0.'). Note: there are toFloat64OrZero and toFloat64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION toFloat64(a :: 0) -> toFloat64(a) Float64 : 2': while pushing to view test_ngshfh4p.matview_exception_a_to_b (9b3b478c-0e5e-49c7-856a-c58f5866e83b). (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59760) (comment: 01927_query_views_log_matview_exceptions.sh) (in query: INSERT INTO table_exception_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToFloat64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b4bc7f7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b4b7618 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b4a6519 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b4a5848 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b4a4a5e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000001ece3b83 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x000000001ebc8281 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc8255 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc8235 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc8215 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc81dd in /usr/bin/clickhouse 2024.12.17 01:22:26.236128 [ 8668 ] {c472c8d5-7272-4f7c-8829-be22f8563901} TCPHandler: Code: 6. DB::Exception: Cannot parse string '0.Aa234' as Float64: syntax error at position 2 (parsed just '0.'). Note: there are toFloat64OrZero and toFloat64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION toFloat64(a :: 0) -> toFloat64(a) Float64 : 2': while pushing to view test_ngshfh4p.matview_exception_a_to_b (9b3b478c-0e5e-49c7-856a-c58f5866e83b). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToFloat64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b4bc7f7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b4b7618 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b4a6519 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b4a5848 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b4a4a5e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000001ece3b83 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x000000001ebc8281 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc8255 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc8235 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc8215 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc81dd in /usr/bin/clickhouse 2024.12.17 01:22:27.016606 [ 8670 ] {ba8688dd-5f6c-41d4-84f5-9647a97d065a} executeQuery: Code: 42. DB::Exception: Function mapPopulateSeries accepts at least one map or two arrays arguments, and optional max key argument: While processing mapPopulateSeries(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59766) (comment: 01925_map_populate_series_on_map.sql) (in query: select mapPopulateSeries();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:92: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000135b19ce in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:22:27.017700 [ 8670 ] {ba8688dd-5f6c-41d4-84f5-9647a97d065a} TCPHandler: Code: 42. DB::Exception: Function mapPopulateSeries accepts at least one map or two arrays arguments, and optional max key argument: While processing mapPopulateSeries(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:92: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000135b19ce in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:22:27.208762 [ 8670 ] {8ec37a2d-dfd1-4282-ae0c-5ffb1d96d495} executeQuery: Code: 43. DB::Exception: Function mapPopulateSeries only accepts one map or arrays, but got String: While processing mapPopulateSeries('asdf'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59766) (comment: 01925_map_populate_series_on_map.sql) (in query: select mapPopulateSeries('asdf');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:132: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000135b1ec6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:22:27.209826 [ 8670 ] {8ec37a2d-dfd1-4282-ae0c-5ffb1d96d495} TCPHandler: Code: 43. DB::Exception: Function mapPopulateSeries only accepts one map or arrays, but got String: While processing mapPopulateSeries('asdf'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:132: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000135b1ec6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:22:27.334751 [ 8670 ] {5e458b2c-33f5-4112-8bdd-29cac0506ac1} executeQuery: Code: 43. DB::Exception: Function mapPopulateSeries key argument should be of signed or unsigned integer type. Actual type String: While processing mapPopulateSeries(map('1', 1, '2', 1)) AS res, toTypeName(res). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59766) (comment: 01925_map_populate_series_on_map.sql) (in query: select mapPopulateSeries(map('1', 1, '2', 1)) as res, toTypeName(res);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:52: DB::FunctionMapPopulateSeries::checkTypes(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001382b934 in /usr/bin/clickhouse 7. /build/src/Functions/array/mapPopulateSeries.cpp:142: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000135b1fd8 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:22:27.335870 [ 8670 ] {5e458b2c-33f5-4112-8bdd-29cac0506ac1} TCPHandler: Code: 43. DB::Exception: Function mapPopulateSeries key argument should be of signed or unsigned integer type. Actual type String: While processing mapPopulateSeries(map('1', 1, '2', 1)) AS res, toTypeName(res). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/array/mapPopulateSeries.cpp:52: DB::FunctionMapPopulateSeries::checkTypes(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001382b934 in /usr/bin/clickhouse 7. /build/src/Functions/array/mapPopulateSeries.cpp:142: DB::FunctionMapPopulateSeries::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000135b1fd8 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:22:27.650335 [ 11801 ] {b91665b4-e3c0-46e6-925a-db514ee5ce1f} executeQuery: Code: 43. DB::Exception: Illegal types String and IntervalDay of arguments of function plus: While processing InsertionDateTime + toIntervalDay(3). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59774) (comment: 01923_ttl_with_modify_column.sql) (in query: ALTER TABLE t_ttl_modify_column MODIFY COLUMN InsertionDateTime String;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1618: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000011c75509 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2476: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001195932f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:376: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c0b61a9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb7838 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb7ba3 in /usr/bin/clickhouse 24. /build/src/Storages/TTLDescription.cpp:178: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001da2f434 in /usr/bin/clickhouse 25. /build/src/Storages/TTLDescription.cpp:341: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001da315cc in /usr/bin/clickhouse 26. /build/src/Storages/AlterCommands.cpp:1012: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58bd3a in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8d98c in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:22:27.651383 [ 11801 ] {b91665b4-e3c0-46e6-925a-db514ee5ce1f} TCPHandler: Code: 43. DB::Exception: Illegal types String and IntervalDay of arguments of function plus: While processing InsertionDateTime + toIntervalDay(3). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1618: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000011c75509 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2476: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001195932f in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:376: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c0b61a9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb7838 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb7ba3 in /usr/bin/clickhouse 24. /build/src/Storages/TTLDescription.cpp:178: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001da2f434 in /usr/bin/clickhouse 25. /build/src/Storages/TTLDescription.cpp:341: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001da315cc in /usr/bin/clickhouse 26. /build/src/Storages/AlterCommands.cpp:1012: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58bd3a in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8d98c in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:22:29.817215 [ 11807 ] {42746c52-ad7d-4eed-aa4a-4b5bebd1f6a0} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toHour: while executing 'FUNCTION toHour(x1 :: 0) -> toHour(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59862) (comment: 01921_datatype_date32.sql) (in query: select toHour(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8eea63 in /usr/bin/clickhouse 7. ? @ 0x000000000d9f615b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer, DB::ToHourImpl, false, void*>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToHourImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x000000001264a0c4 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1642: COW::immutable_ptr DB::DateTimeTransformImpl, DB::ToHourImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToHourImpl const&) @ 0x000000001264954f in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:71: DB::FunctionDateOrDateTimeToSomething, DB::ToHourImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126481ae in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 2024.12.17 01:22:29.818114 [ 11807 ] {42746c52-ad7d-4eed-aa4a-4b5bebd1f6a0} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toHour: while executing 'FUNCTION toHour(x1 :: 0) -> toHour(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8eea63 in /usr/bin/clickhouse 7. ? @ 0x000000000d9f615b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer, DB::ToHourImpl, false, void*>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToHourImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x000000001264a0c4 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1642: COW::immutable_ptr DB::DateTimeTransformImpl, DB::ToHourImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToHourImpl const&) @ 0x000000001264954f in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:71: DB::FunctionDateOrDateTimeToSomething, DB::ToHourImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126481ae in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 2024.12.17 01:22:29.964919 [ 11807 ] {9dceb7c0-d640-464e-95b0-d40c18a01bfb} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toMinute: while executing 'FUNCTION toMinute(x1 :: 0) -> toMinute(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59862) (comment: 01921_datatype_date32.sql) (in query: select toMinute(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8eea63 in /usr/bin/clickhouse 7. ? @ 0x000000000d9f617b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer, DB::ToMinuteImpl, false, void*>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToMinuteImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x000000001265b0a4 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1642: COW::immutable_ptr DB::DateTimeTransformImpl, DB::ToMinuteImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToMinuteImpl const&) @ 0x000000001265a52f in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:71: DB::FunctionDateOrDateTimeToSomething, DB::ToMinuteImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126591ce in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 2024.12.17 01:22:29.965776 [ 11807 ] {9dceb7c0-d640-464e-95b0-d40c18a01bfb} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toMinute: while executing 'FUNCTION toMinute(x1 :: 0) -> toMinute(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8eea63 in /usr/bin/clickhouse 7. ? @ 0x000000000d9f617b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer, DB::ToMinuteImpl, false, void*>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToMinuteImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x000000001265b0a4 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1642: COW::immutable_ptr DB::DateTimeTransformImpl, DB::ToMinuteImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToMinuteImpl const&) @ 0x000000001265a52f in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:71: DB::FunctionDateOrDateTimeToSomething, DB::ToMinuteImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126591ce in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 2024.12.17 01:22:30.128355 [ 11807 ] {13bdf87b-be97-4b78-a40b-05d64e6c1567} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toSecond: while executing 'FUNCTION toSecond(x1 :: 0) -> toSecond(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59862) (comment: 01921_datatype_date32.sql) (in query: select toSecond(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8eea63 in /usr/bin/clickhouse 7. ? @ 0x000000000d9f619b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer, DB::ToSecondImpl, false, void*>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToSecondImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x0000000012689fa4 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1642: COW::immutable_ptr DB::DateTimeTransformImpl, DB::ToSecondImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToSecondImpl const&) @ 0x000000001268942f in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:71: DB::FunctionDateOrDateTimeToSomething, DB::ToSecondImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126880ce in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 2024.12.17 01:22:30.129134 [ 11807 ] {13bdf87b-be97-4b78-a40b-05d64e6c1567} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toSecond: while executing 'FUNCTION toSecond(x1 :: 0) -> toSecond(x1) UInt8 : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8eea63 in /usr/bin/clickhouse 7. ? @ 0x000000000d9f619b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer, DB::ToSecondImpl, false, void*>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToSecondImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x0000000012689fa4 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1642: COW::immutable_ptr DB::DateTimeTransformImpl, DB::ToSecondImpl, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToSecondImpl const&) @ 0x000000001268942f in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:71: DB::FunctionDateOrDateTimeToSomething, DB::ToSecondImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126880ce in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 2024.12.17 01:22:30.747261 [ 8668 ] {ac802fc6-dd32-427c-a2a0-930051c22176} executeQuery: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59872) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE f;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d576f86 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e144665 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e1412cf in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f238 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13df31 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12bc2f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12c431 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12a719 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0c7ca in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 2024.12.17 01:22:30.869902 [ 8668 ] {ac802fc6-dd32-427c-a2a0-930051c22176} TCPHandler: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d576f86 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e144665 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e1412cf in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f238 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13df31 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12bc2f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12c431 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12a719 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0c7ca in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 2024.12.17 01:22:30.869957 [ 11807 ] {432c72c9-032c-4824-8dac-7383c68ed06d} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfSecond: while executing 'FUNCTION toStartOfSecond(x1 :: 0) -> toStartOfSecond(x1) DateTime64(3) : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59862) (comment: 01921_datatype_date32.sql) (in query: select toStartOfSecond(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8eea63 in /usr/bin/clickhouse 7. ? @ 0x00000000126b8c7b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfSecondImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x00000000126b8c04 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfSecondImpl const&) @ 0x00000000126b7f64 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:71: DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126b734e in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 2024.12.17 01:22:30.870798 [ 11807 ] {432c72c9-032c-4824-8dac-7383c68ed06d} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfSecond: while executing 'FUNCTION toStartOfSecond(x1 :: 0) -> toStartOfSecond(x1) DateTime64(3) : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8eea63 in /usr/bin/clickhouse 7. ? @ 0x00000000126b8c7b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfSecondImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x00000000126b8c04 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfSecondImpl const&) @ 0x00000000126b7f64 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:71: DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126b734e in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 2024.12.17 01:22:30.893360 [ 8668 ] {99b28472-2729-4755-ace7-6288ccc69393} executeQuery: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59872) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE f WHERE (e = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d576f86 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e144665 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e1412cf in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f238 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13df31 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12bc2f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12c431 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12a719 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0c7ca in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 2024.12.17 01:22:30.896707 [ 8668 ] {99b28472-2729-4755-ace7-6288ccc69393} TCPHandler: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d576f86 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e144665 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e1412cf in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f238 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13df31 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12bc2f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12c431 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12a719 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0c7ca in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 2024.12.17 01:22:31.037659 [ 8668 ] {07b0e126-a9ee-4040-b6dc-a3ab79879d7d} executeQuery: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59872) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE f WHERE f AND (e = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d576f86 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e144665 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e1412cf in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f238 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13df31 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12bc2f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12c431 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12a719 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0c7ca in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 2024.12.17 01:22:31.037701 [ 11807 ] {6091a80d-37b5-4310-b4d5-31e14909a2aa} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfMinute: while executing 'FUNCTION toStartOfMinute(x1 :: 0) -> toStartOfMinute(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59862) (comment: 01921_datatype_date32.sql) (in query: select toStartOfMinute(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8eea63 in /usr/bin/clickhouse 7. ? @ 0x000000001268a1fb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfMinuteImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x00000000126ada44 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfMinuteImpl const&) @ 0x00000000126ac98d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126ab7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 2024.12.17 01:22:31.038587 [ 11807 ] {6091a80d-37b5-4310-b4d5-31e14909a2aa} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfMinute: while executing 'FUNCTION toStartOfMinute(x1 :: 0) -> toStartOfMinute(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8eea63 in /usr/bin/clickhouse 7. ? @ 0x000000001268a1fb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfMinuteImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x00000000126ada44 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfMinuteImpl const&) @ 0x00000000126ac98d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126ab7a3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 2024.12.17 01:22:31.039024 [ 8668 ] {07b0e126-a9ee-4040-b6dc-a3ab79879d7d} TCPHandler: Code: 59. DB::Exception: Illegal type Float32 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d576f86 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e144665 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e1412cf in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f238 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13df31 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12bc2f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12c431 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12a719 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0c7ca in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 2024.12.17 01:22:31.203674 [ 11807 ] {53ddc5eb-04c9-483d-ab12-1b88ff5bf91b} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfFiveMinutes: while executing 'FUNCTION toStartOfFiveMinutes(x1 :: 0) -> toStartOfFiveMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59862) (comment: 01921_datatype_date32.sql) (in query: select toStartOfFiveMinutes(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8eea63 in /usr/bin/clickhouse 7. ? @ 0x000000001269635b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfFiveMinutesImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x0000000012696304 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfFiveMinutesImpl const&) @ 0x00000000126951ed in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012694003 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 2024.12.17 01:22:31.203773 [ 8668 ] {bb722491-2b55-45e5-992e-34eb06baf2a6} executeQuery: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59872) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE e;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d576f86 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e144665 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e1412cf in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f238 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13df31 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12bc2f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12c431 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12a719 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0c7ca in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 2024.12.17 01:22:31.315880 [ 11807 ] {53ddc5eb-04c9-483d-ab12-1b88ff5bf91b} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfFiveMinutes: while executing 'FUNCTION toStartOfFiveMinutes(x1 :: 0) -> toStartOfFiveMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8eea63 in /usr/bin/clickhouse 7. ? @ 0x000000001269635b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfFiveMinutesImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x0000000012696304 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfFiveMinutesImpl const&) @ 0x00000000126951ed in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012694003 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 2024.12.17 01:22:31.315909 [ 11805 ] {c781c388-664f-473c-8225-7163c3d9f947} executeQuery: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for _table. (ILLEGAL_PREWHERE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43616) (comment: 01915_merge_prewhere_virtual_column_rand_chao_wang.sql) (in query: -- In version 20.12 this query sometimes produces an exception "Cannot find column" SELECT f2 FROM merge(currentDatabase(), '^abc$') PREWHERE _table = 'abc' AND f1 = 'a' AND rand() % 100 < 20;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:2231: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x000000001cab1451 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:853: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab139 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:31.315908 [ 8668 ] {bb722491-2b55-45e5-992e-34eb06baf2a6} TCPHandler: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d576f86 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e144665 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e1412cf in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f238 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13df31 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12bc2f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12c431 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12a719 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0c7ca in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 2024.12.17 01:22:31.317831 [ 11805 ] {c781c388-664f-473c-8225-7163c3d9f947} TCPHandler: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for _table. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:2231: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x000000001cab1451 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:853: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab139 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:31.334195 [ 11805 ] {4722ea37-4954-44d3-823e-03db5cf2d4f0} executeQuery: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for _table. (ILLEGAL_PREWHERE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43616) (comment: 01915_merge_prewhere_virtual_column_rand_chao_wang.sql) (in query: SELECT f2 FROM merge(currentDatabase(), '^abc$') PREWHERE _table = 'abc' AND f1 = 'a';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:2231: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x000000001cab1451 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:853: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab139 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:31.334905 [ 11805 ] {4722ea37-4954-44d3-823e-03db5cf2d4f0} TCPHandler: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for _table. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSelectQuery.cpp:2231: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x000000001cab1451 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:853: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caab139 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:31.345972 [ 8668 ] {5834ca3f-25b4-41b0-9d91-c1fa5cb02bbe} executeQuery: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59872) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE e WHERE (e = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d576f86 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e144665 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e1412cf in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f238 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13df31 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12bc2f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12c431 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12a719 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0c7ca in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 2024.12.17 01:22:31.347354 [ 8668 ] {5834ca3f-25b4-41b0-9d91-c1fa5cb02bbe} TCPHandler: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d576f86 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e144665 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e1412cf in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f238 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13df31 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12bc2f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12c431 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12a719 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0c7ca in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 2024.12.17 01:22:31.519302 [ 11807 ] {92be8e9a-23fa-4735-8254-8fcd5dab57c0} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfTenMinutes: while executing 'FUNCTION toStartOfTenMinutes(x1 :: 0) -> toStartOfTenMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59862) (comment: 01921_datatype_date32.sql) (in query: select toStartOfTenMinutes(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8eea63 in /usr/bin/clickhouse 7. ? @ 0x00000000126c68bb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfTenMinutesImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x00000000126c6864 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfTenMinutesImpl const&) @ 0x00000000126c574d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126c4563 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 2024.12.17 01:22:31.519382 [ 8668 ] {728eeadc-a3f5-4463-afac-3178beef994b} executeQuery: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59872) (comment: 01917_prewhere_column_type.sql) (in query: SELECT s FROM t1 PREWHERE e WHERE f AND (e = 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d576f86 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e144665 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e1412cf in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f238 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13df31 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12bc2f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12c431 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12a719 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0c7ca in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 2024.12.17 01:22:31.520497 [ 11807 ] {92be8e9a-23fa-4735-8254-8fcd5dab57c0} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfTenMinutes: while executing 'FUNCTION toStartOfTenMinutes(x1 :: 0) -> toStartOfTenMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8eea63 in /usr/bin/clickhouse 7. ? @ 0x00000000126c68bb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfTenMinutesImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x00000000126c6864 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfTenMinutesImpl const&) @ 0x00000000126c574d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126c4563 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 2024.12.17 01:22:31.521007 [ 8668 ] {728eeadc-a3f5-4463-afac-3178beef994b} TCPHandler: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:97: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001d576f86 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeRangeReader.h:70: DB::FilterWithCachedCount::FilterWithCachedCount(COW::immutable_ptr const&) @ 0x000000001e144665 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1385: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001e1412cf in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:1072: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13f238 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeRangeReader.cpp:973: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001e13df31 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:398: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001e12bc2f in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001e12c431 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:165: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001e12a719 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeSource.cpp:226: DB::MergeTreeSource::tryGenerate() @ 0x000000001ef0c7ca in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 2024.12.17 01:22:31.689534 [ 11807 ] {e4717038-6810-445e-a199-d0146715dc25} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfFifteenMinutes: while executing 'FUNCTION toStartOfFifteenMinutes(x1 :: 0) -> toStartOfFifteenMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59862) (comment: 01921_datatype_date32.sql) (in query: select toStartOfFifteenMinutes(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8eea63 in /usr/bin/clickhouse 7. ? @ 0x000000001269223b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfFifteenMinutesImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x00000000126921e4 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfFifteenMinutesImpl const&) @ 0x00000000126910cd in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001268fee3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 2024.12.17 01:22:31.690682 [ 11807 ] {e4717038-6810-445e-a199-d0146715dc25} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfFifteenMinutes: while executing 'FUNCTION toStartOfFifteenMinutes(x1 :: 0) -> toStartOfFifteenMinutes(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8eea63 in /usr/bin/clickhouse 7. ? @ 0x000000001269223b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfFifteenMinutesImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x00000000126921e4 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfFifteenMinutesImpl const&) @ 0x00000000126910cd in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001268fee3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 2024.12.17 01:22:31.853850 [ 11807 ] {0736a2a9-0669-425d-93b5-d8bd26afd85c} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfHour: while executing 'FUNCTION toStartOfHour(x1 :: 0) -> toStartOfHour(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59862) (comment: 01921_datatype_date32.sql) (in query: select toStartOfHour(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8eea63 in /usr/bin/clickhouse 7. ? @ 0x000000001265b2fb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfHourImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x000000001269a304 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfHourImpl const&) @ 0x000000001269924d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012698063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 2024.12.17 01:22:31.854655 [ 11807 ] {0736a2a9-0669-425d-93b5-d8bd26afd85c} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfHour: while executing 'FUNCTION toStartOfHour(x1 :: 0) -> toStartOfHour(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8eea63 in /usr/bin/clickhouse 7. ? @ 0x000000001265b2fb in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToStartOfHourImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x000000001269a304 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfHourImpl const&) @ 0x000000001269924d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToDateTimeOrDateTime64.h:71: DB::FunctionDateOrDateTimeToDateTimeOrDateTime64::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012698063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 2024.12.17 01:22:32.315087 [ 11807 ] {26eed9a3-f8ac-49d1-aa7b-e9761f1f0a92} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toTime: while executing 'FUNCTION toTime(x1 :: 0) -> toTime(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59862) (comment: 01921_datatype_date32.sql) (in query: select toTime(x1) from t1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8eea63 in /usr/bin/clickhouse 7. ? @ 0x000000001261259b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToTimeImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x00000000126ce324 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToTimeImpl const&) @ 0x00000000126cd724 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:71: DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126cc2ae in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 2024.12.17 01:22:32.315881 [ 11807 ] {26eed9a3-f8ac-49d1-aa7b-e9761f1f0a92} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toTime: while executing 'FUNCTION toTime(x1 :: 0) -> toTime(x1) DateTime : 1'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/DateTimeTransforms.cpp:18: DB::throwDateTimeIsNotSupported(char const*) @ 0x000000000b8eea63 in /usr/bin/clickhouse 7. ? @ 0x000000001261259b in /usr/bin/clickhouse 8. /build/src/Functions/DateTimeTransforms.h:1601: void DB::Transformer::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToTimeImpl const&, DB::PODArray, 63ul, 64ul>*) @ 0x00000000126ce324 in /usr/bin/clickhouse 9. /build/src/Functions/DateTimeTransforms.h:1633: COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToTimeImpl const&) @ 0x00000000126cd724 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:71: DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000126cc2ae in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 2024.12.17 01:22:37.943402 [ 8668 ] {d212a850-d01b-4e7b-8999-a7f6306df1ba} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(toUInt8(id), 1)' of type 'UInt16'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: -- `e + 1` is UInt16 SELECT DISTINCT t1.key, toUInt8(t1.id) as e FROM t1 INNER ANY JOIN t2 ON t1.id == t2.id AND e + 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17052 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc334a4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebce0b4 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee6347d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac7bb4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3f86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:37.944254 [ 8668 ] {d212a850-d01b-4e7b-8999-a7f6306df1ba} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(toUInt8(id), 1)' of type 'UInt16'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17052 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc334a4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebce0b4 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee6347d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac7bb4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3f86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:38.262209 [ 8668 ] {29e125e8-0e17-4820-a6f5-cc77d5138620} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17052 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc334a4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebce0b4 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee6347d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac7bb4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3f86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:38.262938 [ 8668 ] {29e125e8-0e17-4820-a6f5-cc77d5138620} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17052 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc334a4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebce0b4 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee6347d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac7bb4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3f86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:38.422758 [ 2670 ] {d139aca4-4da0-4721-8867-156e9ca7b160} executeQuery: Code: 6. DB::Exception: Cannot parse string '0.Aa234' as Float64: syntax error at position 2 (parsed just '0.'). Note: there are toFloat64OrZero and toFloat64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION toFloat64(a :: 0) -> toFloat64(a) Float64 : 2': while pushing to view test_ngshfh4p.matview_exception_a_to_b (9b3b478c-0e5e-49c7-856a-c58f5866e83b). (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43810) (comment: 01927_query_views_log_matview_exceptions.sh) (in query: INSERT INTO table_exception_a VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToFloat64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b4bc7f7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b4b7618 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b4a6519 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b4a5848 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b4a4a5e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000001ece3b83 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x000000001ebc8281 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc8255 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc8235 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc8215 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc81dd in /usr/bin/clickhouse 2024.12.17 01:22:38.426316 [ 2670 ] {d139aca4-4da0-4721-8867-156e9ca7b160} TCPHandler: Code: 6. DB::Exception: Cannot parse string '0.Aa234' as Float64: syntax error at position 2 (parsed just '0.'). Note: there are toFloat64OrZero and toFloat64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION toFloat64(a :: 0) -> toFloat64(a) Float64 : 2': while pushing to view test_ngshfh4p.matview_exception_a_to_b (9b3b478c-0e5e-49c7-856a-c58f5866e83b). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToFloat64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b4bc7f7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b4b7618 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b4a6519 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b4a5848 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToFloat64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b4a4a5e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000001ece3b83 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: DB::ExceptionKeepingTransform::work()::$_2::operator()() const @ 0x000000001ebc8281 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc8255 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_2&) @ 0x000000001ebc8235 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc8215 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc81dd in /usr/bin/clickhouse 2024.12.17 01:22:38.427854 [ 8668 ] {f5f89f0e-38ca-488a-ab69-52fb36413ba7} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17063 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc30a90 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfd9f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfb49 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf84f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf6c2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfcedce in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb21ae in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:22:38.428882 [ 8668 ] {f5f89f0e-38ca-488a-ab69-52fb36413ba7} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17063 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc30a90 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfd9f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfb49 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf84f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf6c2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfcedce in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb21ae in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:22:38.453528 [ 8668 ] {3bd68c54-ae86-40cf-9300-a52c0ed1dd7e} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id + 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17052 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc334a4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebce0b4 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee6347d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac7bb4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3f86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:38.454414 [ 8668 ] {3bd68c54-ae86-40cf-9300-a52c0ed1dd7e} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17052 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc334a4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebce0b4 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee6347d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac7bb4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3f86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:38.473252 [ 8668 ] {0dc0fd74-8b21-4c3b-900f-d4e5c39f05ac} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(t2.id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.id + 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17063 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc30a90 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfd9f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfb49 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf84f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf6c2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfcedce in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb21ae in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:22:38.474269 [ 8668 ] {0dc0fd74-8b21-4c3b-900f-d4e5c39f05ac} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(t2.id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17063 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc30a90 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfd9f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfb49 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf84f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf6c2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfcedce in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb21ae in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:22:38.497098 [ 8668 ] {0368c16d-0ed8-40fe-b017-1e804188dc9b} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.key;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17052 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc334a4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebce0b4 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee6347d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac7bb4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3f86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:38.497921 [ 8668 ] {0368c16d-0ed8-40fe-b017-1e804188dc9b} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17052 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc334a4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebce0b4 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee6347d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac7bb4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3f86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:38.516037 [ 8668 ] {a22d020e-f28e-4e2c-a336-0cd7c95549d3} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.key;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17063 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc30a90 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfd9f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfb49 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf84f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf6c2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfcedce in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb21ae in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:22:38.516918 [ 8668 ] {a22d020e-f28e-4e2c-a336-0cd7c95549d3} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17063 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc30a90 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfd9f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfb49 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf84f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf6c2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfcedce in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb21ae in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:22:38.689541 [ 8668 ] {f9eadbb2-1fcb-4ea9-a8dd-2a31eba09704} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '(id = t2.id) OR (t2.key2 IS NULL)': While processing (id = t2.id) OR (t2.key2 IS NULL). (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 AND (t1.id == t2.id OR isNull(t2.key2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d016f96 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb0924 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb0720 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b21 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb0565 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fd1c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:22:38.690714 [ 8668 ] {f9eadbb2-1fcb-4ea9-a8dd-2a31eba09704} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '(id = t2.id) OR (t2.key2 IS NULL)': While processing (id = t2.id) OR (t2.key2 IS NULL). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d016f96 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb0924 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb0720 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b21 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb0565 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fd1c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:22:38.829346 [ 8668 ] {8438b60f-a688-4316-af71-0b6afc341ec1} executeQuery: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: '(t2.key = t2.key2) OR (id = t2.id)', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(t2.key, t2.key2)']; [Left keys: [id] Right keys [t2.id] Condition columns: '', '']. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 OR t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:658: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fedd in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:38.830131 [ 8668 ] {8438b60f-a688-4316-af71-0b6afc341ec1} TCPHandler: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: '(t2.key = t2.key2) OR (id = t2.id)', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(t2.key, t2.key2)']; [Left keys: [id] Right keys [t2.id] Condition columns: '', '']. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:658: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fedd in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:38.983069 [ 8668 ] {50e06a7f-7669-40b7-bcab-cbd81ee6085e} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '((key = key2) AND (key != 'XXX')) OR (id = t2.id)': While processing ((key = key2) AND (key != 'XXX')) OR (id = t2.id). (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON (t2.key == t2.key2 AND (t1.key == t1.key2 AND t1.key != 'XXX' OR t1.id == t2.id)) AND t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d016f96 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb0924 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb0720 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b21 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb0565 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fd1c in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:22:38.984258 [ 8668 ] {50e06a7f-7669-40b7-bcab-cbd81ee6085e} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '((key = key2) AND (key != 'XXX')) OR (id = t2.id)': While processing ((key = key2) AND (key != 'XXX')) OR (id = t2.id). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d016f96 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb0924 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb0720 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b21 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb0565 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fd1c in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:22:39.121913 [ 8668 ] {84806cf9-bf73-4639-ad27-f0250fed380a} executeQuery: Code: 48. DB::Exception: Only `hash` join supports multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 AND t1.key == t1.key2 AND t1.key != 'XXX' AND t1.id == t2.id OR t2.key == t2.key2 AND t1.id == t2.id AND t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001254101e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:670: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa00b1 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:39.122803 [ 8668 ] {84806cf9-bf73-4639-ad27-f0250fed380a} TCPHandler: Code: 48. DB::Exception: Only `hash` join supports multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001254101e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:670: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa00b1 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:39.134048 [ 8668 ] {7d6d1a38-55ed-4807-a25f-37a96a8d73d4} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= t2.id': While processing id >= t2.id. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: -- non-equi condition containing columns from different tables doesn't supported yet SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id >= t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d016f96 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb0924 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb0720 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b21 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb0565 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fd1c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:22:39.134902 [ 8668 ] {7d6d1a38-55ed-4807-a25f-37a96a8d73d4} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= t2.id': While processing id >= t2.id. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d016f96 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb0924 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb0720 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b21 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb0565 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fd1c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:22:39.148696 [ 8668 ] {f76063fb-0c6c-4089-9733-ba97a2a1f40b} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= length(t2.key)': While processing id >= length(t2.key). (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ANY JOIN t2 ON t1.id == t2.id AND t2.key == t2.key2 AND t1.key == t1.key2 AND t1.id >= length(t2.key);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d016f96 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb0924 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb0720 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b21 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb0565 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fd1c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:22:39.149618 [ 8668 ] {f76063fb-0c6c-4089-9733-ba97a2a1f40b} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= length(t2.key)': While processing id >= length(t2.key). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d016f96 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb0924 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb0720 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b21 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb0565 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fd1c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:22:41.897356 [ 8668 ] {4c8aeb56-2a3a-47ed-a1a6-953e161c7fee} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(toUInt8(id), 1)' of type 'UInt16'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: -- `e + 1` is UInt16 SELECT DISTINCT t1.key, toUInt8(t1.id) as e FROM t1 INNER ANY JOIN t2 ON t1.id == t2.id AND e + 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17052 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc334a4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebce0b4 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee6347d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac7bb4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3f86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:41.898157 [ 8668 ] {4c8aeb56-2a3a-47ed-a1a6-953e161c7fee} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(toUInt8(id), 1)' of type 'UInt16'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17052 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc334a4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebce0b4 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee6347d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac7bb4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3f86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:42.288853 [ 8668 ] {2c56a334-0a48-4253-bb8f-750944029f8b} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17052 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc334a4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebce0b4 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee6347d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac7bb4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3f86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:42.289592 [ 8668 ] {2c56a334-0a48-4253-bb8f-750944029f8b} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17052 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc334a4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebce0b4 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee6347d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac7bb4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3f86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:42.306758 [ 8668 ] {82876854-8bf8-4b23-abc7-a819d9baf7ca} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17063 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc30a90 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfd9f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfb49 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf84f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf6c2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfcedce in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb21ae in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:22:42.307702 [ 8668 ] {82876854-8bf8-4b23-abc7-a819d9baf7ca} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.id' of type 'Int32'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17063 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc30a90 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfd9f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfb49 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf84f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf6c2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfcedce in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb21ae in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:22:42.329678 [ 8668 ] {b9079210-8a56-44f6-950a-fceb6126d439} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id + 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17052 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc334a4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebce0b4 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee6347d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac7bb4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3f86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:42.330385 [ 8668 ] {b9079210-8a56-44f6-950a-fceb6126d439} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17052 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc334a4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebce0b4 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee6347d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac7bb4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3f86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:42.347349 [ 8668 ] {7f341608-f520-4e5d-a199-419d65e7b290} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(t2.id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.id + 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17063 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc30a90 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfd9f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfb49 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf84f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf6c2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfcedce in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb21ae in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:22:42.348237 [ 8668 ] {7f341608-f520-4e5d-a199-419d65e7b290} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'plus(t2.id, 2)' of type 'Int64'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17063 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc30a90 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfd9f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfb49 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf84f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf6c2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfcedce in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb21ae in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:22:42.369418 [ 8668 ] {30a78844-437f-4580-b5de-bf1fef3b9ef0} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.key;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17052 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc334a4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebce0b4 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee6347d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac7bb4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3f86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:42.370128 [ 8668 ] {30a78844-437f-4580-b5de-bf1fef3b9ef0} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 'key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:474: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17052 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:694: DB::MergeJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x000000001cc334a4 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:21: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001ebce0b4 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/JoinStep.cpp:30: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001ee6347d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, DB::SettingFieldNumber const&, unsigned long&, bool&>(DB::DataStream const&, DB::DataStream const&, std::shared_ptr&, DB::SettingFieldNumber const&, unsigned long&, bool&) @ 0x000000001cac7bb4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1664: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab3f86 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:42.386507 [ 8668 ] {c3841c9a-c7a7-4a37-a8fd-c006c8891b3e} executeQuery: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t2.key;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17063 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc30a90 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfd9f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfb49 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf84f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf6c2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfcedce in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb21ae in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:22:42.387394 [ 8668 ] {c3841c9a-c7a7-4a37-a8fd-c006c8891b3e} TCPHandler: Code: 403. DB::Exception: Expected logical expression in JOIN ON section, got unexpected column 't2.key' of type 'String'. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/JoinUtils.cpp:469: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&)::$_0::operator()(DB::Block const&, String const&) const @ 0x000000001cc17241 in /usr/bin/clickhouse 7. /build/src/Interpreters/JoinUtils.cpp:475: DB::JoinCommon::checkTypesOfMasks(DB::Block const&, String const&, DB::Block const&, String const&) @ 0x000000001cc17063 in /usr/bin/clickhouse 8. /build/src/Interpreters/MergeJoin.cpp:523: DB::MergeJoin::MergeJoin(std::shared_ptr, DB::Block const&) @ 0x000000001cc30a90 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::MergeJoin*>(DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfd9f in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::MergeJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfcfb49 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf84f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfcf6c2 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfcedce in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:972: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb21ae in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:22:42.398785 [ 8668 ] {1d3cfe25-355b-4a0b-8158-39439d246269} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '(id = t2.id) OR (t2.key2 IS NULL)': While processing (id = t2.id) OR (t2.key2 IS NULL). (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 AND (t1.id == t2.id OR isNull(t2.key2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d016f96 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb0924 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb0720 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b21 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb0565 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fd1c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:22:42.399638 [ 8668 ] {1d3cfe25-355b-4a0b-8158-39439d246269} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '(id = t2.id) OR (t2.key2 IS NULL)': While processing (id = t2.id) OR (t2.key2 IS NULL). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d016f96 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb0924 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb0720 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b21 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb0565 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fd1c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:22:42.409641 [ 8668 ] {5fdeec6d-f52d-41a9-bbdd-1049c4515174} executeQuery: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: '(t2.key = t2.key2) OR (id = t2.id)', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(t2.key, t2.key2)']; [Left keys: [id] Right keys [t2.id] Condition columns: '', '']. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 OR t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:658: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fedd in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:42.410319 [ 8668 ] {5fdeec6d-f52d-41a9-bbdd-1049c4515174} TCPHandler: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: '(t2.key = t2.key2) OR (id = t2.id)', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(t2.key, t2.key2)']; [Left keys: [id] Right keys [t2.id] Condition columns: '', '']. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:658: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fedd in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:42.423636 [ 8668 ] {9db5c87a-9d09-42f4-9731-f4a38d13ad8c} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '((key = key2) AND (key != 'XXX')) OR (id = t2.id)': While processing ((key = key2) AND (key != 'XXX')) OR (id = t2.id). (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON (t2.key == t2.key2 AND (t1.key == t1.key2 AND t1.key != 'XXX' OR t1.id == t2.id)) AND t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d016f96 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb0924 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb0720 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b21 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb0565 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fd1c in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:22:42.424563 [ 8668 ] {9db5c87a-9d09-42f4-9731-f4a38d13ad8c} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected '((key = key2) AND (key != 'XXX')) OR (id = t2.id)': While processing ((key = key2) AND (key != 'XXX')) OR (id = t2.id). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d016f96 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb0924 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb0720 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b21 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb0565 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fd1c in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:22:42.442252 [ 8668 ] {3e7908f2-20e3-48dd-b355-25a7ce3adb33} executeQuery: Code: 48. DB::Exception: Only `hash` join supports multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 JOIN t2 ON t2.key == t2.key2 AND t1.key == t1.key2 AND t1.key != 'XXX' AND t1.id == t2.id OR t2.key == t2.key2 AND t1.id == t2.id AND t1.id == t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001254101e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:670: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa00b1 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:42.443112 [ 8668 ] {3e7908f2-20e3-48dd-b355-25a7ce3adb33} TCPHandler: Code: 48. DB::Exception: Only `hash` join supports multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001254101e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:670: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa00b1 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:42.452734 [ 8668 ] {a3d472bc-2be6-4c11-a9cf-7de8d8f6ef96} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= t2.id': While processing id >= t2.id. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: -- non-equi condition containing columns from different tables doesn't supported yet SELECT * FROM t1 INNER ALL JOIN t2 ON t1.id == t2.id AND t1.id >= t2.id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d016f96 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb0924 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb0720 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b21 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb0565 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fd1c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:22:42.453590 [ 8668 ] {a3d472bc-2be6-4c11-a9cf-7de8d8f6ef96} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= t2.id': While processing id >= t2.id. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d016f96 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb0924 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb0720 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b21 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb0565 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fd1c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:22:42.468271 [ 8668 ] {28b9a170-61fe-412d-8651-fc62d75bb00d} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= length(t2.key)': While processing id >= length(t2.key). (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43716) (comment: 01881_join_on_conditions_merge.gen.sql) (in query: SELECT * FROM t1 INNER ANY JOIN t2 ON t1.id == t2.id AND t2.key == t2.key2 AND t1.key == t1.key2 AND t1.id >= length(t2.key);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d016f96 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb0924 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb0720 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b21 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb0565 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fd1c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:22:42.469173 [ 8668 ] {28b9a170-61fe-412d-8651-fc62d75bb00d} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 'id >= length(t2.key)': While processing id >= length(t2.key). (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d016f96 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb0924 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb0720 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b21 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb0565 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fd1c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:22:42.891386 [ 6043 ] {9ea4ea01-31d3-4787-b09b-7dc156232770} executeQuery: Code: 36. DB::Exception: Cell is not valid: While processing s2CellsIntersect(9926595209846587392, 9223372036854775806). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33132) (comment: 01853_s2_cells_intersect.sql) (in query: SELECT s2CellsIntersect(9926595209846587392, 9223372036854775806);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [18]) @ 0x000000000c737f3e in /usr/bin/clickhouse 6. /build/src/Functions/s2CellsIntersect.cpp:106: DB::(anonymous namespace)::FunctionS2CellsIntersect::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001250abe4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:22:42.892378 [ 6043 ] {9ea4ea01-31d3-4787-b09b-7dc156232770} TCPHandler: Code: 36. DB::Exception: Cell is not valid: While processing s2CellsIntersect(9926595209846587392, 9223372036854775806). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [18]) @ 0x000000000c737f3e in /usr/bin/clickhouse 6. /build/src/Functions/s2CellsIntersect.cpp:106: DB::(anonymous namespace)::FunctionS2CellsIntersect::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001250abe4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:22:43.697511 [ 2670 ] {7ac38755-2f54-4528-9720-df475fd6b700} executeQuery: Code: 407. DB::Exception: Decimal math overflow: While processing arrayDifference([toDecimal32(100.0000991821289, 0), -2147483647]) AS x. (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33152) (comment: 01851_array_difference_decimal_overflow_ubsan.sql) (in query: SELECT arrayDifference([toDecimal32(100.0000991821289, 0), -2147483647]) AS x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [22]) @ 0x000000000b23f39e in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayDifference.cpp:91: void DB::ArrayDifferenceImpl::impl, DB::Decimal>(DB::Decimal const*, DB::Decimal*, unsigned long, unsigned long) @ 0x00000000129b9eb2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayDifference.cpp:132: bool DB::ArrayDifferenceImpl::executeType, DB::Decimal>(COW::immutable_ptr const&, DB::ColumnArray const&, COW::immutable_ptr&) @ 0x00000000129b8006 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayDifference.cpp:153: DB::ArrayDifferenceImpl::execute(DB::ColumnArray const&, COW::immutable_ptr) @ 0x00000000129b4eec in /usr/bin/clickhouse 9. /build/src/Functions/array/FunctionArrayMapped.h:276: DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000129b15ff in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 2024.12.17 01:22:43.698624 [ 2670 ] {7ac38755-2f54-4528-9720-df475fd6b700} TCPHandler: Code: 407. DB::Exception: Decimal math overflow: While processing arrayDifference([toDecimal32(100.0000991821289, 0), -2147483647]) AS x. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [22]) @ 0x000000000b23f39e in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayDifference.cpp:91: void DB::ArrayDifferenceImpl::impl, DB::Decimal>(DB::Decimal const*, DB::Decimal*, unsigned long, unsigned long) @ 0x00000000129b9eb2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayDifference.cpp:132: bool DB::ArrayDifferenceImpl::executeType, DB::Decimal>(COW::immutable_ptr const&, DB::ColumnArray const&, COW::immutable_ptr&) @ 0x00000000129b8006 in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayDifference.cpp:153: DB::ArrayDifferenceImpl::execute(DB::ColumnArray const&, COW::immutable_ptr) @ 0x00000000129b4eec in /usr/bin/clickhouse 9. /build/src/Functions/array/FunctionArrayMapped.h:276: DB::FunctionArrayMapped::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000129b15ff in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 2024.12.17 01:22:45.500244 [ 6043 ] {6442538e-9ae6-446d-97c4-75a5d53501e0} executeQuery: Code: 16. DB::Exception: Missing column `_partition_value` because there is no partition column in table tbl2. (NO_SUCH_COLUMN_IN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33164) (comment: 01848_partition_value_column.sql) (in query: select _partition_value from tbl2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1211: DB::selectColumnNames(std::vector> const&, DB::MergeTreeData const&, std::vector>&, std::vector>&, bool&) @ 0x000000001dfb3cc8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1303: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfa939d in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa5c8c in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e3602df in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:45.501170 [ 6043 ] {6442538e-9ae6-446d-97c4-75a5d53501e0} TCPHandler: Code: 16. DB::Exception: Missing column `_partition_value` because there is no partition column in table tbl2. (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1211: DB::selectColumnNames(std::vector> const&, DB::MergeTreeData const&, std::vector>&, std::vector>&, bool&) @ 0x000000001dfb3cc8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1303: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfa939d in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa5c8c in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e3602df in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:45.509979 [ 6043 ] {3df043e3-59d2-4345-ab5a-886db67f08ce} executeQuery: Code: 16. DB::Exception: Missing column `_partition_value` because there is no partition column in table tbl2. (NO_SUCH_COLUMN_IN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33164) (comment: 01848_partition_value_column.sql) (in query: select _partition_value from tbl2 group by 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1211: DB::selectColumnNames(std::vector> const&, DB::MergeTreeData const&, std::vector>&, std::vector>&, bool&) @ 0x000000001dfb3cc8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1303: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfa939d in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa5c8c in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e3602df in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:45.510653 [ 6043 ] {3df043e3-59d2-4345-ab5a-886db67f08ce} TCPHandler: Code: 16. DB::Exception: Missing column `_partition_value` because there is no partition column in table tbl2. (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1211: DB::selectColumnNames(std::vector> const&, DB::MergeTreeData const&, std::vector>&, std::vector>&, bool&) @ 0x000000001dfb3cc8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1303: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001dfa939d in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:168: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001dfa5c8c in /usr/bin/clickhouse 9. /build/src/Storages/StorageMergeTree.cpp:252: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001e3602df in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:46.217253 [ 6043 ] {287a4164-dd8c-4c9c-ab71-8d34bbad3d78} executeQuery: Code: 691. DB::Exception: Unknown element 'Helo' for enum, maybe you meant: ['Hello']: While processing CAST('Helo', 'Enum(\'Hello\' = 1, \'World\' = 2)'). (UNKNOWN_ELEMENT_OF_ENUM) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33194) (comment: 01852_hints_enum_name.sh) (in query: SELECT CAST('Helo' AS Enum('Hello' = 1, 'World' = 2))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000d9ea36c in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x000000001b9b72ca in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3785: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8d14f4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d1126 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d108c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d1020 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8d0fc8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 2024.12.17 01:22:46.239331 [ 6043 ] {287a4164-dd8c-4c9c-ab71-8d34bbad3d78} TCPHandler: Code: 691. DB::Exception: Unknown element 'Helo' for enum, maybe you meant: ['Hello']: While processing CAST('Helo', 'Enum(\'Hello\' = 1, \'World\' = 2)'). (UNKNOWN_ELEMENT_OF_ENUM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000d9ea36c in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x000000001b9b72ca in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3785: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8d14f4 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d1126 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d108c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d1020 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8d0fc8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 2024.12.17 01:22:49.696759 [ 6046 ] {88970403-0a01-4ea1-8d4b-f78d3605bf56} executeQuery: Code: 44. DB::Exception: Cannot create table with column of type Object, because storage Log doesn't support dynamic subcolumns. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33238) (comment: 01825_type_json_1.sql) (in query: CREATE TABLE t_json(id UInt64, data Object('JSON')) ENGINE = Log;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1494: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f5d7b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:49.697493 [ 6046 ] {88970403-0a01-4ea1-8d4b-f78d3605bf56} TCPHandler: Code: 44. DB::Exception: Cannot create table with column of type Object, because storage Log doesn't support dynamic subcolumns. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1494: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f5d7b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:52.254177 [ 1121 ] {7e9b6a81-6607-4bca-a7b7-b201896dfaf6} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43870) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:22:52.254938 [ 1121 ] {7e9b6a81-6607-4bca-a7b7-b201896dfaf6} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:02.181538 [ 11806 ] {dfd385d8-ad2f-4d7b-8e14-366b78dab12c} executeQuery: Code: 53. DB::Exception: Cast to Object from Map can be performed only from Map with String or FixedString key. Got: Map(UInt64, UInt64): while converting source column `CAST(tuple(range(modulo(number, 10)), range(modulo(number, 10))), 'Map(UInt64, UInt64)')` to destination column obj. (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33270) (comment: 01825_type_json_from_map.sql) (in query: INSERT INTO t_json SELECT number, (range(number % 10), range(number % 10))::Map(UInt64, UInt64) FROM numbers(1000000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3584: DB::FunctionCast::createMapToObjectWrapper(DB::DataTypeMap const&, bool) const @ 0x000000000b663845 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3663: DB::FunctionCast::createObjectWrapper(std::shared_ptr const&, DB::DataTypeObject const*) const @ 0x000000000b1fd704 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:4190: DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000b1fb191 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:3922: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000b1f947c in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:3848: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b1f446d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b1f3c9c in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc842e9 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:1310: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x000000001bc8d72c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:556: DB::InterpreterInsertQuery::execute() @ 0x000000001ca8187c in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:02.182410 [ 11806 ] {dfd385d8-ad2f-4d7b-8e14-366b78dab12c} TCPHandler: Code: 53. DB::Exception: Cast to Object from Map can be performed only from Map with String or FixedString key. Got: Map(UInt64, UInt64): while converting source column `CAST(tuple(range(modulo(number, 10)), range(modulo(number, 10))), 'Map(UInt64, UInt64)')` to destination column obj. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3584: DB::FunctionCast::createMapToObjectWrapper(DB::DataTypeMap const&, bool) const @ 0x000000000b663845 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3663: DB::FunctionCast::createObjectWrapper(std::shared_ptr const&, DB::DataTypeObject const*) const @ 0x000000000b1fd704 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:4190: DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000b1fb191 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:3922: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000b1f947c in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:3848: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b1f446d in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b1f3c9c in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc842e9 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:1310: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x000000001bc8d72c in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:556: DB::InterpreterInsertQuery::execute() @ 0x000000001ca8187c in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:06.777690 [ 1121 ] {76459523-6241-4eac-a8d1-5420db4a6c21} executeQuery: Code: 36. DB::Exception: Aggregate function mannWhitneyUTest require both samples to be non empty. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50816) (comment: 01802_rank_corr_mann_whitney_over_window.sql) (in query: SELECT mannWhitneyUTest(salary, salary) OVER (ORDER BY salary ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) AS func FROM 01802_empsalary;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionMannWhitney.h:232: DB::AggregateFunctionMannWhitney::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x00000000178235ae in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/IAggregateFunction.h:203: DB::IAggregateFunction::insertMergeResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x0000000013d8c5af in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:994: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb83c0 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecb8d15 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbcd81 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 2024.12.17 01:23:06.779539 [ 1121 ] {76459523-6241-4eac-a8d1-5420db4a6c21} TCPHandler: Code: 36. DB::Exception: Aggregate function mannWhitneyUTest require both samples to be non empty. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionMannWhitney.h:232: DB::AggregateFunctionMannWhitney::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x00000000178235ae in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/IAggregateFunction.h:203: DB::IAggregateFunction::insertMergeResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x0000000013d8c5af in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/WindowTransform.cpp:994: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb83c0 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecb8d15 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbcd81 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 2024.12.17 01:23:06.933921 [ 1121 ] {2dac8c0a-6ae3-4ed5-887d-eb1072c2d424} executeQuery: Code: 36. DB::Exception: All numbers in both samples are identical. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50816) (comment: 01802_rank_corr_mann_whitney_over_window.sql) (in query: SELECT rankCorr(salary, 0.5) OVER (ORDER BY salary ASC ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) AS func FROM 01802_empsalary;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e33be in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/StatCommon.h:50: std::pair>, double> DB::computeRanksAndTieCorrection, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>>(DB::PODArray, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul> const&) @ 0x000000001781ed2b in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionRankCorrelation.h:30: DB::RankCorrelationData::getResult() @ 0x000000001781e7ae in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionRankCorrelation.h:90: DB::AggregateFunctionRankCorrelation::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x000000001781ce09 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/IAggregateFunction.h:203: DB::IAggregateFunction::insertMergeResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x0000000013d8c5af in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:994: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb83c0 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecb8d15 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbcd81 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 2024.12.17 01:23:06.935522 [ 1121 ] {2dac8c0a-6ae3-4ed5-887d-eb1072c2d424} TCPHandler: Code: 36. DB::Exception: All numbers in both samples are identical. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e33be in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/StatCommon.h:50: std::pair>, double> DB::computeRanksAndTieCorrection, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>>(DB::PODArray, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul> const&) @ 0x000000001781ed2b in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionRankCorrelation.h:30: DB::RankCorrelationData::getResult() @ 0x000000001781e7ae in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionRankCorrelation.h:90: DB::AggregateFunctionRankCorrelation::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x000000001781ce09 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/IAggregateFunction.h:203: DB::IAggregateFunction::insertMergeResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x0000000013d8c5af in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/WindowTransform.cpp:994: DB::WindowTransform::writeOutCurrentRow() @ 0x000000001ecb83c0 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/WindowTransform.cpp:1157: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001ecb8d15 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/WindowTransform.cpp:1382: DB::WindowTransform::work() @ 0x000000001ecbcd81 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 2024.12.17 01:23:07.743304 [ 8670 ] {a835c73d-bfca-4cb2-bd5d-d146a7c2d5da} executeQuery: Code: 53. DB::Exception: Uncompatible types of subcolumn 'k1': Array(Int8) and String. (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50876) (comment: 01825_type_json_4.sh) (in query: INSERT INTO t_json_4 FORMAT JSONEachRow), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x000000000b5aef68 in /usr/bin/clickhouse 6. /build/src/DataTypes/ObjectUtils.cpp:341: DB::getLeastCommonTypeForObject(std::vector, std::allocator>> const&, bool) @ 0x000000001b9e40d3 in /usr/bin/clickhouse 7. /build/src/DataTypes/ObjectUtils.cpp:419: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b9de6b0 in /usr/bin/clickhouse 8. /build/src/DataTypes/ObjectUtils.cpp:452: DB::getLeastCommonTypeForDynamicColumns(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b9de07a in /usr/bin/clickhouse 9. /build/src/DataTypes/ObjectUtils.cpp:255: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x000000001b9dd5a6 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeSink.cpp:65: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000001e3a7428 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 01:23:07.745462 [ 8670 ] {a835c73d-bfca-4cb2-bd5d-d146a7c2d5da} TCPHandler: Code: 53. DB::Exception: Uncompatible types of subcolumn 'k1': Array(Int8) and String. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x000000000b5aef68 in /usr/bin/clickhouse 6. /build/src/DataTypes/ObjectUtils.cpp:341: DB::getLeastCommonTypeForObject(std::vector, std::allocator>> const&, bool) @ 0x000000001b9e40d3 in /usr/bin/clickhouse 7. /build/src/DataTypes/ObjectUtils.cpp:419: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b9de6b0 in /usr/bin/clickhouse 8. /build/src/DataTypes/ObjectUtils.cpp:452: DB::getLeastCommonTypeForDynamicColumns(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x000000001b9de07a in /usr/bin/clickhouse 9. /build/src/DataTypes/ObjectUtils.cpp:255: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x000000001b9dd5a6 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeSink.cpp:65: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000001e3a7428 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 01:23:16.221108 [ 11805 ] {44462137-617d-4eb5-9e65-9ebbfebb0abd} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.00 GiB (attempt to allocate chunk of 8589934592 bytes), maximum: 953.67 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:58280) (comment: 01783_parallel_formatting_memory.sh) (in query: SELECT range(65535) FROM system.one ARRAY JOIN range(65536) AS number), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b288f65 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b288df9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:235: COW::immutable_ptr DB::ColumnArray::replicateNumber(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000001d211ac4 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnArray.cpp:975: DB::ColumnArray::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000001d20349b in /usr/bin/clickhouse 15. /build/src/Columns/ColumnConst.cpp:48: DB::ColumnConst::convertToFullColumn() const @ 0x000000001d23b442 in /usr/bin/clickhouse 16. /build/src/Columns/ColumnConst.h:39: DB::ColumnConst::convertToFullColumnIfConst() const @ 0x000000000bcbea80 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/MaterializingTransform.cpp:16: DB::MaterializingTransform::transform(DB::Chunk&) @ 0x000000001ebdd913 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 28. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 29. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 30. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:23:16.253885 [ 11805 ] {44462137-617d-4eb5-9e65-9ebbfebb0abd} DynamicQueryHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.00 GiB (attempt to allocate chunk of 8589934592 bytes), maximum: 953.67 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b288f65 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<2ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b288df9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:235: COW::immutable_ptr DB::ColumnArray::replicateNumber(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000001d211ac4 in /usr/bin/clickhouse 14. /build/src/Columns/ColumnArray.cpp:975: DB::ColumnArray::replicate(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000001d20349b in /usr/bin/clickhouse 15. /build/src/Columns/ColumnConst.cpp:48: DB::ColumnConst::convertToFullColumn() const @ 0x000000001d23b442 in /usr/bin/clickhouse 16. /build/src/Columns/ColumnConst.h:39: DB::ColumnConst::convertToFullColumnIfConst() const @ 0x000000000bcbea80 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/MaterializingTransform.cpp:16: DB::MaterializingTransform::transform(DB::Chunk&) @ 0x000000001ebdd913 in /usr/bin/clickhouse 18. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 28. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 29. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 30. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:23:24.246082 [ 6043 ] {7625755e-4b9b-440b-bcbf-1a9211d3f6b6} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 479.15 MiB (attempt to allocate chunk of 1048616 bytes), maximum: 476.84 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47022) (comment: 01782_field_oom.sql) (in query: SELECT sumMap([number], [number]) FROM system.numbers_mt;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/AllocatorWithMemoryTracking.h:33: AllocatorWithMemoryTracking::allocate(unsigned long) @ 0x000000000b96dfd6 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:35: std::allocation_result>::pointer> std::allocate_at_least[abi:v15000]>(AllocatorWithMemoryTracking&, unsigned long) @ 0x000000000b96df3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:42: auto std::__allocate_at_least[abi:v15000]>(AllocatorWithMemoryTracking&, unsigned long) @ 0x000000000b96de1d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__split_buffer:316: std::__split_buffer&>::__split_buffer(unsigned long, unsigned long, AllocatorWithMemoryTracking&) @ 0x000000000c33df4b in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/vector:1048: std::vector>::__append(unsigned long) @ 0x000000001468af3f in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/vector:1918: std::vector>::resize(unsigned long) @ 0x000000001468ac60 in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:252: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000015f5ba1f in /usr/bin/clickhouse 17. /build/src/AggregateFunctions/IAggregateFunction.h:541: DB::IAggregateFunctionHelper>::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000015f5e06a in /usr/bin/clickhouse 18. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x000000001c0dd64e in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:1586: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01f96f in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 2024.12.17 01:23:24.868839 [ 8669 ] {abca8a38-08a0-4a17-90bb-6cc21a205a4a} executeQuery: Code: 36. DB::Exception: Encrypted data is smaller than the size of additional data for AEAD mode, cannot decrypt.: While processing decrypt('aes-128-gcm', '[HIDDEN]'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55914) (comment: 01776_decrypt_aead_size_check.sql) (in query: SELECT decrypt('aes-128-gcm', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [90]) @ 0x000000000d9ff4fe in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsAES.h:563: COW::immutable_ptr DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::doDecryptImpl<(OpenSSLDetails::CipherMode)2, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000d9fdc47 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsAES.h:516: COW::immutable_ptr DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000d9fd9eb in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsAES.h:484: DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d9fd023 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:23:24.869899 [ 8669 ] {abca8a38-08a0-4a17-90bb-6cc21a205a4a} TCPHandler: Code: 36. DB::Exception: Encrypted data is smaller than the size of additional data for AEAD mode, cannot decrypt.: While processing decrypt('aes-128-gcm', '[HIDDEN]'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [90]) @ 0x000000000d9ff4fe in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsAES.h:563: COW::immutable_ptr DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::doDecryptImpl<(OpenSSLDetails::CipherMode)2, false>(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000d9fdc47 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsAES.h:516: COW::immutable_ptr DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::doDecrypt(evp_cipher_st const*, unsigned long, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&) @ 0x000000000d9fd9eb in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsAES.h:484: DB::FunctionDecrypt<(anonymous namespace)::DecryptImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d9fd023 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:23:25.750625 [ 8669 ] {e5a7971b-3af5-45b5-af53-a15540ccdfd7} executeQuery: Code: 36. DB::Exception: Value of width must not be NaN and Inf: While processing greatCircleAngle(1048575, 257, -9223372036854775808, 1048576) - NULL, bar(7, -inf, 1024). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55916) (comment: 01774_bar_with_illegal_value.sql) (in query: SELECT greatCircleAngle(1048575, 257, -9223372036854775808, 1048576) - NULL, bar(7, -inf, 1024);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [39]) @ 0x000000000c57707e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:115: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c57667b in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:23:25.752014 [ 8669 ] {e5a7971b-3af5-45b5-af53-a15540ccdfd7} TCPHandler: Code: 36. DB::Exception: Value of width must not be NaN and Inf: While processing greatCircleAngle(1048575, 257, -9223372036854775808, 1048576) - NULL, bar(7, -inf, 1024). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [39]) @ 0x000000000c57707e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:115: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c57667b in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:23:27.050675 [ 8669 ] {15cc503a-214e-42e1-ab54-7e188091de9a} executeQuery: Code: 407. DB::Exception: Convert overflow: While processing toUnixTimestamp(toDateTime64('1900-12-12 11:22:33', 0, 'UTC')). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55934) (comment: 01768_extended_range.sql) (in query: SELECT toUnixTimestamp(toDateTime64('1900-12-12 11:22:33', 0, 'UTC'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl(DB::DateTime64 const&, unsigned int, unsigned int&) @ 0x000000000b2baae6 in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:182: void DB::convertFromDecimalImpl, void>(DB::DataTypeDateTime64::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x000000000b2baa63 in /usr/bin/clickhouse 8. /build/src/DataTypes/DataTypesDecimal.h:193: DB::DataTypeNumber::FieldType DB::convertFromDecimal>(DB::DataTypeDateTime64::FieldType const&, unsigned int) @ 0x000000000b2baa1f in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:268: COW::immutable_ptr DB::ConvertImpl, DB::NameToUnixTimestamp, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000baf7297 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2039: bool DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000baf2618 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:202: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000bae1ad9 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bae0e28 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bae003e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 2024.12.17 01:23:27.051621 [ 8669 ] {15cc503a-214e-42e1-ab54-7e188091de9a} TCPHandler: Code: 407. DB::Exception: Convert overflow: While processing toUnixTimestamp(toDateTime64('1900-12-12 11:22:33', 0, 'UTC')). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Core/DecimalFunctions.h:346: void DB::DecimalUtils::convertToImpl(DB::DateTime64 const&, unsigned int, unsigned int&) @ 0x000000000b2baae6 in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:182: void DB::convertFromDecimalImpl, void>(DB::DataTypeDateTime64::FieldType const&, unsigned int, DB::DataTypeNumber::FieldType&) @ 0x000000000b2baa63 in /usr/bin/clickhouse 8. /build/src/DataTypes/DataTypesDecimal.h:193: DB::DataTypeNumber::FieldType DB::convertFromDecimal>(DB::DataTypeDateTime64::FieldType const&, unsigned int) @ 0x000000000b2baa1f in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:268: COW::immutable_ptr DB::ConvertImpl, DB::NameToUnixTimestamp, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000baf7297 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2039: bool DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000baf2618 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:202: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000bae1ad9 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bae0e28 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUnixTimestamp, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bae003e in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 2024.12.17 01:23:29.569834 [ 11805 ] {97b35d64-5696-4c03-92b8-7480510ed491} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n3 which is referenced by materialized view ['01746_merge_tree_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56014) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_merge_tree` DROP COLUMN n3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3324: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8f856 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:29.570507 [ 11805 ] {97b35d64-5696-4c03-92b8-7480510ed491} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n3 which is referenced by materialized view ['01746_merge_tree_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3324: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8f856 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:29.585847 [ 11805 ] {280fe887-1164-4edf-b69f-0db1104867a2} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_merge_tree_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56014) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_merge_tree` DROP COLUMN n2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3324: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8f856 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:29.586547 [ 11805 ] {280fe887-1164-4edf-b69f-0db1104867a2} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_merge_tree_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3324: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8f856 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:29.755765 [ 11805 ] {2252ea4d-90e4-43f7-849b-e6493fc67095} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_null_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56014) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_null` DROP COLUMN n1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageNull.cpp:58: DB::StorageNull::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d7d5b95 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:29.756416 [ 11805 ] {2252ea4d-90e4-43f7-849b-e6493fc67095} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_null_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageNull.cpp:58: DB::StorageNull::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d7d5b95 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:29.764604 [ 11805 ] {9272e400-dc57-4258-8532-3312ec78f4d1} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_null_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56014) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_null` DROP COLUMN n2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageNull.cpp:58: DB::StorageNull::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d7d5b95 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:29.765190 [ 11805 ] {9272e400-dc57-4258-8532-3312ec78f4d1} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_null_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageNull.cpp:58: DB::StorageNull::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d7d5b95 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:29.950279 [ 11805 ] {aaf81503-3cf1-4eba-8135-02278cab7f97} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_dist_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56014) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_dist` DROP COLUMN n1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1088: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d65cbc2 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:29.950915 [ 11805 ] {aaf81503-3cf1-4eba-8135-02278cab7f97} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_dist_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1088: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d65cbc2 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:29.959550 [ 11805 ] {725fe678-8088-4095-bba0-49ed97e434fe} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_dist_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56014) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_dist` DROP COLUMN n2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1088: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d65cbc2 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:29.960081 [ 11805 ] {725fe678-8088-4095-bba0-49ed97e434fe} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_dist_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1088: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d65cbc2 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:30.128437 [ 11805 ] {1d73f358-b949-4816-817e-93997498b621} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_merge_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56014) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_merge` DROP COLUMN n1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:1088: DB::StorageMerge::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d759a75 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:30.129166 [ 11805 ] {1d73f358-b949-4816-817e-93997498b621} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_merge_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:1088: DB::StorageMerge::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d759a75 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:30.138195 [ 11805 ] {bee059b9-3528-4961-bda4-7d9f6e97b2b9} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_merge_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56014) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_merge` DROP COLUMN n2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:1088: DB::StorageMerge::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d759a75 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:30.138911 [ 11805 ] {bee059b9-3528-4961-bda4-7d9f6e97b2b9} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_merge_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:1088: DB::StorageMerge::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d759a75 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:30.307415 [ 11805 ] {049b3589-13a4-463c-815b-d533355a5f44} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_buffer_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56014) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_buffer` DROP COLUMN n1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:1038: DB::StorageBuffer::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001da8ae15 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:30.308117 [ 11805 ] {049b3589-13a4-463c-815b-d533355a5f44} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n1 which is referenced by materialized view ['01746_buffer_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:1038: DB::StorageBuffer::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001da8ae15 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:30.316670 [ 11805 ] {9a2825c5-3d23-47b8-aeaa-2f4261b26764} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_buffer_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56014) (comment: 01746_forbid_drop_column_referenced_by_mv.sql) (in query: ALTER TABLE `01746_buffer` DROP COLUMN n2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:1038: DB::StorageBuffer::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001da8ae15 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:30.317280 [ 11805 ] {9a2825c5-3d23-47b8-aeaa-2f4261b26764} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP column n2 which is referenced by materialized view ['01746_buffer_mv']. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:1038: DB::StorageBuffer::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001da8ae15 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:32.219523 [ 11807 ] {6b4490f3-0463-4fe7-aad6-73bdd6f136f9} executeQuery: Code: 558. DB::Exception: Expected ALL or DISTINCT in SelectWithUnion query, because setting (union_default_mode) is empty: While processing SELECT 1 UNION SELECT 1 UNION ALL SELECT 1. (EXPECTED_ALL_OR_DISTINCT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49214) (comment: 01732_union_and_union_all.sql) (in query: select 1 UNION select 1 UNION ALL select 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [97]) @ 0x000000000b25161e in /usr/bin/clickhouse 6. /build/src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp:74: DB::NormalizeSelectWithUnionQueryMatcher::visit(DB::ASTSelectWithUnionQuery&, DB::NormalizeSelectWithUnionQueryMatcher::Data&) @ 0x000000001d0c401a in /usr/bin/clickhouse 7. /build/src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp:36: DB::NormalizeSelectWithUnionQueryMatcher::visit(std::shared_ptr&, DB::NormalizeSelectWithUnionQueryMatcher::Data&) @ 0x000000001d0c3ce7 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001d0bb740 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001d0bb88e in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001d0bb60a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001d0b8be5 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:847: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0acb79 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:32.220198 [ 11807 ] {6b4490f3-0463-4fe7-aad6-73bdd6f136f9} TCPHandler: Code: 558. DB::Exception: Expected ALL or DISTINCT in SelectWithUnion query, because setting (union_default_mode) is empty: While processing SELECT 1 UNION SELECT 1 UNION ALL SELECT 1. (EXPECTED_ALL_OR_DISTINCT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [97]) @ 0x000000000b25161e in /usr/bin/clickhouse 6. /build/src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp:74: DB::NormalizeSelectWithUnionQueryMatcher::visit(DB::ASTSelectWithUnionQuery&, DB::NormalizeSelectWithUnionQueryMatcher::Data&) @ 0x000000001d0c401a in /usr/bin/clickhouse 7. /build/src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp:36: DB::NormalizeSelectWithUnionQueryMatcher::visit(std::shared_ptr&, DB::NormalizeSelectWithUnionQueryMatcher::Data&) @ 0x000000001d0c3ce7 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001d0bb740 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001d0bb88e in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001d0bb60a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001d0b8be5 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:847: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0acb79 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:34.321462 [ 11805 ] {5abc0d17-2733-452e-afe7-c84bf47fe9a7} executeQuery: Code: 46. DB::Exception: Table function 'view' cannot be used as an expression. (UNKNOWN_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49242) (comment: 01715_table_function_view_fix.sql) (in query: SELECT sumIf(dummy, dummy) FROM remote('127.0.0.{1,2}', numbers(2, 100), view(SELECT CAST(NULL, 'Nullable(UInt8)') AS dummy FROM system.one));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTFunction.cpp:477: DB::ASTFunction::appendColumnNameImpl(DB::WriteBuffer&) const @ 0x000000001f353eb3 in /usr/bin/clickhouse 7. /build/src/Parsers/ASTWithAlias.cpp:51: DB::ASTWithAlias::appendColumnName(DB::WriteBuffer&) const @ 0x000000001f3a5a7d in /usr/bin/clickhouse 8. /build/src/Parsers/IAST.cpp:197: DB::IAST::getColumnName() const @ 0x000000001f3fd856 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1688: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb7736 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb7ba3 in /usr/bin/clickhouse 11. /build/src/Storages/StorageDistributed.cpp:219: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001d652ed3 in /usr/bin/clickhouse 12. /build/src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001d65198a in /usr/bin/clickhouse 13. /build/src/Storages/StorageDistributed.cpp:396: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x000000001d653c9d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a952bd0 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a952862 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a9524b4 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a95227f in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a94d8e8 in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionRemote.cpp:309: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94a711 in /usr/bin/clickhouse 20. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 22. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:23:34.322764 [ 11805 ] {5abc0d17-2733-452e-afe7-c84bf47fe9a7} TCPHandler: Code: 46. DB::Exception: Table function 'view' cannot be used as an expression. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTFunction.cpp:477: DB::ASTFunction::appendColumnNameImpl(DB::WriteBuffer&) const @ 0x000000001f353eb3 in /usr/bin/clickhouse 7. /build/src/Parsers/ASTWithAlias.cpp:51: DB::ASTWithAlias::appendColumnName(DB::WriteBuffer&) const @ 0x000000001f3a5a7d in /usr/bin/clickhouse 8. /build/src/Parsers/IAST.cpp:197: DB::IAST::getColumnName() const @ 0x000000001f3fd856 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1688: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb7736 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb7ba3 in /usr/bin/clickhouse 11. /build/src/Storages/StorageDistributed.cpp:219: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001d652ed3 in /usr/bin/clickhouse 12. /build/src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001d65198a in /usr/bin/clickhouse 13. /build/src/Storages/StorageDistributed.cpp:396: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr) @ 0x000000001d653c9d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageDistributed* std::construct_at[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, DB::StorageDistributed*>(DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a952bd0 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void, void>(std::allocator&, DB::StorageDistributed*, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a952862 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a9524b4 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a95227f in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001a94d8e8 in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionRemote.cpp:309: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94a711 in /usr/bin/clickhouse 20. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 21. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 22. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:23:34.686727 [ 3551 ] {d98491e0-34af-44f1-b131-54bd494ebb01} executeQuery: Code: 524. DB::Exception: Trying to ALTER DROP key s column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49248) (comment: 01716_drop_rename_sign_column.sql) (in query: ALTER TABLE signed_table DROP COLUMN s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3308: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8f5eb in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:34.687406 [ 3551 ] {d98491e0-34af-44f1-b131-54bd494ebb01} TCPHandler: Code: 524. DB::Exception: Trying to ALTER DROP key s column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3308: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8f5eb in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:34.785184 [ 3551 ] {1e5a326b-b68a-4e8a-9af9-375c133149a7} executeQuery: Code: 524. DB::Exception: Trying to ALTER RENAME key s column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49248) (comment: 01716_drop_rename_sign_column.sql) (in query: ALTER TABLE signed_table RENAME COLUMN s TO s1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3288: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8f276 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:34.785935 [ 3551 ] {1e5a326b-b68a-4e8a-9af9-375c133149a7} TCPHandler: Code: 524. DB::Exception: Trying to ALTER RENAME key s column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3288: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8f276 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:37.094456 [ 3551 ] {1106064d-f02c-4d08-bd31-928d96e90a84} executeQuery: Code: 584. DB::Exception: No projection is used when optimize_use_projections = 1 and force_optimize_projection = 1. (PROJECTION_NOT_USED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49290) (comment: 01710_force_use_projection.sql) (in query: select avg(eventcnt) eventcnt, d1 from tp group by d1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [90]) @ 0x000000000d9ff4fe in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:179: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001ef28de7 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/QueryPlan.cpp:483: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001ee76e9d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:169: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee769b7 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:37.095237 [ 3551 ] {1106064d-f02c-4d08-bd31-928d96e90a84} TCPHandler: Code: 584. DB::Exception: No projection is used when optimize_use_projections = 1 and force_optimize_projection = 1. (PROJECTION_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [90]) @ 0x000000000d9ff4fe in /usr/bin/clickhouse 6. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:179: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001ef28de7 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/QueryPlan.cpp:483: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001ee76e9d in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:169: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee769b7 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:43.074443 [ 11805 ] {1084742e-0b8f-422f-b7cf-6363de7139b0} executeQuery: Code: 583. DB::Exception: When aggregation is used in projection, ORDER BY cannot be specified. (ILLEGAL_PROJECTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54082) (comment: 01710_projection_group_by_order_by.sql) (in query: create table tp (type Int32, eventcnt UInt64, projection p (select sum(eventcnt), type group by type order by sum(eventcnt))) engine = MergeTree order by type;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [69]) @ 0x000000000d56d99e in /usr/bin/clickhouse 6. /build/src/Storages/ProjectionsDescription.cpp:133: DB::ProjectionDescription::getProjectionFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001d60f825 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:717: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e86b1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:43.075237 [ 11805 ] {1084742e-0b8f-422f-b7cf-6363de7139b0} TCPHandler: Code: 583. DB::Exception: When aggregation is used in projection, ORDER BY cannot be specified. (ILLEGAL_PROJECTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [69]) @ 0x000000000d56d99e in /usr/bin/clickhouse 6. /build/src/Storages/ProjectionsDescription.cpp:133: DB::ProjectionDescription::getProjectionFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001d60f825 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:717: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e86b1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:43.635614 [ 6043 ] {7625755e-4b9b-440b-bcbf-1a9211d3f6b6} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 479.15 MiB (attempt to allocate chunk of 1048616 bytes), maximum: 476.84 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/AllocatorWithMemoryTracking.h:33: AllocatorWithMemoryTracking::allocate(unsigned long) @ 0x000000000b96dfd6 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:35: std::allocation_result>::pointer> std::allocate_at_least[abi:v15000]>(AllocatorWithMemoryTracking&, unsigned long) @ 0x000000000b96df3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocate_at_least.h:42: auto std::__allocate_at_least[abi:v15000]>(AllocatorWithMemoryTracking&, unsigned long) @ 0x000000000b96de1d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__split_buffer:316: std::__split_buffer&>::__split_buffer(unsigned long, unsigned long, AllocatorWithMemoryTracking&) @ 0x000000000c33df4b in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/vector:1048: std::vector>::__append(unsigned long) @ 0x000000001468af3f in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/vector:1918: std::vector>::resize(unsigned long) @ 0x000000001468ac60 in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:252: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000015f5ba1f in /usr/bin/clickhouse 17. /build/src/AggregateFunctions/IAggregateFunction.h:541: DB::IAggregateFunctionHelper>::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000015f5e06a in /usr/bin/clickhouse 18. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x000000001c0dd64e in /usr/bin/clickhouse 19. /build/src/Interpreters/Aggregator.cpp:1586: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01f96f in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 2024.12.17 01:23:45.967687 [ 8670 ] {8190a32e-35bd-42da-893a-8e43748b6a9d} executeQuery: Code: 43. DB::Exception: Illegal type String expression, must be numeric type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54140) (comment: 01702_system_numbers_scientific_notation.sql) (in query: select * from numbers_mt('100') format Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:64: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a957368 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9564f2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:45.968555 [ 8670 ] {8190a32e-35bd-42da-893a-8e43748b6a9d} TCPHandler: Code: 43. DB::Exception: Illegal type String expression, must be numeric type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:64: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a957368 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9564f2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:46.087097 [ 8670 ] {d1f3fea1-59b1-4ed4-9824-4c9979716950} executeQuery: Code: 43. DB::Exception: The value inf is not representable as UInt64. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54140) (comment: 01702_system_numbers_scientific_notation.sql) (in query: select * from numbers_mt(inf) format Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:68: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a95753d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9564f2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:46.088020 [ 8670 ] {d1f3fea1-59b1-4ed4-9824-4c9979716950} TCPHandler: Code: 43. DB::Exception: The value inf is not representable as UInt64. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:68: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a95753d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9564f2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:46.094779 [ 8670 ] {c9f36a31-278d-4ae8-8258-96a5a81951e7} executeQuery: Code: 43. DB::Exception: The value nan is not representable as UInt64. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54140) (comment: 01702_system_numbers_scientific_notation.sql) (in query: select * from numbers_mt(nan) format Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:68: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a95753d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9564f2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:46.095452 [ 8670 ] {c9f36a31-278d-4ae8-8258-96a5a81951e7} TCPHandler: Code: 43. DB::Exception: The value nan is not representable as UInt64. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:68: DB::TableFunctionNumbers::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a95753d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionNumbers.cpp:43: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9564f2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:47.166866 [ 11805 ] {c4429183-dbc0-42cd-a37b-5217daf07858} executeQuery: Code: 36. DB::Exception: The coordinates of the point are such that subsequent calculations cannot be performed correctly. Most likely they are very large in modulus.: While processing pointInPolygon((0, 0), [[(0, 0), (10, 10), (256, -9223372036854775808)]]). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54176) (comment: 01700_point_in_polygon_ubsan.sql) (in query: SELECT pointInPolygon((0, 0), [[(0, 0), (10, 10), (256, -9223372036854775808)]]) FORMAT Null ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [142]) @ 0x0000000011cdeebe in /usr/bin/clickhouse 6. /build/src/Functions/pointInPolygon.cpp:432: void DB::(anonymous namespace)::FunctionPointInPolygon>::parseRing, false, true, std::vector, std::allocator>>(double const*, double const*, unsigned long, unsigned long, boost::geometry::model::ring, false, true, std::vector, std::allocator>&) const @ 0x0000000011cdb7ce in /usr/bin/clickhouse 7. /build/src/Functions/pointInPolygon.cpp:472: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygonWithHolesFromSingleColumn(DB::IColumn const&, unsigned long, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x0000000011cdb513 in /usr/bin/clickhouse 8. /build/src/Functions/pointInPolygon.cpp:534: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygonFromSingleColumn(std::vector> const&, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x0000000011cda5f4 in /usr/bin/clickhouse 9. /build/src/Functions/pointInPolygon.cpp:555: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygon(std::vector> const&, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x0000000011cd9b03 in /usr/bin/clickhouse 10. /build/src/Functions/pointInPolygon.cpp:183: DB::(anonymous namespace)::FunctionPointInPolygon>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011cd7e99 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:23:47.167863 [ 11805 ] {c4429183-dbc0-42cd-a37b-5217daf07858} TCPHandler: Code: 36. DB::Exception: The coordinates of the point are such that subsequent calculations cannot be performed correctly. Most likely they are very large in modulus.: While processing pointInPolygon((0, 0), [[(0, 0), (10, 10), (256, -9223372036854775808)]]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [142]) @ 0x0000000011cdeebe in /usr/bin/clickhouse 6. /build/src/Functions/pointInPolygon.cpp:432: void DB::(anonymous namespace)::FunctionPointInPolygon>::parseRing, false, true, std::vector, std::allocator>>(double const*, double const*, unsigned long, unsigned long, boost::geometry::model::ring, false, true, std::vector, std::allocator>&) const @ 0x0000000011cdb7ce in /usr/bin/clickhouse 7. /build/src/Functions/pointInPolygon.cpp:472: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygonWithHolesFromSingleColumn(DB::IColumn const&, unsigned long, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x0000000011cdb513 in /usr/bin/clickhouse 8. /build/src/Functions/pointInPolygon.cpp:534: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygonFromSingleColumn(std::vector> const&, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x0000000011cda5f4 in /usr/bin/clickhouse 9. /build/src/Functions/pointInPolygon.cpp:555: DB::(anonymous namespace)::FunctionPointInPolygon>::parseConstPolygon(std::vector> const&, boost::geometry::model::polygon, false, true, std::vector, std::vector, std::allocator, std::allocator>&) const @ 0x0000000011cd9b03 in /usr/bin/clickhouse 10. /build/src/Functions/pointInPolygon.cpp:183: DB::(anonymous namespace)::FunctionPointInPolygon>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011cd7e99 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:23:48.554726 [ 11805 ] {9f16b8d8-81ae-4e7c-9902-304339e8c090} executeQuery: Code: 128. DB::Exception: Too large array size: 9223372036854775808, maximum: 1073741824: While processing arrayResize([1, 2, 3], -9223372036854775808). (TOO_LARGE_ARRAY_SIZE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54220) (comment: 01682_gather_utils_ubsan.sql) (in query: SELECT arrayResize([1, 2, 3], -9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000c4b06cc in /usr/bin/clickhouse 6. /build/src/Functions/GatherUtils/Algorithms.h:719: void DB::GatherUtils::resizeDynamicSize&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&>(DB::GatherUtils::NumericArraySource&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&, DB::IColumn const&) @ 0x000000001a603ca0 in /usr/bin/clickhouse 7. /build/src/Functions/GatherUtils/resizeDynamicSize.cpp:20: void DB::GatherUtils::(anonymous namespace)::ArrayResizeDynamic::selectArrayAndValueSourceBySink&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&>(DB::GatherUtils::NumericArraySource&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&, DB::IColumn const&) @ 0x000000001a5bab6d in /usr/bin/clickhouse 8. /build/src/Functions/GatherUtils/Selectors.h:150: auto void DB::GatherUtils::ArrayAndValueSourceSelectorBySink::selectImpl&, DB::IColumn const&>(DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&)::'lambda'(DB::GatherUtils::NumericArraySink&, auto)::operator()*, DB::GatherUtils::ConstSource>*>(DB::GatherUtils::NumericArraySink&, auto) const @ 0x000000001a5b9f52 in /usr/bin/clickhouse 9. /build/src/Functions/GatherUtils/Selectors.h:159: void DB::GatherUtils::ArrayAndValueSourceSelectorBySink::selectImpl&, DB::IColumn const&>(DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x000000001a5b9df7 in /usr/bin/clickhouse 10. /build/src/Functions/GatherUtils/Selectors.h:32: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 3, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x000000001a5b9cd1 in /usr/bin/clickhouse 11. /build/src/Functions/GatherUtils/Selectors.h:32: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 2, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&) @ 0x000000001a5b9c99 in /usr/bin/clickhouse 12. /build/src/Functions/GatherUtils/Selectors.h:32: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 1, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&) @ 0x000000001a5b9c29 in /usr/bin/clickhouse 13. /build/src/Functions/GatherUtils/Selectors.h:32: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 0, DB::GatherUtils::NumericArraySink&>(std::tuple&, DB::GatherUtils::NumericArraySink&) @ 0x000000001a5b9bd9 in /usr/bin/clickhouse 14. /build/src/Functions/GatherUtils/Selectors.h:83: void DB::GatherUtils::ArraySinkSelectorVisitor, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>::visitImpl>(DB::GatherUtils::NumericArraySink&) @ 0x000000001a5b9b81 in /usr/bin/clickhouse 15. /build/src/Common/Visitor.h:134: DB::VisitorImplHelper, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>, DB::GatherUtils::ArraySinkVisitor, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>>, DB::GatherUtils::NumericArraySink>>, DB::GatherUtils::NumericArraySink, DB::UUIDTag>>, DB::GatherUtils::GenericArraySink, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>>, DB::GatherUtils::NullableArraySink>>>, DB::GatherUtils::NullableArraySink, DB::UUIDTag>>>, DB::GatherUtils::NullableArraySink>::visit(DB::GatherUtils::NumericArraySink&) @ 0x000000001a59125d in /usr/bin/clickhouse 16. /build/src/Common/Visitor.h:165: DB::Visitable, DB::GatherUtils::IArraySink, DB::GatherUtils::ArraySinkVisitor>::accept(DB::GatherUtils::ArraySinkVisitor&) @ 0x000000000f14d8e1 in /usr/bin/clickhouse 17. /build/src/Functions/GatherUtils/Selectors.h:96: void DB::GatherUtils::ArraySinkSelector>::select(DB::GatherUtils::IArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x000000001a5907bb in /usr/bin/clickhouse 18. /build/src/Functions/GatherUtils/resizeDynamicSize.cpp:28: DB::GatherUtils::resizeDynamicSize(DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::GatherUtils::IArraySink&, DB::IColumn const&) @ 0x000000001a59076d in /usr/bin/clickhouse 19. /build/src/Functions/array/arrayResize.cpp:126: DB::FunctionArrayResize::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000132bd093 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:23:48.555745 [ 11805 ] {9f16b8d8-81ae-4e7c-9902-304339e8c090} TCPHandler: Code: 128. DB::Exception: Too large array size: 9223372036854775808, maximum: 1073741824: While processing arrayResize([1, 2, 3], -9223372036854775808). (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000c4b06cc in /usr/bin/clickhouse 6. /build/src/Functions/GatherUtils/Algorithms.h:719: void DB::GatherUtils::resizeDynamicSize&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&>(DB::GatherUtils::NumericArraySource&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&, DB::IColumn const&) @ 0x000000001a603ca0 in /usr/bin/clickhouse 7. /build/src/Functions/GatherUtils/resizeDynamicSize.cpp:20: void DB::GatherUtils::(anonymous namespace)::ArrayResizeDynamic::selectArrayAndValueSourceBySink&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&>(DB::GatherUtils::NumericArraySource&, DB::GatherUtils::ConstSource>&, DB::GatherUtils::NumericArraySink&, DB::IColumn const&) @ 0x000000001a5bab6d in /usr/bin/clickhouse 8. /build/src/Functions/GatherUtils/Selectors.h:150: auto void DB::GatherUtils::ArrayAndValueSourceSelectorBySink::selectImpl&, DB::IColumn const&>(DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&)::'lambda'(DB::GatherUtils::NumericArraySink&, auto)::operator()*, DB::GatherUtils::ConstSource>*>(DB::GatherUtils::NumericArraySink&, auto) const @ 0x000000001a5b9f52 in /usr/bin/clickhouse 9. /build/src/Functions/GatherUtils/Selectors.h:159: void DB::GatherUtils::ArrayAndValueSourceSelectorBySink::selectImpl&, DB::IColumn const&>(DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x000000001a5b9df7 in /usr/bin/clickhouse 10. /build/src/Functions/GatherUtils/Selectors.h:32: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 3, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x000000001a5b9cd1 in /usr/bin/clickhouse 11. /build/src/Functions/GatherUtils/Selectors.h:32: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 2, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&) @ 0x000000001a5b9c99 in /usr/bin/clickhouse 12. /build/src/Functions/GatherUtils/Selectors.h:32: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 1, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&>(std::tuple&, DB::GatherUtils::NumericArraySink&, DB::GatherUtils::IArraySource&) @ 0x000000001a5b9c29 in /usr/bin/clickhouse 13. /build/src/Functions/GatherUtils/Selectors.h:32: void DB::GatherUtils::callSelectMemberFunctionWithTupleArgument, std::tuple, 0, DB::GatherUtils::NumericArraySink&>(std::tuple&, DB::GatherUtils::NumericArraySink&) @ 0x000000001a5b9bd9 in /usr/bin/clickhouse 14. /build/src/Functions/GatherUtils/Selectors.h:83: void DB::GatherUtils::ArraySinkSelectorVisitor, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>::visitImpl>(DB::GatherUtils::NumericArraySink&) @ 0x000000001a5b9b81 in /usr/bin/clickhouse 15. /build/src/Common/Visitor.h:134: DB::VisitorImplHelper, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&>, DB::GatherUtils::ArraySinkVisitor, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>, DB::GatherUtils::NumericArraySink>>, DB::GatherUtils::NumericArraySink>>, DB::GatherUtils::NumericArraySink, DB::UUIDTag>>, DB::GatherUtils::GenericArraySink, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>, DB::GatherUtils::NullableArraySink>>>, DB::GatherUtils::NullableArraySink>>>, DB::GatherUtils::NullableArraySink, DB::UUIDTag>>>, DB::GatherUtils::NullableArraySink>::visit(DB::GatherUtils::NumericArraySink&) @ 0x000000001a59125d in /usr/bin/clickhouse 16. /build/src/Common/Visitor.h:165: DB::Visitable, DB::GatherUtils::IArraySink, DB::GatherUtils::ArraySinkVisitor>::accept(DB::GatherUtils::ArraySinkVisitor&) @ 0x000000000f14d8e1 in /usr/bin/clickhouse 17. /build/src/Functions/GatherUtils/Selectors.h:96: void DB::GatherUtils::ArraySinkSelector>::select(DB::GatherUtils::IArraySink&, DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::IColumn const&) @ 0x000000001a5907bb in /usr/bin/clickhouse 18. /build/src/Functions/GatherUtils/resizeDynamicSize.cpp:28: DB::GatherUtils::resizeDynamicSize(DB::GatherUtils::IArraySource&, DB::GatherUtils::IValueSource&, DB::GatherUtils::IArraySink&, DB::IColumn const&) @ 0x000000001a59076d in /usr/bin/clickhouse 19. /build/src/Functions/array/arrayResize.cpp:126: DB::FunctionArrayResize::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000132bd093 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:23:48.846823 [ 8670 ] {197ff20a-8b8e-4659-acdc-8624f8ad9b31} executeQuery: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54216) (comment: 01684_insert_specify_shard_id.sql) (in query: -- no sharding key INSERT INTO x_dist SELECT * FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:826: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d659369 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:48.847586 [ 8670 ] {197ff20a-8b8e-4659-acdc-8624f8ad9b31} TCPHandler: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:826: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d659369 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:48.857870 [ 8670 ] {f2b77301-9c54-4734-8b97-0098b0fc7dd7} executeQuery: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54216) (comment: 01684_insert_specify_shard_id.sql) (in query: INSERT INTO y_dist SELECT * FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:826: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d659369 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:48.858674 [ 8670 ] {f2b77301-9c54-4734-8b97-0098b0fc7dd7} TCPHandler: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:826: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d659369 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:48.965853 [ 8670 ] {55051d59-9ba2-4e1b-9c16-249b79aa68e3} executeQuery: Code: 577. DB::Exception: Shard id should be range from 1 to shard number. (INVALID_SHARD_ID) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54216) (comment: 01684_insert_specify_shard_id.sql) (in query: -- invalid shard id INSERT INTO x_dist SELECT * FROM numbers(10) settings insert_shard_id = 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9123fe in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:832: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d659496 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:48.966670 [ 8670 ] {55051d59-9ba2-4e1b-9c16-249b79aa68e3} TCPHandler: Code: 577. DB::Exception: Shard id should be range from 1 to shard number. (INVALID_SHARD_ID), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9123fe in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:832: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d659496 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:48.976996 [ 8670 ] {d9eb616d-ddb8-407f-bcbe-c17de9116248} executeQuery: Code: 577. DB::Exception: Shard id should be range from 1 to shard number. (INVALID_SHARD_ID) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54216) (comment: 01684_insert_specify_shard_id.sql) (in query: INSERT INTO y_dist SELECT * FROM numbers(10) settings insert_shard_id = 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9123fe in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:832: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d659496 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:48.977682 [ 8670 ] {d9eb616d-ddb8-407f-bcbe-c17de9116248} TCPHandler: Code: 577. DB::Exception: Shard id should be range from 1 to shard number. (INVALID_SHARD_ID), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [48]) @ 0x000000000b9123fe in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:832: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d659496 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:50.114299 [ 8670 ] {9aa0ce4d-2495-42df-a67b-54d1e0a89304} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'input' of function encrypt, expected plaintext, got Array(Nullable(Int16)): While processing encrypt('aes-128-ecb', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54276) (comment: 01667_aes_args_check.sql) (in query: SELECT encrypt('aes-128-ecb', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e40 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsAES.h:168: DB::FunctionEncrypt<(anonymous namespace)::EncryptImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ddb603d in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:23:50.115502 [ 8670 ] {9aa0ce4d-2495-42df-a67b-54d1e0a89304} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'input' of function encrypt, expected plaintext, got Array(Nullable(Int16)): While processing encrypt('aes-128-ecb', '[HIDDEN]'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e40 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsAES.h:168: DB::FunctionEncrypt<(anonymous namespace)::EncryptImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ddb603d in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:23:50.810204 [ 8670 ] {5d752bf8-2ad9-459f-bff8-d8260a7c696d} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = 9223372036854775807, signed b = -9223372036854775808, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775807, -9223372036854775808). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49964) (comment: 01666_gcd_ubsan.sql) (in query: -- { echo } SELECT gcd(9223372036854775807, -9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000e44e004 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, long) @ 0x000000000e2e1157 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, long>::process(unsigned long, long) @ 0x000000000e2e0d7d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3ba4ba in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e3ba29b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3b6144 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000e3b5a6d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3b579d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3a1133 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000e3a0a27 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3a08fd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e39fd31 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e39f9ff in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39d736 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39cb2c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 2024.12.17 01:23:50.811734 [ 8670 ] {5d752bf8-2ad9-459f-bff8-d8260a7c696d} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = 9223372036854775807, signed b = -9223372036854775808, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775807, -9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000e44e004 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, long) @ 0x000000000e2e1157 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, long>::process(unsigned long, long) @ 0x000000000e2e0d7d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3ba4ba in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e3ba29b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3b6144 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000e3b5a6d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3b579d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3a1133 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000e3a0a27 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3a08fd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e39fd31 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e39f9ff in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39d736 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39cb2c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 2024.12.17 01:23:50.819924 [ 8670 ] {a190d3aa-6b0c-4f30-9c7b-6aee1d31efa2} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = -9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775808, -9223372036854775807). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49964) (comment: 01666_gcd_ubsan.sql) (in query: SELECT gcd(9223372036854775808, -9223372036854775807);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000e44e004 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, long) @ 0x000000000e2e1157 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, long>::process(unsigned long, long) @ 0x000000000e2e0d7d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3ba4ba in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e3ba29b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3b6144 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000e3b5a6d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3b579d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3a1133 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000e3a0a27 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3a08fd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e39fd31 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e39f9ff in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39d736 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39cb2c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 2024.12.17 01:23:50.821170 [ 8670 ] {a190d3aa-6b0c-4f30-9c7b-6aee1d31efa2} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = -9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775808, -9223372036854775807). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000e44e004 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, long) @ 0x000000000e2e1157 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, long>::process(unsigned long, long) @ 0x000000000e2e0d7d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3ba4ba in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e3ba29b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3b6144 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000e3b5a6d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3b579d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3a1133 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000e3a0a27 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3a08fd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e39fd31 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e39f9ff in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39d736 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39cb2c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 2024.12.17 01:23:50.923520 [ 8670 ] {5ca35509-bd8a-4acc-bbb4-eec098831562} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = 9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(-9223372036854775808, 9223372036854775807). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49964) (comment: 01666_gcd_ubsan.sql) (in query: SELECT gcd(-9223372036854775808, 9223372036854775807);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000e44e004 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(long, unsigned long) @ 0x000000000e323a57 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, long>::process(long, unsigned long) @ 0x000000000e32367d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3e029a in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e3e007b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3de744 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000e3de047 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3ddf1d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3a12b3 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000e3a0bcd in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3a08fd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e39fd31 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e39f9ff in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39d736 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39cb2c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 2024.12.17 01:23:50.924909 [ 8670 ] {5ca35509-bd8a-4acc-bbb4-eec098831562} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = 9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(-9223372036854775808, 9223372036854775807). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000e44e004 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(long, unsigned long) @ 0x000000000e323a57 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, long>::process(long, unsigned long) @ 0x000000000e32367d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3e029a in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e3e007b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3de744 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000e3de047 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3ddf1d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3a12b3 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000e3a0bcd in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3a08fd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e39fd31 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e39f9ff in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39d736 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39cb2c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 2024.12.17 01:23:50.933767 [ 8670 ] {0342e166-e459-4b38-b3d0-b33237f2b84f} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775807, signed b = -9223372036854775808, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(-9223372036854775807, 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49964) (comment: 01666_gcd_ubsan.sql) (in query: SELECT gcd(-9223372036854775807, 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000e44e004 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(long, unsigned long) @ 0x000000000e323a57 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, long>::process(long, unsigned long) @ 0x000000000e32367d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3e029a in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e3e007b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3de744 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000e3de047 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3ddf1d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3a12b3 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000e3a0bcd in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3a08fd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e39fd31 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e39f9ff in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39d736 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39cb2c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 2024.12.17 01:23:50.934946 [ 8670 ] {0342e166-e459-4b38-b3d0-b33237f2b84f} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775807, signed b = -9223372036854775808, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(-9223372036854775807, 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000e44e004 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(long, unsigned long) @ 0x000000000e323a57 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, long>::process(long, unsigned long) @ 0x000000000e32367d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3e029a in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e3e007b in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3de744 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000e3de047 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3ddf1d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3a12b3 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000e3a0bcd in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3a08fd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e39fd31 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e39f9ff in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39d736 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39cb2c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 2024.12.17 01:23:51.034650 [ 8670 ] {36ef7b21-7e50-45e5-9006-d997ec2e6315} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = -1, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775808, -1). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49964) (comment: 01666_gcd_ubsan.sql) (in query: SELECT gcd(9223372036854775808, -1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000e44e004 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, signed char) @ 0x000000000e2dec98 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, long>::process(unsigned long, signed char) @ 0x000000000e2de8bf in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3b901b in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e3b8dfb in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3b6084 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000e3b598d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3b579d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3a1133 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000e3a0a27 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3a08fd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e39fd31 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e39f9ff in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39d736 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39cb2c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 2024.12.17 01:23:51.036229 [ 8670 ] {36ef7b21-7e50-45e5-9006-d997ec2e6315} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = -9223372036854775808, signed b = -1, min = -9223372036854775808, max = 9223372036854775807): While processing gcd(9223372036854775808, -1). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000e44e004 in /usr/bin/clickhouse 6. /build/src/Functions/GCDLCMImpl.h:44: long DB::GCDLCMImpl, DB::(anonymous namespace)::NameGCD>::apply(unsigned long, signed char) @ 0x000000000e2dec98 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, long>::process(unsigned long, signed char) @ 0x000000000e2de8bf in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e3b901b in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000e3b8dfb in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3b6084 in /usr/bin/clickhouse 11. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000e3b598d in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3b579d in /usr/bin/clickhouse 13. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000e3a1133 in /usr/bin/clickhouse 14. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000e3a0a27 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000e3a08fd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000e39fd31 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000e39f9ff in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39d736 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e39cb2c in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 21. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 2024.12.17 01:23:51.173850 [ 8670 ] {ea9ba84c-1306-43f8-87fa-5f4b4ddeab82} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(-1.7014118346046923e38, -1.7014118346046923e38). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49964) (comment: 01666_gcd_ubsan.sql) (in query: SELECT lcm(-170141183460469231731687303715884105728, -170141183460469231731687303715884105728);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1618: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000f9a3ec9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2476: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000f8481ef in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:376: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c0b61a9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:23:51.175120 [ 8670 ] {ea9ba84c-1306-43f8-87fa-5f4b4ddeab82} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(-1.7014118346046923e38, -1.7014118346046923e38). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBinaryArithmetic.h:1618: DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000f9a3ec9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBinaryArithmetic.h:2476: DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000f8481ef in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:376: DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c0b61a9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:23:52.318741 [ 6046 ] {c90cff5c-03c1-4602-bd7d-4a4da4571f2e} executeQuery: Code: 574. DB::Exception: Too many bytes pending for async INSERT: 2.17 KiB (bytes_to_delay_insert=1.00 B). (DISTRIBUTED_TOO_MANY_PENDING_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:53194) (comment: 01675_distributed_bytes_to_delay_insert.sh) (in query: insert into dist_01675 select * from numbers(1) settings prefer_localhost_replica=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1577: DB::StorageDistributed::delayInsertOrThrowIfNeeded() const @ 0x000000001d6658a1 in /usr/bin/clickhouse 7. /build/src/Storages/Distributed/DistributedSink.cpp:144: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001dd00bfb in /usr/bin/clickhouse 8. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 26. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 27. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 28. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 2024.12.17 01:23:52.321877 [ 6046 ] {c90cff5c-03c1-4602-bd7d-4a4da4571f2e} DynamicQueryHandler: Code: 574. DB::Exception: Too many bytes pending for async INSERT: 2.17 KiB (bytes_to_delay_insert=1.00 B). (DISTRIBUTED_TOO_MANY_PENDING_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1577: DB::StorageDistributed::delayInsertOrThrowIfNeeded() const @ 0x000000001d6658a1 in /usr/bin/clickhouse 7. /build/src/Storages/Distributed/DistributedSink.cpp:144: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001dd00bfb in /usr/bin/clickhouse 8. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 26. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 27. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 28. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:23:54.091312 [ 8670 ] {ab63812a-d29b-452d-9aee-e39bb820d09f} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50036) (comment: 01662_date_ubsan.sql) (in query: -- tests with INT64_MIN (via overflow) SELECT addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x000000000c43b3c0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c43e9d9 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c43e4c3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c4371c7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c43e263 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddMinutesImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c43a0ea in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c438a94 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:23:54.092296 [ 8670 ] {ab63812a-d29b-452d-9aee-e39bb820d09f} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x000000000c43b3c0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c43e9d9 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c43e4c3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c4371c7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c43e263 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddMinutesImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c43a0ea in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c438a94 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:23:54.184370 [ 8670 ] {d5c48988-2a65-4297-a166-73ea5b903097} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50036) (comment: 01662_date_ubsan.sql) (in query: SELECT addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x000000000c42fc40 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c433259 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c432d43 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c42ba47 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c432ae3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddHoursImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c42e96a in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c42d314 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:23:54.185423 [ 8670 ] {d5c48988-2a65-4297-a166-73ea5b903097} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x000000000c42fc40 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c433259 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c432d43 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c42ba47 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c432ae3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddHoursImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c42e96a in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c42d314 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:23:54.278806 [ 8670 ] {65e448e3-41a3-4431-bcd9-13306e9d2a73} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50036) (comment: 01662_date_ubsan.sql) (in query: SELECT addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x000000000c48b5e0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c48eb59 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c48e643 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c4873a7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c48e3a3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddWeeksImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c48a2ca in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c488c74 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:23:54.279778 [ 8670 ] {65e448e3-41a3-4431-bcd9-13306e9d2a73} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x000000000c48b5e0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c48eb59 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c48e643 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c4873a7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c48e3a3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddWeeksImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c48a2ca in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c488c74 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:23:54.377259 [ 8670 ] {fd6dac66-ac43-4f14-bc29-668d92f40980} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50036) (comment: 01662_date_ubsan.sql) (in query: SELECT addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x000000000c4245e0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c427c59 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c427743 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c4203a7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c427383 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddDaysImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c4232ca in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c421c74 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:23:54.378260 [ 8670 ] {fd6dac66-ac43-4f14-bc29-668d92f40980} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x000000000c4245e0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c427c59 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c427743 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c4203a7 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c427383 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddDaysImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c4232ca in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c421c74 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:23:54.474780 [ 8670 ] {d0a2f04a-7dc6-4f45-854e-218efe6f5ab9} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50036) (comment: 01662_date_ubsan.sql) (in query: SELECT addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x000000000c496cc0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c49a479 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c499f63 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c492907 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c499aa3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddYearsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c49582a in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c4941d4 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:23:54.475916 [ 8670 ] {d0a2f04a-7dc6-4f45-854e-218efe6f5ab9} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), 9223372036854775808). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(unsigned long) @ 0x000000000c496cc0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c49a479 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c499f63 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c492907 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c499aa3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddYearsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c49582a in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c4941d4 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:23:54.579126 [ 8670 ] {2071572e-947f-4348-8437-e7d37e33f184} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50036) (comment: 01662_date_ubsan.sql) (in query: -- tests with inf SELECT addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x000000000c43bb60 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c43ee5a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c43e703 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c437370 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c43e263 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddMinutesImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c43a0ea in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c438a94 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:23:54.580060 [ 8670 ] {2071572e-947f-4348-8437-e7d37e33f184} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addMinutes(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x000000000c43bb60 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c43ee5a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c43e703 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c437370 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c43e263 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddMinutesImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c43a0ea in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c438a94 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:23:54.674864 [ 8670 ] {27e28c52-7b0a-4774-872d-0476376aa521} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50036) (comment: 01662_date_ubsan.sql) (in query: SELECT addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x000000000c4303e0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c4336da in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c432f83 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c42bbf0 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c432ae3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddHoursImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c42e96a in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c42d314 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:23:54.675771 [ 8670 ] {27e28c52-7b0a-4774-872d-0476376aa521} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addHours(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x000000000c4303e0 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c4336da in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c432f83 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c42bbf0 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c432ae3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddHoursImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c42e96a in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c42d314 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:23:54.768137 [ 8670 ] {20650e23-7577-4a11-ab5a-041112db8ef5} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50036) (comment: 01662_date_ubsan.sql) (in query: SELECT addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x000000000c48be20 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c48efda in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c48e883 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c487550 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c48e3a3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddWeeksImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c48a2ca in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c488c74 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:23:54.769348 [ 8670 ] {20650e23-7577-4a11-ab5a-041112db8ef5} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addWeeks(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x000000000c48be20 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c48efda in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c48e883 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c487550 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c48e3a3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddWeeksImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c48a2ca in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c488c74 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:23:54.861147 [ 8670 ] {981fcfc3-ea45-4cfd-903b-9173c4396215} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50036) (comment: 01662_date_ubsan.sql) (in query: SELECT addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x000000000c424e20 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c4280da in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c427983 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c420550 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c427383 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddDaysImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c4232ca in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c421c74 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:23:54.862203 [ 8670 ] {981fcfc3-ea45-4cfd-903b-9173c4396215} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addDays(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x000000000c424e20 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c4280da in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c427983 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c420550 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c427383 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddDaysImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c4232ca in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c421c74 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:23:54.953982 [ 8670 ] {e532363c-554b-41ca-a7d7-1f64461f83aa} executeQuery: Code: 407. DB::Exception: Numeric overflow: While processing addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50036) (comment: 01662_date_ubsan.sql) (in query: SELECT addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x000000000c497500 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c49a8fa in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c49a1a3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c492ab0 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c499aa3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddYearsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c49582a in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c4941d4 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:23:54.955152 [ 8670 ] {e532363c-554b-41ca-a7d7-1f64461f83aa} TCPHandler: Code: 407. DB::Exception: Numeric overflow: While processing addYears(toDateTime('2021-01-01 00:00:00', 'GMT'), inf). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:437: long DB::Adder::checkOverflow(double) @ 0x000000000c497500 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:445: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x000000000c49a8fa in /usr/bin/clickhouse 8. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:413: auto void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)::operator()>(DB::PODArray, 63ul, 64ul> const&) const @ 0x000000000c49a1a3 in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::ColumnVector, DB::IColumn, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)>(DB::PODArray, 63ul, 64ul> const*, void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const::'lambda'(DB::PODArray, 63ul, 64ul> const&)&&) @ 0x000000000c492ab0 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:414: void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x000000000c499aa3 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:482: DB::DateTimeAddIntervalImpl::execute(DB::AddYearsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x000000000c49582a in /usr/bin/clickhouse 12. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:657: DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c4941d4 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:23:55.584642 [ 8670 ] {93a91a67-ec6f-4375-8871-a6b94c7f9183} executeQuery: Code: 36. DB::Exception: Table function VALUES requires all but first argument (rows specification) to be either tuples or single values. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50104) (comment: 01658_values_ubsan.sql) (in query: SELECT * FROM VALUES('x UInt8, y UInt16', 1 + 2, 'Hello');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [112]) @ 0x000000001a9848fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionValues.cpp:53: DB::parseAndInsertValues(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block const&, unsigned long, std::shared_ptr) @ 0x000000001a983b32 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionValues.cpp:140: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a983609 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:55.585503 [ 8670 ] {93a91a67-ec6f-4375-8871-a6b94c7f9183} TCPHandler: Code: 36. DB::Exception: Table function VALUES requires all but first argument (rows specification) to be either tuples or single values. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [112]) @ 0x000000001a9848fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionValues.cpp:53: DB::parseAndInsertValues(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>> const&, DB::Block const&, unsigned long, std::shared_ptr) @ 0x000000001a983b32 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionValues.cpp:140: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a983609 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:23:56.325721 [ 2670 ] {9791d481-ef5f-4951-9005-f05bf4bf18b0} executeQuery: Code: 36. DB::Exception: Cannot sleep infinite or negative amount of time (not implemented). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50124) (comment: 01655_sleep_infinite_float.sql) (in query: SELECT sleep(nan);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001254101e in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:107: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x0000000012540b84 in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:89: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000125406fa in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:23:56.326648 [ 2670 ] {9791d481-ef5f-4951-9005-f05bf4bf18b0} TCPHandler: Code: 36. DB::Exception: Cannot sleep infinite or negative amount of time (not implemented). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001254101e in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:107: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x0000000012540b84 in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:89: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000125406fa in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:23:56.339914 [ 2670 ] {661b7cd9-770f-4bb6-a083-3a56c5371b40} executeQuery: Code: 36. DB::Exception: Cannot sleep infinite or negative amount of time (not implemented). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50124) (comment: 01655_sleep_infinite_float.sql) (in query: SELECT sleep(inf);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001254101e in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:107: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x0000000012540b84 in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:89: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000125406fa in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:23:56.340552 [ 2670 ] {661b7cd9-770f-4bb6-a083-3a56c5371b40} TCPHandler: Code: 36. DB::Exception: Cannot sleep infinite or negative amount of time (not implemented). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001254101e in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:107: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x0000000012540b84 in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:89: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000125406fa in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:23:57.635953 [ 8670 ] {fb4c9458-3fe1-4c39-bb7b-03a35b669dae} executeQuery: Code: 386. DB::Exception: There is no supertype for types String, UInt8 because some of them are String/FixedString and some of them are not: While processing mapContains(a, 10). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50150) (comment: 01651_map_functions.sql) (in query: select mapContains(a, 10) from table_map;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119554ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001ba050c6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba0934f in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:479: DB::FunctionArrayIndex::allowArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000129093aa in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:410: DB::FunctionArrayIndex::getReturnTypeImpl(std::vector> const&) const @ 0x000000001288ec48 in /usr/bin/clickhouse 10. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToSubcolumnAdapter, DB::NameMapContains>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001288e383 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:23:57.636979 [ 8670 ] {fb4c9458-3fe1-4c39-bb7b-03a35b669dae} TCPHandler: Code: 386. DB::Exception: There is no supertype for types String, UInt8 because some of them are String/FixedString and some of them are not: While processing mapContains(a, 10). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119554ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001ba050c6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba0934f in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:479: DB::FunctionArrayIndex::allowArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000129093aa in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:410: DB::FunctionArrayIndex::getReturnTypeImpl(std::vector> const&) const @ 0x000000001288ec48 in /usr/bin/clickhouse 10. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToSubcolumnAdapter, DB::NameMapContains>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001288e383 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:23:57.776374 [ 8670 ] {81027b4c-6739-4b21-ad42-bb0492e3f2e4} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt8, String because some of them are String/FixedString and some of them are not: While processing mapContains(a, 'aaa'). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50150) (comment: 01651_map_functions.sql) (in query: select mapContains(a, 'aaa') from table_map;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119554ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001ba050c6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba0934f in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:479: DB::FunctionArrayIndex::allowArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000129093aa in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:410: DB::FunctionArrayIndex::getReturnTypeImpl(std::vector> const&) const @ 0x000000001288ec48 in /usr/bin/clickhouse 10. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToSubcolumnAdapter, DB::NameMapContains>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001288e383 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:23:57.777482 [ 8670 ] {81027b4c-6739-4b21-ad42-bb0492e3f2e4} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt8, String because some of them are String/FixedString and some of them are not: While processing mapContains(a, 'aaa'). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119554ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001ba050c6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba0934f in /usr/bin/clickhouse 8. /build/src/Functions/array/arrayIndex.h:479: DB::FunctionArrayIndex::allowArguments(std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000129093aa in /usr/bin/clickhouse 9. /build/src/Functions/array/arrayIndex.h:410: DB::FunctionArrayIndex::getReturnTypeImpl(std::vector> const&) const @ 0x000000001288ec48 in /usr/bin/clickhouse 10. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:81: DB::FunctionMapToArrayAdapter, DB::MapToSubcolumnAdapter, DB::NameMapContains>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001288e383 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:23:57.906064 [ 8670 ] {84176d28-ad1e-4d3a-8c4a-ed2c7755301b} executeQuery: Code: 43. DB::Exception: Function mapKeys requires at least one argument of type Map: While processing mapContains(b, 'aaa'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50150) (comment: 01651_map_functions.sql) (in query: select mapContains(b, 'aaa') from table_map;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:139: DB::MapAdapterBase, DB::NameMapKeys>::extractNestedTypesAndColumns(std::vector>&) @ 0x000000001288b681 in /usr/bin/clickhouse 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:71: DB::FunctionMapToArrayAdapter, DB::MapToSubcolumnAdapter, DB::NameMapContains>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001288e35f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:23:57.907168 [ 8670 ] {84176d28-ad1e-4d3a-8c4a-ed2c7755301b} TCPHandler: Code: 43. DB::Exception: Function mapKeys requires at least one argument of type Map: While processing mapContains(b, 'aaa'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:139: DB::MapAdapterBase, DB::NameMapKeys>::extractNestedTypesAndColumns(std::vector>&) @ 0x000000001288b681 in /usr/bin/clickhouse 7. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:71: DB::FunctionMapToArrayAdapter, DB::MapToSubcolumnAdapter, DB::NameMapContains>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001288e35f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:23:58.222844 [ 8670 ] {1e48d06e-88b7-4bdc-a550-84f5957502a1} executeQuery: Code: 43. DB::Exception: First argument for function mapFromArrays must be an Array: While processing mapFromArrays('aa', [4, 5]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50150) (comment: 01651_map_functions.sql) (in query: select mapFromArrays('aa', [4, 5]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:173: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010320fe7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:23:58.348902 [ 8670 ] {1e48d06e-88b7-4bdc-a550-84f5957502a1} TCPHandler: Code: 43. DB::Exception: First argument for function mapFromArrays must be an Array: While processing mapFromArrays('aa', [4, 5]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:173: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010320fe7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:23:58.348994 [ 2670 ] {88c105e4-5f48-4e16-b8af-c2ffc9127206} executeQuery: Code: 42. DB::Exception: Aggregate function any requires single argument: While processing SELECT any(nullIf('', ''), 'some text'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50160) (comment: 01650_any_null_if.sql) (in query: EXPLAIN SYNTAX select any(nullIf('', ''), 'some text');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8abc1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:23: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e0f55 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e0d6d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac000ca in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:356: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa5689 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:198: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa54e6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterExplainQuery.cpp:69: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x000000001c8bfbcb in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:65: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x000000001c8bfae1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001c8bf8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001c8bfe01 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001c8bf86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001c8bfea6 in /usr/bin/clickhouse 2024.12.17 01:23:58.350046 [ 2670 ] {88c105e4-5f48-4e16-b8af-c2ffc9127206} TCPHandler: Code: 42. DB::Exception: Aggregate function any requires single argument: While processing SELECT any(nullIf('', ''), 'some text'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8abc1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:23: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e0f55 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e0d6d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac000ca in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:356: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa5689 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:198: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa54e6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterExplainQuery.cpp:69: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x000000001c8bfbcb in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:65: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x000000001c8bfae1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001c8bf8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001c8bfe01 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001c8bf86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001c8bfea6 in /usr/bin/clickhouse 2024.12.17 01:23:58.485499 [ 8670 ] {e5523ef4-ebed-44f2-b44b-0d8201f28b0e} executeQuery: Code: 43. DB::Exception: Second argument for function mapFromArrays must be Array or Map: While processing mapFromArrays(['aa', 'bb'], 5). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50150) (comment: 01651_map_functions.sql) (in query: select mapFromArrays(['aa', 'bb'], 5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:181: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001032128f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:23:58.485590 [ 2670 ] {553bd1b8-65af-476a-ad30-3eaf4417b8e8} executeQuery: Code: 42. DB::Exception: Aggregate function any requires single argument: While processing SELECT any(nullIf('', ''), 'some text'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50160) (comment: 01650_any_null_if.sql) (in query: EXPLAIN SYNTAX select any(nullIf('', ''), 'some text');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8abc1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:23: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e0f55 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e0d6d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac000ca in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:356: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa5689 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:198: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa54e6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterExplainQuery.cpp:69: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x000000001c8bfbcb in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:65: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x000000001c8bfae1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001c8bf8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001c8bfe01 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001c8bf86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001c8bfea6 in /usr/bin/clickhouse 2024.12.17 01:23:58.486582 [ 8670 ] {e5523ef4-ebed-44f2-b44b-0d8201f28b0e} TCPHandler: Code: 43. DB::Exception: Second argument for function mapFromArrays must be Array or Map: While processing mapFromArrays(['aa', 'bb'], 5). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:181: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001032128f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:23:58.486707 [ 2670 ] {553bd1b8-65af-476a-ad30-3eaf4417b8e8} TCPHandler: Code: 42. DB::Exception: Aggregate function any requires single argument: While processing SELECT any(nullIf('', ''), 'some text'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8abc1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:23: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e0f55 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e0d6d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac000ca in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:356: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa5689 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:198: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa54e6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterExplainQuery.cpp:69: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(DB::ASTSelectQuery&, std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x000000001c8bfbcb in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterExplainQuery.cpp:65: DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::visit(std::shared_ptr&, DB::(anonymous namespace)::ExplainAnalyzedSyntaxMatcher::Data&) @ 0x000000001c8bfae1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001c8bf8e0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001c8bfe01 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001c8bf86a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001c8bfea6 in /usr/bin/clickhouse 2024.12.17 01:23:58.495855 [ 8670 ] {7d79d53e-befa-4096-b265-4b6d10155491} executeQuery: Code: 42. DB::Exception: Number of arguments for function mapFromArrays doesn't match: passed 3, should be 2: While processing mapFromArrays(['aa', 'bb'], [4, 5], [6, 7]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50150) (comment: 01651_map_functions.sql) (in query: select mapFromArrays(['aa', 'bb'], [4, 5], [6, 7]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:23:58.496898 [ 8670 ] {7d79d53e-befa-4096-b265-4b6d10155491} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mapFromArrays doesn't match: passed 3, should be 2: While processing mapFromArrays(['aa', 'bb'], [4, 5], [6, 7]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:23:58.611998 [ 8670 ] {5ca06a73-6292-408f-8ef4-30a9ffa4fad9} executeQuery: Code: 190. DB::Exception: Two arguments for function mapFromArrays must have equal sizes: While processing mapFromArrays(['aa', 'bb'], [4, 5, 6]). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50150) (comment: 01651_map_functions.sql) (in query: select mapFromArrays(['aa', 'bb'], [4, 5, 6]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:222: DB::(anonymous namespace)::FunctionMapFromArrays::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010320899 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:23:58.612956 [ 8670 ] {5ca06a73-6292-408f-8ef4-30a9ffa4fad9} TCPHandler: Code: 190. DB::Exception: Two arguments for function mapFromArrays must have equal sizes: While processing mapFromArrays(['aa', 'bb'], [4, 5, 6]). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:222: DB::(anonymous namespace)::FunctionMapFromArrays::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010320899 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:23:58.711459 [ 8670 ] {7202deba-66b4-4b63-9eb8-f61431171055} executeQuery: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Array(UInt8) given: While processing mapFromArrays([[1, 2], [3, 4]], [4, 5, 6]). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50150) (comment: 01651_map_functions.sql) (in query: select mapFromArrays([[1,2], [3,4]], [4, 5, 6]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x000000001b9901a7 in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypeMap.cpp:53: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x000000001b99033b in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], std::allocator>>&, DB::DataTypeMap*>(DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x00000000103219e6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>>&, void, void>(std::allocator&, DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x0000000010321961 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>>&>(std::allocator, std::vector, std::allocator>>&) @ 0x00000000103218e7 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x0000000010321817 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>>&, void>(std::vector, std::allocator>>&) @ 0x00000000103217c6 in /usr/bin/clickhouse 13. /build/src/Functions/map.cpp:184: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000103213d8 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:23:58.712805 [ 8670 ] {7202deba-66b4-4b63-9eb8-f61431171055} TCPHandler: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Array(UInt8) given: While processing mapFromArrays([[1, 2], [3, 4]], [4, 5, 6]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeMap.cpp:70: DB::DataTypeMap::assertKeyType() const @ 0x000000001b9901a7 in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypeMap.cpp:53: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x000000001b99033b in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeMap* std::construct_at[abi:v15000], std::allocator>>&, DB::DataTypeMap*>(DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x00000000103219e6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], std::allocator>>&, void, void>(std::allocator&, DB::DataTypeMap*, std::vector, std::allocator>>&) @ 0x0000000010321961 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], std::allocator>>&>(std::allocator, std::vector, std::allocator>>&) @ 0x00000000103218e7 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x0000000010321817 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], std::allocator>>&, void>(std::vector, std::allocator>>&) @ 0x00000000103217c6 in /usr/bin/clickhouse 13. /build/src/Functions/map.cpp:184: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000103213d8 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:23:58.756478 [ 8670 ] {b19d1422-06d8-4e12-b136-b5f1d4f292ee} executeQuery: Code: 43. DB::Exception: First argument for function mapFromArrays must be an Array: While processing mapFromArrays(map('a', 4, 'b', 4), ['aa', 'bb']). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50150) (comment: 01651_map_functions.sql) (in query: select mapFromArrays(map('a', 4, 'b', 4), ['aa', 'bb']) from numbers(2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:173: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010320fe7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:23:58.757349 [ 8670 ] {b19d1422-06d8-4e12-b136-b5f1d4f292ee} TCPHandler: Code: 43. DB::Exception: First argument for function mapFromArrays must be an Array: While processing mapFromArrays(map('a', 4, 'b', 4), ['aa', 'bb']). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:173: DB::(anonymous namespace)::FunctionMapFromArrays::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000010320fe7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:23:58.765146 [ 8670 ] {3036ecd4-cb86-4224-80e1-b29d102f1ffc} executeQuery: Code: 190. DB::Exception: Two arguments for function mapFromArrays must have equal sizes: While processing mapFromArrays(['aa', 'bb'], map('a', 4)). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50150) (comment: 01651_map_functions.sql) (in query: select mapFromArrays(['aa', 'bb'], map('a', 4));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:222: DB::(anonymous namespace)::FunctionMapFromArrays::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010320899 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:23:58.765998 [ 8670 ] {3036ecd4-cb86-4224-80e1-b29d102f1ffc} TCPHandler: Code: 190. DB::Exception: Two arguments for function mapFromArrays must have equal sizes: While processing mapFromArrays(['aa', 'bb'], map('a', 4)). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/map.cpp:222: DB::(anonymous namespace)::FunctionMapFromArrays::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000010320899 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:24:00.991474 [ 11806 ] {c83c003b-5632-4f87-ace5-e91f84b15aaf} executeQuery: Code: 43. DB::Exception: Values for sumMap cannot be summed, passed type Nullable(Nothing): While processing initializeAggregation('sumMap', [1, 2, 1], [1, 1, 1], [NULL, NULL, NULL]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59590) (comment: 01634_sum_map_nulls.sql) (in query: SELECT initializeAggregation('sumMap', [1, 2, 1], [1, 1, 1], [null, null, null]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:133: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x0000000015f571c2 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:83: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x0000000015f52f1c in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:445: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015f525b5 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/Helpers.h:18: DB::IAggregateFunction* DB::createWithNumericType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015e61e5f in /usr/bin/clickhouse 10. /build/src/AggregateFunctions/Helpers.h:146: DB::IAggregateFunction* DB::createWithNumericBasedType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015e61118 in /usr/bin/clickhouse 11. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:93: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015e5ef46 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 18. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionMap.cpp:124: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x0000000017b39b33 in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:200: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac01578 in /usr/bin/clickhouse 22. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 23. /build/src/Functions/initializeAggregation.cpp:86: DB::(anonymous namespace)::FunctionInitializeAggregation::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f1d8d6d in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:24:00.992534 [ 11806 ] {c83c003b-5632-4f87-ace5-e91f84b15aaf} TCPHandler: Code: 43. DB::Exception: Values for sumMap cannot be summed, passed type Nullable(Nothing): While processing initializeAggregation('sumMap', [1, 2, 1], [1, 1, 1], [NULL, NULL, NULL]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:133: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x0000000015f571c2 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:83: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, false, false, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x0000000015f52f1c in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:445: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015f525b5 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/Helpers.h:18: DB::IAggregateFunction* DB::createWithNumericType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015e61e5f in /usr/bin/clickhouse 10. /build/src/AggregateFunctions/Helpers.h:146: DB::IAggregateFunction* DB::createWithNumericBasedType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015e61118 in /usr/bin/clickhouse 11. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:93: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015e5ef46 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 18. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionMap.cpp:124: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x0000000017b39b33 in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:200: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac01578 in /usr/bin/clickhouse 22. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 23. /build/src/Functions/initializeAggregation.cpp:86: DB::(anonymous namespace)::FunctionInitializeAggregation::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f1d8d6d in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:24:01.847661 [ 11806 ] {bafc8627-662c-439f-8e5d-4a9f49574897} executeQuery: Code: 565. DB::Exception: Too many partitions to read. Current 2, max 1. (TOO_MANY_PARTITIONS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59614) (comment: 01632_max_partitions_to_read.sql) (in query: select * from p order by i;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity&>::type>, unsigned long&&, DB::SettingFieldNumber&) @ 0x000000001dfbbb8c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1155: DB::MergeTreeDataSelectExecutor::checkLimits(DB::MergeTreeData const&, DB::ReadFromMergeTree::AnalysisResult const&, std::shared_ptr const&) @ 0x000000001dfb3373 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1819: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea3f66 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:01.848397 [ 11806 ] {bafc8627-662c-439f-8e5d-4a9f49574897} TCPHandler: Code: 565. DB::Exception: Too many partitions to read. Current 2, max 1. (TOO_MANY_PARTITIONS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity&>::type>, unsigned long&&, DB::SettingFieldNumber&) @ 0x000000001dfbbb8c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1155: DB::MergeTreeDataSelectExecutor::checkLimits(DB::MergeTreeData const&, DB::ReadFromMergeTree::AnalysisResult const&, std::shared_ptr const&) @ 0x000000001dfb3373 in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1819: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea3f66 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:05.353144 [ 8669 ] {a10ae3fc-c236-4237-8cbf-c6fae79785ae} executeQuery: Code: 43. DB::Exception: Argument 'max_width' must not be NaN: While processing bar((greatCircleAngle(65537, 2, 1, 1) - 1) * 65535, 1048576, 1048577, nan). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59704) (comment: 01621_bar_nan_arguments.sql) (in query: SELECT bar((greatCircleAngle(65537, 2, 1, 1) - 1) * 65535, 1048576, 1048577, nan);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c576f7e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:86: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c576285 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:24:05.354386 [ 8669 ] {a10ae3fc-c236-4237-8cbf-c6fae79785ae} TCPHandler: Code: 43. DB::Exception: Argument 'max_width' must not be NaN: While processing bar((greatCircleAngle(65537, 2, 1, 1) - 1) * 65535, 1048576, 1048577, nan). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c576f7e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:86: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c576285 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:24:05.362838 [ 8669 ] {8d00e651-134a-45e0-bee6-3c753a62dbd5} executeQuery: Code: 43. DB::Exception: Argument 'max_width' must not be NaN: While processing bar(1, 1, 1, nan). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59704) (comment: 01621_bar_nan_arguments.sql) (in query: select bar(1,1,1,nan);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c576f7e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:86: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c576285 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:24:05.363672 [ 8669 ] {8d00e651-134a-45e0-bee6-3c753a62dbd5} TCPHandler: Code: 43. DB::Exception: Argument 'max_width' must not be NaN: While processing bar(1, 1, 1, nan). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c576f7e in /usr/bin/clickhouse 6. /build/src/Functions/bar.cpp:86: DB::(anonymous namespace)::FunctionBar::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c576285 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:24:06.274897 [ 8666 ] {4ec24db8-17a7-4e16-ae71-9aefa33e6393} executeQuery: Code: 43. DB::Exception: Values for sumMapWithOverflow cannot be summed, passed type Nullable(Nothing). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59720) (comment: 01621_summap_check_types.sql) (in query: SELECT [NULL], sumMapWithOverflow(events, [NULL], [[(NULL)]], counts) FROM sum_map_overflow;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:133: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, false, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x00000000163797c2 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:83: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, false, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000001637551c in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:445: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000016374bb5 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/Helpers.h:18: DB::IAggregateFunction* DB::createWithNumericType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015e66d1f in /usr/bin/clickhouse 10. /build/src/AggregateFunctions/Helpers.h:146: DB::IAggregateFunction* DB::createWithNumericBasedType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015e65fd8 in /usr/bin/clickhouse 11. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:93: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015e5fa26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 18. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:24:06.275921 [ 8666 ] {4ec24db8-17a7-4e16-ae71-9aefa33e6393} TCPHandler: Code: 43. DB::Exception: Values for sumMapWithOverflow cannot be summed, passed type Nullable(Nothing). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:133: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, false, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x00000000163797c2 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:83: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, false, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000001637551c in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionSumMap.h:445: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000016374bb5 in /usr/bin/clickhouse 9. /build/src/AggregateFunctions/Helpers.h:18: DB::IAggregateFunction* DB::createWithNumericType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015e66d1f in /usr/bin/clickhouse 10. /build/src/AggregateFunctions/Helpers.h:146: DB::IAggregateFunction* DB::createWithNumericBasedType::DispatchOnTupleArgument::F, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&>(DB::IDataType const&, std::shared_ptr&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000015e65fd8 in /usr/bin/clickhouse 11. /build/src/AggregateFunctions/AggregateFunctionSumMap.cpp:93: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015e5fa26 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 18. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 19. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:24:07.320746 [ 8666 ] {79574e55-e2f6-45f9-83d3-8e03f039efd9} executeQuery: Code: 524. DB::Exception: ALTER of key column enum_key from type Enum8('y' = 1, 'x' = 2, 'z' = 3) to type Enum16('y' = 1, 'x' = 2, 'z' = 3) is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59722) (comment: 01611_string_to_low_cardinality_key_alter.sql) (in query: ALTER TABLE table_with_lc_key MODIFY COLUMN enum_key Enum16('x' = 2, 'y' = 1, 'z' = 3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3392: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de9063c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:07.321761 [ 8666 ] {79574e55-e2f6-45f9-83d3-8e03f039efd9} TCPHandler: Code: 524. DB::Exception: ALTER of key column enum_key from type Enum8('y' = 1, 'x' = 2, 'z' = 3) to type Enum16('y' = 1, 'x' = 2, 'z' = 3) is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3392: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de9063c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:07.729963 [ 8666 ] {c0200bf5-a5d8-44ac-8afe-413f2f5a672c} executeQuery: Code: 524. DB::Exception: ALTER of key column int_key from type Int8 to type Enum8('y' = 1, 'x' = 2) is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59722) (comment: 01611_string_to_low_cardinality_key_alter.sql) (in query: ALTER TABLE table_with_string_key MODIFY COLUMN int_key Enum8('y' = 1, 'x' = 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3392: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de9063c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:07.730592 [ 8666 ] {c0200bf5-a5d8-44ac-8afe-413f2f5a672c} TCPHandler: Code: 524. DB::Exception: ALTER of key column int_key from type Int8 to type Enum8('y' = 1, 'x' = 2) is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3392: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de9063c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:10.283430 [ 8666 ] {c0c9ef5b-9529-452f-9b2b-1c14367dfe01} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toModifiedJulianDayOrNull('\0'), ''): While processing (SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '')) AS n: While processing tryBase64Decode((SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '')) AS n, (SELECT regionIn('l. ')) AS srocpnuv). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59802) (comment: 01602_modified_julian_day_msan.sql) (in query: SELECT tryBase64Decode(( SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '') ) AS n, ( SELECT regionIn('l. ') ) AS srocpnuv);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d93e8dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedee3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:24:10.285136 [ 8666 ] {c0c9ef5b-9529-452f-9b2b-1c14367dfe01} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toModifiedJulianDayOrNull('\0'), ''): While processing (SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '')) AS n: While processing tryBase64Decode((SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '')) AS n, (SELECT regionIn('l. ')) AS srocpnuv). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d93e8dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedee3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:24:10.297413 [ 8666 ] {45821bd8-765f-4f30-b5a8-81809a18423c} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toModifiedJulianDayOrNull('\0'), ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59802) (comment: 01602_modified_julian_day_msan.sql) (in query: SELECT countSubstrings(toModifiedJulianDayOrNull('\0'), '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d93e8dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedee3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:24:10.302369 [ 8666 ] {45821bd8-765f-4f30-b5a8-81809a18423c} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toModifiedJulianDayOrNull('\0'), ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d93e8dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedee3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:24:10.310225 [ 8666 ] {be5bd588-109b-4d17-8538-759ae5a94ae7} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toInt32OrNull('123qwe123'), ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59802) (comment: 01602_modified_julian_day_msan.sql) (in query: SELECT countSubstrings(toInt32OrNull('123qwe123'), '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d93e8dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedee3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:24:10.311135 [ 8666 ] {be5bd588-109b-4d17-8538-759ae5a94ae7} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of argument of function countSubstrings: While processing countSubstrings(toInt32OrNull('123qwe123'), ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d93e8dd in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedee3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:24:11.964841 [ 8669 ] {1b9849f2-6d21-499b-a0e9-a63d57239c8d} executeQuery: Code: 44. DB::Exception: Constant columns are not supported at the moment. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53360) (comment: 01602_runningConcurrency.sql) (in query: -- Constant columns are currently not supported. SELECT runningConcurrency(toDate(arrayJoin([1, 2])), toDate('2000-01-01'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [49]) @ 0x000000000c4c1dfe in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:40: DB::ExecutableFunctionRunningConcurrency>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124efbd5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 14. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:11.965717 [ 8669 ] {1b9849f2-6d21-499b-a0e9-a63d57239c8d} TCPHandler: Code: 44. DB::Exception: Constant columns are not supported at the moment. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [49]) @ 0x000000000c4c1dfe in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:40: DB::ExecutableFunctionRunningConcurrency>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124efbd5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 14. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:12.105031 [ 8669 ] {02a1416a-56fc-4d65-ab92-752e127b1fc3} executeQuery: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency('strings are', 'not supported'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53360) (comment: 01602_runningConcurrency.sql) (in query: -- Unsupported data types SELECT runningConcurrency('strings are', 'not supported');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x00000000124ef28d in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x00000000124eeffa in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:451: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee07e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 2024.12.17 01:24:12.106034 [ 8669 ] {02a1416a-56fc-4d65-ab92-752e127b1fc3} TCPHandler: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency('strings are', 'not supported'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x00000000124ef28d in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x00000000124eeffa in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:451: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee07e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 2024.12.17 01:24:12.114008 [ 8669 ] {5c0b5174-07ba-4202-bafd-caaf36b98c57} executeQuery: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency(NULL, NULL). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53360) (comment: 01602_runningConcurrency.sql) (in query: SELECT runningConcurrency(NULL, NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x00000000124ef28d in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x00000000124eeffa in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:451: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee07e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 2024.12.17 01:24:12.115135 [ 8669 ] {5c0b5174-07ba-4202-bafd-caaf36b98c57} TCPHandler: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency(NULL, NULL). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x00000000124ef28d in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x00000000124eeffa in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:451: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee07e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 2024.12.17 01:24:12.124770 [ 8669 ] {4de97cbb-1f52-4981-a433-3836a280ee05} executeQuery: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency(CAST(NULL, 'Nullable(DateTime)'), CAST(NULL, 'Nullable(DateTime)')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53360) (comment: 01602_runningConcurrency.sql) (in query: SELECT runningConcurrency(CAST(NULL, 'Nullable(DateTime)'), CAST(NULL, 'Nullable(DateTime)'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x00000000124ef28d in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x00000000124eeffa in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:451: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee07e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 2024.12.17 01:24:12.125849 [ 8669 ] {4de97cbb-1f52-4981-a433-3836a280ee05} TCPHandler: Code: 43. DB::Exception: Arguments for function runningConcurrency must be Date, DateTime, or DateTime64.: While processing runningConcurrency(CAST(NULL, 'Nullable(DateTime)'), CAST(NULL, 'Nullable(DateTime)')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:148: void DB::RunningConcurrencyOverloadResolver>::dispatchForSourceType>::buildImpl(std::vector> const&, std::shared_ptr const&) const::'lambda'(auto)>(DB::IDataType const&, auto&&) const @ 0x00000000124ef28d in /usr/bin/clickhouse 7. /build/src/Functions/runningConcurrency.cpp:175: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x00000000124eeffa in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:451: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee07e in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 2024.12.17 01:24:12.268312 [ 8669 ] {b711b6ad-68ed-4a1d-9b4c-92dad250eac7} executeQuery: Code: 43. DB::Exception: Function runningConcurrency must be called with two arguments having the same type.: While processing runningConcurrency(toDate('2000-01-01'), toDateTime('2000-01-01 00:00:00')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53360) (comment: 01602_runningConcurrency.sql) (in query: -- Mismatching data types SELECT runningConcurrency(toDate('2000-01-01'), toDateTime('2000-01-01 00:00:00'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:170: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x00000000124eee2d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:451: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee07e in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 2024.12.17 01:24:12.269360 [ 8669 ] {b711b6ad-68ed-4a1d-9b4c-92dad250eac7} TCPHandler: Code: 43. DB::Exception: Function runningConcurrency must be called with two arguments having the same type.: While processing runningConcurrency(toDate('2000-01-01'), toDateTime('2000-01-01 00:00:00')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:170: DB::RunningConcurrencyOverloadResolver>::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x00000000124eee2d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:451: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee07e in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 2024.12.17 01:24:12.390384 [ 8669 ] {72d4d45a-f9df-4d03-8a6c-c7f1cf676907} executeQuery: Code: 117. DB::Exception: Incorrect order of events: '2000-01-02' > '2000-01-01': While processing runningConcurrency(toDate('2000-01-02'), toDate('2000-01-01')). (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53360) (comment: 01602_runningConcurrency.sql) (in query: -- begin > end SELECT runningConcurrency(toDate('2000-01-02'), toDate('2000-01-01'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x00000000124f0b6c in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:63: DB::ExecutableFunctionRunningConcurrency>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124f0655 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:24:12.391447 [ 8669 ] {72d4d45a-f9df-4d03-8a6c-c7f1cf676907} TCPHandler: Code: 117. DB::Exception: Incorrect order of events: '2000-01-02' > '2000-01-01': While processing runningConcurrency(toDate('2000-01-02'), toDate('2000-01-01')). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x00000000124f0b6c in /usr/bin/clickhouse 6. /build/src/Functions/runningConcurrency.cpp:63: DB::ExecutableFunctionRunningConcurrency>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124f0655 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:24:13.339959 [ 3551 ] {8919bc0c-c1f6-4570-9fc7-eccd26bcc181} executeQuery: Code: 63. DB::Exception: Aggregate function sequenceNextNode is experimental. Set `allow_experimental_funnel_functions` setting to enable it. (UNKNOWN_AGGREGATE_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50106) (comment: 01656_sequence_next_node_long.sql) (in query: SELECT '(backward, first_match, 1, B->C)', id, sequenceNextNode('backward', 'first_match')(dt, action, referrer = '2', action = 'B', action = 'A') AS next_node FROM test_base_condition GROUP BY id ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSequenceNextNode.cpp:45: DB::(anonymous namespace)::createAggregateFunctionSequenceNode(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017827a62 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:24:13.341248 [ 3551 ] {8919bc0c-c1f6-4570-9fc7-eccd26bcc181} TCPHandler: Code: 63. DB::Exception: Aggregate function sequenceNextNode is experimental. Set `allow_experimental_funnel_functions` setting to enable it. (UNKNOWN_AGGREGATE_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSequenceNextNode.cpp:45: DB::(anonymous namespace)::createAggregateFunctionSequenceNode(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017827a62 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:24:15.359273 [ 8669 ] {e1451bea-2d61-44e1-aeb2-72d10935ca62} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_bz1zo7d7` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2025-12-10 03:25:13. Name of quota template: `quota_by_ip_test_bz1zo7d7`. (QUOTA_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36160) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a2915 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a167b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a15e8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af32f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:15.360679 [ 8669 ] {e1451bea-2d61-44e1-aeb2-72d10935ca62} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_bz1zo7d7` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2025-12-10 03:25:13. Name of quota template: `quota_by_ip_test_bz1zo7d7`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a2915 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a167b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a15e8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af32f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:24:15.363917 [ 8669 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x00000000249466c7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x000000002494a807 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000002476136d in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:927: Poco::Net::SocketImpl::error(int) @ 0x0000000024761a04 in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x00000000247625f2 in /usr/bin/clickhouse 8. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x000000002476a29e in /usr/bin/clickhouse 9. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x00000000247660f2 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x0000000024740b6e in /usr/bin/clickhouse 11. /build/base/poco/Net/src/HTTPChunkedStream.cpp:57: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x000000002472a6ed in /usr/bin/clickhouse 12. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x000000002472b0ba in /usr/bin/clickhouse 13. /build/base/poco/Net/src/HTTPChunkedStream.cpp:208: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x000000002472b7a1 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:207: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x000000002472b7e0 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e6694ed in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e669495 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e669479 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000001e6692ee in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x000000000b191614 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x000000000b1915b9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x000000001e5cc04c in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000001e6637db in /usr/bin/clickhouse 23. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x000000001e663318 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:24:15.375846 [ 8669 ] {61c22ece-ef08-438a-a242-b5eaaa8bab0a} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_bz1zo7d7` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2025-12-10 03:25:13. Name of quota template: `quota_by_ip_test_bz1zo7d7`. (QUOTA_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36162) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a2915 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a167b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a15e8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af32f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:15.382221 [ 8669 ] {61c22ece-ef08-438a-a242-b5eaaa8bab0a} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_bz1zo7d7` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2025-12-10 03:25:13. Name of quota template: `quota_by_ip_test_bz1zo7d7`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a2915 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a167b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a15e8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af32f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:24:15.403841 [ 8669 ] {69214826-e253-4b8f-909e-e2e72001a8df} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_bz1zo7d7` for 31556952s has been exceeded: queries = 4/1. Interval will end at 2025-12-10 03:25:13. Name of quota template: `quota_by_ip_test_bz1zo7d7`. (QUOTA_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36168) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a2915 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a167b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a15e8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af32f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:15.405720 [ 8669 ] {69214826-e253-4b8f-909e-e2e72001a8df} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_ip_test_bz1zo7d7` for 31556952s has been exceeded: queries = 4/1. Interval will end at 2025-12-10 03:25:13. Name of quota template: `quota_by_ip_test_bz1zo7d7`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a2915 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a167b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a15e8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af32f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:24:15.480012 [ 8669 ] {96d3f0ff-1e60-4a4f-8ee0-0fc8379e3ead} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_bz1zo7d7` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2025-05-15 17:19:52. Name of quota template: `quota_by_forwarded_ip_test_bz1zo7d7`. (QUOTA_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36176) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a2915 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a167b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a15e8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af32f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:15.481223 [ 8669 ] {96d3f0ff-1e60-4a4f-8ee0-0fc8379e3ead} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_bz1zo7d7` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2025-05-15 17:19:52. Name of quota template: `quota_by_forwarded_ip_test_bz1zo7d7`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a2915 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a167b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a15e8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af32f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:24:15.684155 [ 11801 ] {20205c51-a7e4-40d3-ae74-47c51aced028} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_bz1zo7d7` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2025-05-15 17:19:52. Name of quota template: `quota_by_forwarded_ip_test_bz1zo7d7`. (QUOTA_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36178) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a2915 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a167b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a15e8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af32f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:15.684160 [ 8669 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 104, Connection reset by peer, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:22: Poco::Exception::Exception(int) @ 0x00000000249431fc in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(int) @ 0x000000002494667f in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(int) @ 0x000000002494a7bf in /usr/bin/clickhouse 5. /build/base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(int) @ 0x000000002475161f in /usr/bin/clickhouse 6. /build/base/poco/Net/src/NetException.cpp:31: Poco::Net::ConnectionResetException::ConnectionResetException(int) @ 0x000000002475283f in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:989: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000024760da4 in /usr/bin/clickhouse 8. /build/base/poco/Net/src/SocketImpl.cpp:927: Poco::Net::SocketImpl::error(int) @ 0x0000000024761a04 in /usr/bin/clickhouse 9. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x00000000247625f2 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x000000002476a29e in /usr/bin/clickhouse 11. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x00000000247660f2 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x0000000024740b6e in /usr/bin/clickhouse 13. /build/base/poco/Net/src/HTTPChunkedStream.cpp:57: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x000000002472a6ed in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x000000002472b0ba in /usr/bin/clickhouse 15. /build/base/poco/Net/src/HTTPChunkedStream.cpp:208: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x000000002472b7a1 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/HTTPChunkedStream.cpp:207: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x000000002472b7e0 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e6694ed in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e669495 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e669479 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000001e6692ee in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x000000000b191614 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x000000000b1915b9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x000000001e5cc04c in /usr/bin/clickhouse 24. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000001e6637db in /usr/bin/clickhouse 25. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x000000001e663318 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:24:15.685627 [ 11801 ] {20205c51-a7e4-40d3-ae74-47c51aced028} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_bz1zo7d7` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2025-05-15 17:19:52. Name of quota template: `quota_by_forwarded_ip_test_bz1zo7d7`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a2915 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a167b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a15e8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af32f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:24:15.778473 [ 11801 ] {e8c797c1-fdae-480f-80a6-63d20de7dcb1} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_bz1zo7d7` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2025-08-08 06:58:49. Name of quota template: `quota_by_forwarded_ip_test_bz1zo7d7`. (QUOTA_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36196) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a2915 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a167b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a15e8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af32f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:15.779706 [ 11801 ] {e8c797c1-fdae-480f-80a6-63d20de7dcb1} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_bz1zo7d7` for 31556952s has been exceeded: queries = 2/1. Interval will end at 2025-08-08 06:58:49. Name of quota template: `quota_by_forwarded_ip_test_bz1zo7d7`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a2915 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a167b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a15e8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af32f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:24:15.796120 [ 11801 ] {a7cc7f3c-0ebe-4561-b2ed-1b0875a16b77} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_bz1zo7d7` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2025-08-08 06:58:49. Name of quota template: `quota_by_forwarded_ip_test_bz1zo7d7`. (QUOTA_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36198) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a2915 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a167b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a15e8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af32f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:15.797366 [ 11801 ] {a7cc7f3c-0ebe-4561-b2ed-1b0875a16b77} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_bz1zo7d7` for 31556952s has been exceeded: queries = 3/1. Interval will end at 2025-08-08 06:58:49. Name of quota template: `quota_by_forwarded_ip_test_bz1zo7d7`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a2915 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a167b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a15e8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af32f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:24:15.937018 [ 11801 ] {c734c10c-cdf5-4692-922b-d09ccd3a981e} executeQuery: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_bz1zo7d7` for 31556952s has been exceeded: queries = 4/1. Interval will end at 2025-08-08 06:58:49. Name of quota template: `quota_by_forwarded_ip_test_bz1zo7d7`. (QUOTA_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36202) (comment: 01600_quota_by_forwarded_ip.sh) (in query: SELECT count() FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a2915 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a167b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a15e8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af32f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:15.937067 [ 11807 ] {3ab84d98-7fce-4035-bb13-6e451f17c4c9} executeQuery: Code: 43. DB::Exception: Illegal type UInt8 of first argument (haystack) of function countMatches. Must be String/FixedString.: While processing countMatches(1, 'foo'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01595_countMatches.sql) (in query: select countMatches(1, 'foo') from numbers(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/countMatches.h:43: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseSensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d93ae02 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:24:15.938463 [ 11807 ] {3ab84d98-7fce-4035-bb13-6e451f17c4c9} TCPHandler: Code: 43. DB::Exception: Illegal type UInt8 of first argument (haystack) of function countMatches. Must be String/FixedString.: While processing countMatches(1, 'foo'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/countMatches.h:43: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseSensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d93ae02 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:24:15.938679 [ 11801 ] {c734c10c-cdf5-4692-922b-d09ccd3a981e} DynamicQueryHandler: Code: 201. DB::Exception: Quota for user `quoted_by_forwarded_ip_test_bz1zo7d7` for 31556952s has been exceeded: queries = 4/1. Interval will end at 2025-08-08 06:58:49. Name of quota template: `quota_by_forwarded_ip_test_bz1zo7d7`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a2915 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a167b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a15e8 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1054: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af32f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:24:16.086173 [ 11807 ] {aeafac56-b1ed-4a7c-945a-e95ea636fe2e} executeQuery: Code: 44. DB::Exception: The second argument of function countMatches should be a constant string with the pattern: While processing countMatches('foobarfoo', toString(number)). (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53422) (comment: 01595_countMatches.sql) (in query: select countMatches('foobarfoo', toString(number)) from numbers(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/countMatches.h:48: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseSensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d93af7c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:24:16.087527 [ 11807 ] {aeafac56-b1ed-4a7c-945a-e95ea636fe2e} TCPHandler: Code: 44. DB::Exception: The second argument of function countMatches should be a constant string with the pattern: While processing countMatches('foobarfoo', toString(number)). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/countMatches.h:48: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseSensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d93af7c in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:24:17.521198 [ 8669 ] {2ae4f92d-687e-46cf-bf79-1c0a39cb105b} executeQuery: Code: 252. DB::Exception: Too many partitions for single INSERT block (more than 1). The limit is controlled by 'max_partitions_per_insert_block' setting. Large number of partitions is a common misconception. It will lead to severe negative performance impact, including slow server startup, slow INSERT queries and slow SELECT queries. Recommended total number of partitions for a table is under 1000..10000. Please note, that partitioning is not intended to speed up SELECT queries (ORDER BY key is sufficient to make range queries fast). Partitions are intended for data manipulation (DROP PARTITION, etc). (TOO_MANY_PARTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53430) (comment: 01593_insert_settings.sql) (in query: insert into data_01593 select * from numbers_mt(10) settings max_partitions_per_insert_block=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bba33 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:85: DB::(anonymous namespace)::buildScatterSelector(std::vector> const&, DB::PODArray, 0ul, 0ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long, std::shared_ptr) @ 0x000000001e1e505d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:262: DB::MergeTreeDataWriter::splitBlockIntoParts(DB::Block const&, unsigned long, std::shared_ptr const&, std::shared_ptr, std::shared_ptr) @ 0x000000001e1e35dc in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeSink.cpp:67: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000001e3a74f0 in /usr/bin/clickhouse 9. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cd6bd in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6cd54a in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cd4f5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cd4d9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6cd43d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6cd347 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6cd2b5 in /usr/bin/clickhouse 2024.12.17 01:24:17.523158 [ 8669 ] {2ae4f92d-687e-46cf-bf79-1c0a39cb105b} TCPHandler: Code: 252. DB::Exception: Too many partitions for single INSERT block (more than 1). The limit is controlled by 'max_partitions_per_insert_block' setting. Large number of partitions is a common misconception. It will lead to severe negative performance impact, including slow server startup, slow INSERT queries and slow SELECT queries. Recommended total number of partitions for a table is under 1000..10000. Please note, that partitioning is not intended to speed up SELECT queries (ORDER BY key is sufficient to make range queries fast). Partitions are intended for data manipulation (DROP PARTITION, etc). (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bba33 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:85: DB::(anonymous namespace)::buildScatterSelector(std::vector> const&, DB::PODArray, 0ul, 0ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long, std::shared_ptr) @ 0x000000001e1e505d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeDataWriter.cpp:262: DB::MergeTreeDataWriter::splitBlockIntoParts(DB::Block const&, unsigned long, std::shared_ptr const&, std::shared_ptr, std::shared_ptr) @ 0x000000001e1e35dc in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeSink.cpp:67: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000001e3a74f0 in /usr/bin/clickhouse 9. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cd6bd in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6cd54a in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cd4f5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cd4d9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6cd43d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6cd347 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6cd2b5 in /usr/bin/clickhouse 2024.12.17 01:24:17.541614 [ 16323 ] {e7f7a817-1793-49bc-adb1-65b223f5099b} MergeTreeDataWriter: INSERT query from initial_user default (query ID: e7f7a817-1793-49bc-adb1-65b223f5099b) inserted a block that created parts in 10 partitions. This is being logged rather than throwing an exception as throw_on_max_partitions_per_insert_block=false. 2024.12.17 01:24:18.835551 [ 11801 ] {8ffdb477-1ffe-40c4-8668-604a787f59be} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 512.00 GiB (attempt to allocate chunk of 549756555096 bytes), maximum: 9.31 GiB.: while executing 'FUNCTION repeat(toString(number) :: 2, 1000000 :: 1) -> repeat(toString(number), 1000000) String : 3'. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53454) (comment: 01586_columns_pruning.sql) (in query: -- Unneeded column cannot be removed from subquery and the query is out of memory SELECT count() FROM (SELECT number, groupArray(repeat(toString(number), 1000000)) AS agg FROM numbers(1000000) GROUP BY number HAVING notEmpty(agg));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Functions/repeat.cpp:61: void DB::(anonymous namespace)::RepeatImpl::vectorStrConstRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned int) @ 0x00000000124a459a in /usr/bin/clickhouse 15. /build/src/Functions/repeat.cpp:217: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x00000000124a341f in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&&) @ 0x00000000124a2e67 in /usr/bin/clickhouse 17. /build/src/Functions/repeat.cpp:172: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x00000000124a2bfd in /usr/bin/clickhouse 18. /build/src/Functions/repeat.cpp:211: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124a243a in /usr/bin/clickhouse 19. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 2024.12.17 01:24:18.840602 [ 11801 ] {8ffdb477-1ffe-40c4-8668-604a787f59be} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 512.00 GiB (attempt to allocate chunk of 549756555096 bytes), maximum: 9.31 GiB.: while executing 'FUNCTION repeat(toString(number) :: 2, 1000000 :: 1) -> repeat(toString(number), 1000000) String : 3'. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Functions/repeat.cpp:61: void DB::(anonymous namespace)::RepeatImpl::vectorStrConstRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned int) @ 0x00000000124a459a in /usr/bin/clickhouse 15. /build/src/Functions/repeat.cpp:217: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x00000000124a341f in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&&) @ 0x00000000124a2e67 in /usr/bin/clickhouse 17. /build/src/Functions/repeat.cpp:172: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x00000000124a2bfd in /usr/bin/clickhouse 18. /build/src/Functions/repeat.cpp:211: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124a243a in /usr/bin/clickhouse 19. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 25. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 26. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 27. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 2024.12.17 01:24:25.350770 [ 6046 ] {c89650a1-5946-4d06-b72a-ac169720e73f} executeQuery: Code: 42. DB::Exception: Aggregate function any requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44968) (comment: 01560_crash_in_agg_empty_arglist.sql) (in query: SELECT any() as t, substring(query, 1, 70) AS query, avg(memory_usage) usage, count() count FROM system.query_log WHERE current_database = currentDatabase() AND event_date >= toDate(1604295323) AND event_time >= toDateTime(1604295323) AND type in (1,2,3,4) and initial_user in ('') and('all' = 'all' or(positionCaseInsensitive(query, 'all') = 1)) GROUP BY query ORDER BY usage desc LIMIT 5;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8abc1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:23: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e0f55 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e0d6d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:108: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001af4388a in /usr/bin/clickhouse 21. /build/src/Storages/MergeTree/KeyCondition.cpp:724: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001ddc94ed in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:83: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x000000001e1d602d in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:663: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad42f in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 2024.12.17 01:24:25.352060 [ 6046 ] {c89650a1-5946-4d06-b72a-ac169720e73f} TCPHandler: Code: 42. DB::Exception: Aggregate function any requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8abc1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:23: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e0f55 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e0d6d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:108: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001af4388a in /usr/bin/clickhouse 21. /build/src/Storages/MergeTree/KeyCondition.cpp:724: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001ddc94ed in /usr/bin/clickhouse 22. /build/src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp:83: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x000000001e1d602d in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:663: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad42f in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 2024.12.17 01:24:33.350499 [ 8665 ] {a0d9e9f6-39d4-4948-9e5a-a2b2f23485dc} executeQuery: Code: 53. DB::Exception: CAST AS Map can only be performed from tuple of arrays with equal sizes.: While processing CAST(([2, 1, 1023], ['', '']), 'Map(UInt8, String)') AS map, map[10]. (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45088) (comment: 01550_create_map_type.sql) (in query: SELECT CAST(([2, 1, 1023], ['', '']), 'Map(UInt8, String)') AS map, map[10] -- { serverError 53} ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [73]) @ 0x000000000b65117e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3432: DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8e2a91 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e2506 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e24a0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e2440 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8e23eb in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:24:33.351452 [ 8665 ] {a0d9e9f6-39d4-4948-9e5a-a2b2f23485dc} TCPHandler: Code: 53. DB::Exception: CAST AS Map can only be performed from tuple of arrays with equal sizes.: While processing CAST(([2, 1, 1023], ['', '']), 'Map(UInt8, String)') AS map, map[10]. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [73]) @ 0x000000000b65117e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3432: DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8e2a91 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e2506 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e24a0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e2440 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createTupleToMapWrapper(std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8e23eb in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:24:34.171369 [ 8665 ] {3116734b-8626-4213-b299-5e222ed23c2d} executeQuery: Code: 44. DB::Exception: Having clause cannot contain arrayJoin. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41846) (comment: 01548_with_totals_having.sql) (in query: SELECT * FROM numbers(4) GROUP BY number WITH TOTALS HAVING sum(number) <= arrayJoin([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [39]) @ 0x000000000c57707e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:192: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x000000001ecb1392 in /usr/bin/clickhouse 7. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 8. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x000000001ecb0bdd in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 2024.12.17 01:24:34.174533 [ 8665 ] {3116734b-8626-4213-b299-5e222ed23c2d} TCPHandler: Code: 44. DB::Exception: Having clause cannot contain arrayJoin. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [39]) @ 0x000000000c57707e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:192: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x000000001ecb1392 in /usr/bin/clickhouse 7. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 8. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x000000001ecb0bdd in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 2024.12.17 01:24:34.210820 [ 8665 ] {06c481d0-a473-4b19-a15f-81b9c5864763} executeQuery: Code: 44. DB::Exception: Having clause cannot contain arrayJoin. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41846) (comment: 01548_with_totals_having.sql) (in query: SELECT * FROM numbers(4) GROUP BY number WITH TOTALS HAVING sum(number) <= arrayJoin([3, 2, 1, 0]) ORDER BY number;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [39]) @ 0x000000000c57707e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:192: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x000000001ecb1392 in /usr/bin/clickhouse 7. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 8. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x000000001ecb0bdd in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 2024.12.17 01:24:34.215000 [ 8665 ] {06c481d0-a473-4b19-a15f-81b9c5864763} TCPHandler: Code: 44. DB::Exception: Having clause cannot contain arrayJoin. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [39]) @ 0x000000000c57707e in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:192: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x000000001ecb1392 in /usr/bin/clickhouse 7. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 8. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x000000001ecb0bdd in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 2024.12.17 01:24:36.489794 [ 6046 ] {8fa52fe2-d4ed-4543-928e-f093568b3aee} executeQuery: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(-678942). (CANNOT_FORMAT_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41888) (comment: 01544_fromModifiedJulianDay.sql) (in query: SELECT fromModifiedJulianDay(-678942);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000bc60e7e in /usr/bin/clickhouse 6. /build/src/Functions/GregorianDate.cpp:280: DB::OrdinalDate::init(long) @ 0x000000000c3d7511 in /usr/bin/clickhouse 7. /build/src/Functions/GregorianDate.cpp:319: DB::OrdinalDate::OrdinalDate(long) @ 0x000000000c3d7769 in /usr/bin/clickhouse 8. /build/src/Functions/GregorianDate.cpp:168: DB::GregorianDate::init(long) @ 0x000000000c3d6c45 in /usr/bin/clickhouse 9. /build/src/Functions/GregorianDate.cpp:193: DB::GregorianDate::GregorianDate(long) @ 0x000000000c3d6f0b in /usr/bin/clickhouse 10. /build/src/Functions/fromModifiedJulianDay.cpp:66: DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e293a61 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 2024.12.17 01:24:36.490675 [ 6046 ] {8fa52fe2-d4ed-4543-928e-f093568b3aee} TCPHandler: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(-678942). (CANNOT_FORMAT_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000bc60e7e in /usr/bin/clickhouse 6. /build/src/Functions/GregorianDate.cpp:280: DB::OrdinalDate::init(long) @ 0x000000000c3d7511 in /usr/bin/clickhouse 7. /build/src/Functions/GregorianDate.cpp:319: DB::OrdinalDate::OrdinalDate(long) @ 0x000000000c3d7769 in /usr/bin/clickhouse 8. /build/src/Functions/GregorianDate.cpp:168: DB::GregorianDate::init(long) @ 0x000000000c3d6c45 in /usr/bin/clickhouse 9. /build/src/Functions/GregorianDate.cpp:193: DB::GregorianDate::GregorianDate(long) @ 0x000000000c3d6f0b in /usr/bin/clickhouse 10. /build/src/Functions/fromModifiedJulianDay.cpp:66: DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e293a61 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 2024.12.17 01:24:36.590693 [ 6046 ] {d7627406-5e50-47bd-9314-94fa10b55c1f} executeQuery: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(2973484). (CANNOT_FORMAT_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41888) (comment: 01544_fromModifiedJulianDay.sql) (in query: SELECT fromModifiedJulianDay(2973484);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000bc60e7e in /usr/bin/clickhouse 6. /build/src/Functions/GregorianDate.cpp:280: DB::OrdinalDate::init(long) @ 0x000000000c3d7511 in /usr/bin/clickhouse 7. /build/src/Functions/GregorianDate.cpp:319: DB::OrdinalDate::OrdinalDate(long) @ 0x000000000c3d7769 in /usr/bin/clickhouse 8. /build/src/Functions/GregorianDate.cpp:168: DB::GregorianDate::init(long) @ 0x000000000c3d6c45 in /usr/bin/clickhouse 9. /build/src/Functions/GregorianDate.cpp:193: DB::GregorianDate::GregorianDate(long) @ 0x000000000c3d6f0b in /usr/bin/clickhouse 10. /build/src/Functions/fromModifiedJulianDay.cpp:66: DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e285322 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 2024.12.17 01:24:36.591626 [ 6046 ] {d7627406-5e50-47bd-9314-94fa10b55c1f} TCPHandler: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(2973484). (CANNOT_FORMAT_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [62]) @ 0x000000000bc60e7e in /usr/bin/clickhouse 6. /build/src/Functions/GregorianDate.cpp:280: DB::OrdinalDate::init(long) @ 0x000000000c3d7511 in /usr/bin/clickhouse 7. /build/src/Functions/GregorianDate.cpp:319: DB::OrdinalDate::OrdinalDate(long) @ 0x000000000c3d7769 in /usr/bin/clickhouse 8. /build/src/Functions/GregorianDate.cpp:168: DB::GregorianDate::init(long) @ 0x000000000c3d6c45 in /usr/bin/clickhouse 9. /build/src/Functions/GregorianDate.cpp:193: DB::GregorianDate::GregorianDate(long) @ 0x000000000c3d6f0b in /usr/bin/clickhouse 10. /build/src/Functions/fromModifiedJulianDay.cpp:66: DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e285322 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 2024.12.17 01:24:39.511307 [ 8665 ] {eb2e7788-2349-4113-a779-f2af15a9f4fa} executeQuery: Code: 47. DB::Exception: Unknown identifier 'ns' in aggregate function 'sum(ns)'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41954) (comment: 01538_fuzz_aggregate.sql) (in query: SELECT count(), sum(ns) FROM ( SELECT intDiv(number, NULL) AS k FROM system.numbers_mt GROUP BY k ) ARRAY JOIN ns;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:571: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfaafb7 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:39.512184 [ 8665 ] {eb2e7788-2349-4113-a779-f2af15a9f4fa} TCPHandler: Code: 47. DB::Exception: Unknown identifier 'ns' in aggregate function 'sum(ns)'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:571: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfaafb7 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:40.797677 [ 8665 ] {e9a649ff-3749-41dc-bf4c-80407d0d103b} executeQuery: Code: 69. DB::Exception: Scale argument for rounding function is too large: While processing round(toDecimal32(1, 0), -9223372036854775806). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39816) (comment: 01535_decimal_round_scale_overflow_check.sql) (in query: SELECT round(toDecimal32(1, 0), -9223372036854775806);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [50]) @ 0x000000000b2163de in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:569: DB::FunctionRounding::getScaleArg(std::vector> const&) @ 0x000000000c158435 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsRound.h:582: DB::FunctionRounding::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c157b35 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 2024.12.17 01:24:40.798644 [ 8665 ] {e9a649ff-3749-41dc-bf4c-80407d0d103b} TCPHandler: Code: 69. DB::Exception: Scale argument for rounding function is too large: While processing round(toDecimal32(1, 0), -9223372036854775806). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [50]) @ 0x000000000b2163de in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:569: DB::FunctionRounding::getScaleArg(std::vector> const&) @ 0x000000000c158435 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsRound.h:582: DB::FunctionRounding::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c157b35 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 2024.12.17 01:24:46.099919 [ 2921 ] {1753fc5e-fabe-4564-9fb0-fcce977cffab} executeQuery: Code: 36. DB::Exception: Materialized view test_qx2oa26b.v cannot point to itself. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39896) (comment: 01527_materialized_view_stack_overflow.sql) (in query: CREATE MATERIALIZED VIEW v to v AS SELECT c FROM t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMaterializedView.cpp:97: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x000000001d7282bf in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72e3fa in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72e16d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72de39 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72dc8e in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72dbf4 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMaterializedView.cpp:491: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d72d02d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72cfbd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72cf5d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001d72cf1d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001d72cee5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:24:46.100991 [ 2921 ] {1753fc5e-fabe-4564-9fb0-fcce977cffab} TCPHandler: Code: 36. DB::Exception: Materialized view test_qx2oa26b.v cannot point to itself. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMaterializedView.cpp:97: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x000000001d7282bf in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72e3fa in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72e16d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72de39 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72dc8e in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72dbf4 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMaterializedView.cpp:491: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d72d02d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72cfbd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72cf5d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001d72cf1d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001d72cee5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:24:46.230432 [ 2921 ] {d44b3d9d-8ff6-44aa-8853-7c2c4efeee4f} executeQuery: Code: 60. DB::Exception: Table test_qx2oa26b.v does not exist. Maybe you meant t?. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39896) (comment: 01527_materialized_view_stack_overflow.sql) (in query: CREATE MATERIALIZED VIEW v to t AS SELECT * FROM v;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb52113 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:777: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9190 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:46.231288 [ 2921 ] {d44b3d9d-8ff6-44aa-8853-7c2c4efeee4f} TCPHandler: Code: 60. DB::Exception: Table test_qx2oa26b.v does not exist. Maybe you meant t?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb52113 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:777: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e9190 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:47.264420 [ 2921 ] {1d68b2cf-6144-41f7-b0cb-97d4cf466a3e} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f33188e5000, frame address: 0x7f3318ce4ec0, stack size: 4194624, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39896) (comment: 01527_materialized_view_stack_overflow.sql) (in query: INSERT INTO t1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013963a64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139635dc in /usr/bin/clickhouse 7. /build/src/Interpreters/InDepthNodeVisitor.h:43: void DB::InDepthNodeVisitor>, &DB::NeedChild::all(std::shared_ptr const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfa637d in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>, &DB::NeedChild::all(std::shared_ptr const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfa1185 in /usr/bin/clickhouse 9. /build/src/Interpreters/TreeRewriter.cpp:1366: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9d832 in /usr/bin/clickhouse 10. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9bd47 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:331: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde420 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde6d4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde6d4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde6d4 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde6d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde6d4 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 2024.12.17 01:24:47.265829 [ 2921 ] {1d68b2cf-6144-41f7-b0cb-97d4cf466a3e} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f33188e5000, frame address: 0x7f3318ce4ec0, stack size: 4194624, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013963a64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139635dc in /usr/bin/clickhouse 7. /build/src/Interpreters/InDepthNodeVisitor.h:43: void DB::InDepthNodeVisitor>, &DB::NeedChild::all(std::shared_ptr const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfa637d in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>, &DB::NeedChild::all(std::shared_ptr const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfa1185 in /usr/bin/clickhouse 9. /build/src/Interpreters/TreeRewriter.cpp:1366: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9d832 in /usr/bin/clickhouse 10. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9bd47 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:331: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde420 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde6d4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde6d4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde6d4 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde6d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde6d4 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 2024.12.17 01:24:47.404492 [ 8666 ] {543edfdf-50d3-4e39-8fbd-1cc44c83178a} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39916) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bf469 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6be3b9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bd861 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:24:47.411982 [ 8666 ] {543edfdf-50d3-4e39-8fbd-1cc44c83178a} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bf469 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6be3b9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bd861 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:24:47.999823 [ 2921 ] {e71febb7-0153-49af-91a7-8e39429fbec9} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f33188e5000, frame address: 0x7f3318ce4ec0, stack size: 4194624, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39896) (comment: 01527_materialized_view_stack_overflow.sql) (in query: INSERT INTO t2 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013963a64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139635dc in /usr/bin/clickhouse 7. /build/src/Interpreters/InDepthNodeVisitor.h:43: void DB::InDepthNodeVisitor>, &DB::NeedChild::all(std::shared_ptr const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfa637d in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>, &DB::NeedChild::all(std::shared_ptr const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfa1185 in /usr/bin/clickhouse 9. /build/src/Interpreters/TreeRewriter.cpp:1366: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9d832 in /usr/bin/clickhouse 10. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9bd47 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:331: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde420 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde6d4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde6d4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde6d4 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde6d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde6d4 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 2024.12.17 01:24:48.000866 [ 2921 ] {e71febb7-0153-49af-91a7-8e39429fbec9} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f33188e5000, frame address: 0x7f3318ce4ec0, stack size: 4194624, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013963a64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139635dc in /usr/bin/clickhouse 7. /build/src/Interpreters/InDepthNodeVisitor.h:43: void DB::InDepthNodeVisitor>, &DB::NeedChild::all(std::shared_ptr const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visitImpl(std::shared_ptr&) @ 0x000000001cfa637d in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>, &DB::NeedChild::all(std::shared_ptr const&, std::shared_ptr const&), std::shared_ptr>, true, false, std::shared_ptr>::visit(std::shared_ptr&) @ 0x000000001cfa1185 in /usr/bin/clickhouse 9. /build/src/Interpreters/TreeRewriter.cpp:1366: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9d832 in /usr/bin/clickhouse 10. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9bd47 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:331: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde420 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde6d4 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde6d4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde6d4 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde6d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 29. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:344: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ecde6d4 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterInsertQuery.cpp:255: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x000000001ca7ea12 in /usr/bin/clickhouse 2024.12.17 01:24:49.170203 [ 6046 ] {ebf7998c-94ac-45b9-90aa-afe15fef3039} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39946) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bf469 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6be3b9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bd861 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:24:49.177584 [ 6046 ] {ebf7998c-94ac-45b9-90aa-afe15fef3039} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bf469 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6be3b9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bd861 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:24:49.266881 [ 2921 ] {8fe47f2a-860f-4de7-95c9-90975df950a0} executeQuery: Code: 6. DB::Exception: Cannot parse string 'some_string' as Int32: syntax error at begin of string. Note: there are toInt32OrZero and toInt32OrNull functions, which returns zero/NULL instead of throwing exception.: While processing _CAST('some_string' AS Value_tmp_alter8405790528853592547, 'Int32') AS Value: default expression and column type are incompatible. (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39950) (comment: 01522_validate_alter_default.sql) (in query: ALTER TABLE table2 MODIFY COLUMN `Value` DEFAULT 'some_string';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b3daf57 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b3d5c58 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b3c4519 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b3c3848 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b3c2a5e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b236a10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2369a6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b236940 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2368e0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b23688b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 2024.12.17 01:24:49.267926 [ 2921 ] {8fe47f2a-860f-4de7-95c9-90975df950a0} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'some_string' as Int32: syntax error at begin of string. Note: there are toInt32OrZero and toInt32OrNull functions, which returns zero/NULL instead of throwing exception.: While processing _CAST('some_string' AS Value_tmp_alter8405790528853592547, 'Int32') AS Value: default expression and column type are incompatible. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b3daf57 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b3d5c58 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b3c4519 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b3c3848 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b3c2a5e in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b236a10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2369a6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b236940 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2368e0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b23688b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 2024.12.17 01:24:49.351174 [ 2921 ] {d010a9b4-7616-4c81-b2cf-b44375e1c4c1} executeQuery: Code: 36. DB::Exception: Data type have to be specified for column `Value2` to add. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39950) (comment: 01522_validate_alter_default.sql) (in query: ALTER TABLE table2 ADD COLUMN `Value2` DEFAULT 'some_string';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1089: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c742 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:49.351883 [ 2921 ] {d010a9b4-7616-4c81-b2cf-b44375e1c4c1} TCPHandler: Code: 36. DB::Exception: Data type have to be specified for column `Value2` to add. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1089: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58c742 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:50.892576 [ 6046 ] {690558b8-ca72-4a75-9a95-c0e5e05b44b0} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 128.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35976) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bf469 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6be3b9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bd861 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:24:50.899494 [ 6046 ] {690558b8-ca72-4a75-9a95-c0e5e05b44b0} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 128.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bf469 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6be3b9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bd861 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:24:52.566132 [ 8669 ] {11feacba-281f-44fe-ae9b-e491e50fd8dc} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36020) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bf469 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6be3b9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bd861 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:24:52.575455 [ 8669 ] {11feacba-281f-44fe-ae9b-e491e50fd8dc} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bf469 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6be3b9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bd861 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:24:54.340922 [ 8669 ] {94f491fb-2118-425a-b6d8-f2eb21731c68} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36048) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bf469 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6be3b9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bd861 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:24:54.348796 [ 8669 ] {94f491fb-2118-425a-b6d8-f2eb21731c68} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bf469 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6be3b9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bd861 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:24:56.062951 [ 8669 ] {c7fc23b9-1d74-45f6-899e-e231464257c3} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36080) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bf469 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6be3b9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bd861 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:24:56.073036 [ 8669 ] {c7fc23b9-1d74-45f6-899e-e231464257c3} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bf469 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6be3b9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bd861 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:24:57.721198 [ 11801 ] {0de5e9a5-ab1c-43b3-8158-e700bf94db80} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36128) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bf469 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6be3b9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bd861 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:24:57.731569 [ 11801 ] {0de5e9a5-ab1c-43b3-8158-e700bf94db80} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bf469 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6be3b9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bd861 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:24:59.436177 [ 2670 ] {30411394-9a06-4ad0-9926-4edccb120892} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36150) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bf469 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6be3b9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bd861 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:24:59.443671 [ 2670 ] {30411394-9a06-4ad0-9926-4edccb120892} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bf469 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6be3b9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bd861 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:24:59.778411 [ 11801 ] {71814176-213b-426a-8c8d-99f09f5243ab} executeQuery: Code: 36. DB::Exception: Expected two string literal arguments: zookeeper_path and replica_name. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36156) (comment: 01512_create_replicate_merge_tree_one_arg.sql) (in query: CREATE TABLE mt (`v` UInt8) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/test_01497/mt') ORDER BY tuple() SETTINGS index_granularity = 45465, min_bytes_for_wide_part = 278273447, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 16493, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 1265575, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 37294, primary_key_compress_block_size = 26550), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [71]) @ 0x000000001855c13e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:429: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e3561db in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:24:59.780445 [ 11801 ] {71814176-213b-426a-8c8d-99f09f5243ab} TCPHandler: Code: 36. DB::Exception: Expected two string literal arguments: zookeeper_path and replica_name. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [71]) @ 0x000000001855c13e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:429: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e3561db in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 13. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:25:01.079940 [ 8670 ] {245e1c3d-fc09-4742-bc55-52aa51a712b6} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45536) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bf469 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6be3b9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bd861 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:25:01.086998 [ 8670 ] {245e1c3d-fc09-4742-bc55-52aa51a712b6} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bf469 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6be3b9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bd861 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:25:02.852902 [ 11801 ] {e442cfa9-17e4-4f08-aad1-3dc32365f9aa} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45552) (comment: 01529_bad_memory_tracking.sh) (in query: SELECT i FROM generateRandom('i Array(Int8)', 1, 1, 1048577) LIMIT 65536), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bf469 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6be3b9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bd861 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:25:02.861540 [ 11801 ] {e442cfa9-17e4-4f08-aad1-3dc32365f9aa} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 64.00 GiB (attempt to allocate chunk of 68720001736 bytes), maximum: 9.31 GiB.: While executing GenerateRandom. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Storages/StorageGenerateRandom.cpp:369: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6bf469 in /usr/bin/clickhouse 15. /build/src/Storages/StorageGenerateRandom.cpp:257: DB::(anonymous namespace)::fillColumnWithRandomData(std::shared_ptr, unsigned long, unsigned long, unsigned long, pcg_detail::engine, false, pcg_detail::specific_stream, pcg_detail::default_multiplier>&, std::shared_ptr) @ 0x000000001d6be3b9 in /usr/bin/clickhouse 16. /build/src/Storages/StorageGenerateRandom.cpp:548: DB::(anonymous namespace)::GenerateSource::generate() @ 0x000000001d6bd861 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:25:04.640961 [ 16789 ] {a261403d-5113-44b7-85cd-ac2c95ff1d85} HashedDictionary: 'prellocate' attribute is obsolete, consider looking at 'shards' 2024.12.17 01:25:17.120677 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {7b90acd8-e38e-4616-9cf6-11e2287ccbce::all_0_17_3}: Code: 234. DB::Exception: No active replica has part all_0_17_3 or covering part (cannot execute queue-0000000031: MERGE_PARTS with virtual parts [all_0_17_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:25:17.274465 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {059162ff-b7a1-4c00-ae46-aba657e4af23::all_19_23_1}: Code: 234. DB::Exception: No active replica has part all_19_23_1 or covering part (cannot execute queue-0000000033: MERGE_PARTS with virtual parts [all_19_23_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:25:17.274465 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {6c27a003-d712-4556-9a93-335840fb383f::all_19_23_1}: Code: 234. DB::Exception: No active replica has part all_19_23_1 or covering part (cannot execute queue-0000000033: MERGE_PARTS with virtual parts [all_19_23_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:25:17.275291 [ 11807 ] {8a7b5d5a-8b33-4a15-b7f7-ea62055273c2} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 513.52 MiB (attempt to allocate chunk of 134714904 bytes), maximum: 476.84 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36134) (comment: 01513_optimize_aggregation_in_order_memory_long.sql) (in query: select key, groupArray(repeat('a', 200)), count() from data_01513 group by key format Null settings optimize_aggregation_in_order=0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/Arena.h:53: DB::Arena::MemoryChunk::MemoryChunk(unsigned long, DB::Arena::MemoryChunk*) @ 0x000000000c49f984 in /usr/bin/clickhouse 12. /build/src/Common/Arena.h:122: DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c4a4c7a in /usr/bin/clickhouse 13. /build/src/Common/Arena.h:177: DB::Arena::alignedAlloc(unsigned long, unsigned long) @ 0x000000000c4a4b6e in /usr/bin/clickhouse 14. /build/src/Common/Arena.h:285: DB::Arena::alignedRealloc(char const*, unsigned long, unsigned long, unsigned long) @ 0x00000000145548ed in /usr/bin/clickhouse 15. /build/src/Common/ArenaAllocator.h:69: DB::AlignedArenaAllocator<8ul>::realloc(void*, unsigned long, unsigned long, DB::Arena*) @ 0x0000000014565f80 in /usr/bin/clickhouse 16. /build/src/Common/ArenaAllocator.h:101: DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>::realloc(void*, unsigned long, unsigned long, DB::Arena*) @ 0x0000000014565dc7 in /usr/bin/clickhouse 17. /build/src/Common/PODArray.h:165: void DB::PODArrayBase<8ul, 32ul, DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::realloc(unsigned long, DB::Arena*&) @ 0x0000000014565c27 in /usr/bin/clickhouse 18. /build/src/Common/PODArray.h:196: void DB::PODArrayBase<8ul, 32ul, DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::reserveForNextSize(DB::Arena*&) @ 0x0000000014565b4d in /usr/bin/clickhouse 19. /build/src/Common/PODArray.h:0: void DB::PODArray, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::push_back(DB::GroupArrayNodeString*&, DB::Arena*&) @ 0x00000000145b7689 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:530: DB::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x00000000145b5b04 in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/IAggregateFunction.h:478: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x00000000145b628b in /usr/bin/clickhouse 22. /build/src/Interpreters/Aggregator.cpp:1303: void DB::Aggregator::executeImplBatch>, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::AggregationMethodStringNoCache>, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c233321 in /usr/bin/clickhouse 23. /build/src/Interpreters/Aggregator.cpp:1081: void DB::Aggregator::executeImpl>, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5c8c in /usr/bin/clickhouse 24. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a7aa in /usr/bin/clickhouse 25. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 2024.12.17 01:25:17.275426 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {1a39f74d-16a8-4d99-9ff7-5e00c083a67a::all_19_23_1}: Code: 234. DB::Exception: No active replica has part all_19_23_1 or covering part (cannot execute queue-0000000033: MERGE_PARTS with virtual parts [all_19_23_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:25:17.275602 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {7b90acd8-e38e-4616-9cf6-11e2287ccbce::all_19_23_1}: Code: 234. DB::Exception: No active replica has part all_19_23_1 or covering part (cannot execute queue-0000000033: MERGE_PARTS with virtual parts [all_19_23_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:25:17.313830 [ 11807 ] {8a7b5d5a-8b33-4a15-b7f7-ea62055273c2} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 513.52 MiB (attempt to allocate chunk of 134714904 bytes), maximum: 476.84 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/Arena.h:53: DB::Arena::MemoryChunk::MemoryChunk(unsigned long, DB::Arena::MemoryChunk*) @ 0x000000000c49f984 in /usr/bin/clickhouse 12. /build/src/Common/Arena.h:122: DB::Arena::addMemoryChunk(unsigned long) @ 0x000000000c4a4c7a in /usr/bin/clickhouse 13. /build/src/Common/Arena.h:177: DB::Arena::alignedAlloc(unsigned long, unsigned long) @ 0x000000000c4a4b6e in /usr/bin/clickhouse 14. /build/src/Common/Arena.h:285: DB::Arena::alignedRealloc(char const*, unsigned long, unsigned long, unsigned long) @ 0x00000000145548ed in /usr/bin/clickhouse 15. /build/src/Common/ArenaAllocator.h:69: DB::AlignedArenaAllocator<8ul>::realloc(void*, unsigned long, unsigned long, DB::Arena*) @ 0x0000000014565f80 in /usr/bin/clickhouse 16. /build/src/Common/ArenaAllocator.h:101: DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>::realloc(void*, unsigned long, unsigned long, DB::Arena*) @ 0x0000000014565dc7 in /usr/bin/clickhouse 17. /build/src/Common/PODArray.h:165: void DB::PODArrayBase<8ul, 32ul, DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::realloc(unsigned long, DB::Arena*&) @ 0x0000000014565c27 in /usr/bin/clickhouse 18. /build/src/Common/PODArray.h:196: void DB::PODArrayBase<8ul, 32ul, DB::MixedArenaAllocator<4096ul, Allocator, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::reserveForNextSize(DB::Arena*&) @ 0x0000000014565b4d in /usr/bin/clickhouse 19. /build/src/Common/PODArray.h:0: void DB::PODArray, DB::AlignedArenaAllocator<8ul>, 8ul>, 0ul, 0ul>::push_back(DB::GroupArrayNodeString*&, DB::Arena*&) @ 0x00000000145b7689 in /usr/bin/clickhouse 20. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:530: DB::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x00000000145b5b04 in /usr/bin/clickhouse 21. /build/src/AggregateFunctions/IAggregateFunction.h:478: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x00000000145b628b in /usr/bin/clickhouse 22. /build/src/Interpreters/Aggregator.cpp:1303: void DB::Aggregator::executeImplBatch>, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::AggregationMethodStringNoCache>, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c233321 in /usr/bin/clickhouse 23. /build/src/Interpreters/Aggregator.cpp:1081: void DB::Aggregator::executeImpl>, false>>(DB::AggregationMethodStringNoCache>, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5c8c in /usr/bin/clickhouse 24. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a7aa in /usr/bin/clickhouse 25. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 27. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 2024.12.17 01:25:17.737501 [ 21983 ] {d12d79cb-0060-428a-b63c-ce41add67684} executeQuery: Code: 47. DB::Exception: Missing columns: 'j1' while processing query: 'SELECT j, k, j1 FROM columns_transformers', required columns: 'j' 'k' 'j1', maybe you meant: 'j' or 'k'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42012) (comment: 01470_columns_transformers.sql) (in query: SELECT * EXCEPT STRICT i, j1 from columns_transformers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:25:17.738652 [ 21983 ] {d12d79cb-0060-428a-b63c-ce41add67684} TCPHandler: Code: 47. DB::Exception: Missing columns: 'j1' while processing query: 'SELECT j, k, j1 FROM columns_transformers', required columns: 'j' 'k' 'j1', maybe you meant: 'j' or 'k'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:25:17.881595 [ 21983 ] {9d359427-c3a1-42d7-b7a8-3c32068fa1f8} executeQuery: Code: 16. DB::Exception: Columns transformer EXCEPT expects following column(s) : j1: While processing . (NO_SUCH_COLUMN_IN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42012) (comment: 01470_columns_transformers.sql) (in query: SELECT * EXCEPT STRICT(i, j1) from columns_transformers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:266: DB::ASTColumnsExceptTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x000000001f3335af in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:40: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x000000001f32e534 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:262: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01e598 in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01d899 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cfaca00 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfacbe1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfac98a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cfacc86 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfacbee in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfac98a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cfac845 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:310: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&) @ 0x000000001cf9d58c in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9ba86 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:25:17.882630 [ 21983 ] {9d359427-c3a1-42d7-b7a8-3c32068fa1f8} TCPHandler: Code: 16. DB::Exception: Columns transformer EXCEPT expects following column(s) : j1: While processing . (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:266: DB::ASTColumnsExceptTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x000000001f3335af in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:40: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x000000001f32e534 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:262: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01e598 in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01d899 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cfaca00 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfacbe1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfac98a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cfacc86 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfacbee in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfac98a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cfac845 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:310: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&) @ 0x000000001cf9d58c in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9ba86 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:25:18.087605 [ 21983 ] {e8ed181e-4f2e-41e2-98be-597f4aa93bd4} executeQuery: Code: 16. DB::Exception: Columns transformer REPLACE expects following column(s) : col: While processing . (NO_SUCH_COLUMN_IN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42012) (comment: 01470_columns_transformers.sql) (in query: SELECT * REPLACE STRICT(i + 1 AS col) from columns_transformers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:425: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x000000001f335bbd in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x000000001f32e567 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:262: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01e598 in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01d899 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cfaca00 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfacbe1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfac98a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cfacc86 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfacbee in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfac98a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cfac845 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:310: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&) @ 0x000000001cf9d58c in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9ba86 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:25:18.089010 [ 21983 ] {e8ed181e-4f2e-41e2-98be-597f4aa93bd4} TCPHandler: Code: 16. DB::Exception: Columns transformer REPLACE expects following column(s) : col: While processing . (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:425: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x000000001f335bbd in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x000000001f32e567 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:262: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01e598 in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01d899 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cfaca00 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfacbe1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfac98a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cfacc86 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfacbee in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfac98a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cfac845 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:310: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&) @ 0x000000001cf9d58c in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9ba86 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:25:18.363282 [ 21983 ] {6b3c5cdf-b5b6-44b8-ad3c-d23f3900ec4f} executeQuery: Code: 43. DB::Exception: Expressions in columns transformer REPLACE should not contain the same replacement more than once: While processing . (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42012) (comment: 01470_columns_transformers.sql) (in query: SELECT columns_transformers.* REPLACE(j + 1 AS j, j + 2 AS j) APPLY(avg) from columns_transformers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [98]) @ 0x0000000017a9d37e in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:384: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x000000001f3354c4 in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x000000001f32e567 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:314: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01edce in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01d899 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cfaca00 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfacbe1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfac98a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cfacc86 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfacbee in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfac98a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cfac845 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:310: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&) @ 0x000000001cf9d58c in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9ba86 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:25:18.487702 [ 8669 ] {4de7be89-f62b-4ac9-87a0-fee94136eef4} executeQuery: Code: 47. DB::Exception: Unknown qualified identifier: insert_select_src: While processing insert_select_src.* EXCEPT (middle_a, middle_b). (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42068) (comment: 01470_test_insert_select_asterisk.sql) (in query: INSERT INTO insert_select_dst(insert_select_src.* EXCEPT (middle_a, middle_b)) SELECT * FROM insert_select_src;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:170: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTQualifiedAsterisk const&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01f339 in /usr/bin/clickhouse 7. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:225: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01e10e in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01d899 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cfaca00 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfacbe1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfac98a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cfac845 in /usr/bin/clickhouse 13. /build/src/Interpreters/processColumnTransformers.cpp:44: DB::processColumnTransformers(String const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d0e368b in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterInsertQuery.cpp:142: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7df42 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:393: DB::InterpreterInsertQuery::execute() @ 0x000000001ca80086 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:25:18.487907 [ 21983 ] {6b3c5cdf-b5b6-44b8-ad3c-d23f3900ec4f} TCPHandler: Code: 43. DB::Exception: Expressions in columns transformer REPLACE should not contain the same replacement more than once: While processing . (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [98]) @ 0x0000000017a9d37e in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:384: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x000000001f3354c4 in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x000000001f32e567 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:314: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01edce in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01d899 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cfaca00 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfacbe1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfac98a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cfacc86 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfacbee in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfac98a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cfac845 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:310: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&) @ 0x000000001cf9d58c in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9ba86 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:25:18.488691 [ 8669 ] {4de7be89-f62b-4ac9-87a0-fee94136eef4} TCPHandler: Code: 47. DB::Exception: Unknown qualified identifier: insert_select_src: While processing insert_select_src.* EXCEPT (middle_a, middle_b). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:170: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTQualifiedAsterisk const&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01f339 in /usr/bin/clickhouse 7. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:225: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01e10e in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01d899 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cfaca00 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfacbe1 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfac98a in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cfac845 in /usr/bin/clickhouse 13. /build/src/Interpreters/processColumnTransformers.cpp:44: DB::processColumnTransformers(String const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d0e368b in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterInsertQuery.cpp:142: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7df42 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterInsertQuery.cpp:393: DB::InterpreterInsertQuery::execute() @ 0x000000001ca80086 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:25:18.689315 [ 21983 ] {79a98158-abb2-4789-a449-81af01a241a3} executeQuery: Code: 16. DB::Exception: Columns transformer REPLACE expects following column(s) : i: While processing . (NO_SUCH_COLUMN_IN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42012) (comment: 01470_columns_transformers.sql) (in query: SELECT a.* APPLY(toDate) REPLACE STRICT(i + 1 AS i) APPLY(any) from columns_transformers a;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:425: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x000000001f335bbd in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x000000001f32e567 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:314: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01edce in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01d899 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cfaca00 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfacbe1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfac98a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cfacc86 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfacbee in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfac98a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cfac845 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:310: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&) @ 0x000000001cf9d58c in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9ba86 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:25:18.690528 [ 21983 ] {79a98158-abb2-4789-a449-81af01a241a3} TCPHandler: Code: 16. DB::Exception: Columns transformer REPLACE expects following column(s) : i: While processing . (NO_SUCH_COLUMN_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTColumnsTransformers.cpp:425: DB::ASTColumnsReplaceTransformer::transform(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) const @ 0x000000001f335bbd in /usr/bin/clickhouse 7. /build/src/Parsers/ASTColumnsTransformers.cpp:0: DB::IASTColumnsTransformer::transform(std::shared_ptr const&, absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&) @ 0x000000001f32e567 in /usr/bin/clickhouse 8. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:314: DB::TranslateQualifiedNamesMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01edce in /usr/bin/clickhouse 9. /build/src/Interpreters/TranslateQualifiedNamesVisitor.cpp:112: DB::TranslateQualifiedNamesMatcher::visit(std::shared_ptr&, DB::TranslateQualifiedNamesMatcher::Data&) @ 0x000000001d01d899 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cfaca00 in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfacbe1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfac98a in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cfacc86 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cfacbee in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cfac98a in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cfac845 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:310: DB::(anonymous namespace)::translateQualifiedNames(std::shared_ptr&, DB::ASTSelectQuery const&, std::unordered_set, std::equal_to, std::allocator> const&, std::vector> const&) @ 0x000000001cf9d58c in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1200: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9ba86 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:25:21.249691 [ 2670 ] {f734b201-fdea-492d-9585-976b81872861} executeQuery: Code: 232. DB::Exception: No part all_100_100_0 in committed state. (NO_SUCH_DATA_PART) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42042) (comment: 01451_detach_drop_part.sql) (in query: ALTER TABLE mt_01451 DETACH PART 'all_100_100_0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4984: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x000000001deaa0f0 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5138: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deabef0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:25:21.250535 [ 2670 ] {f734b201-fdea-492d-9585-976b81872861} TCPHandler: Code: 232. DB::Exception: No part all_100_100_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4984: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x000000001deaa0f0 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5138: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deabef0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:25:21.563184 [ 2670 ] {9e75ae25-2379-4e87-a71c-0316ea61c59d} executeQuery: Code: 233. DB::Exception: Detached part "all_4_4_0" not found. (BAD_DATA_PART_NAME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42042) (comment: 01451_detach_drop_part.sql) (in query: ALTER TABLE mt_01451 ATTACH PART 'all_4_4_0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7616: DB::MergeTreeData::getDiskForDetachedPart(String const&) const @ 0x000000001deb35fc in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5924: DB::MergeTreeData::tryLoadPartsToAttach(std::shared_ptr const&, bool, std::shared_ptr, DB::MergeTreeData::PartsTemporaryRename&) @ 0x000000001deb3e7d in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:1967: DB::StorageMergeTree::attachPartition(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e37b3bd in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:5154: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac110 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:25:21.563906 [ 2670 ] {9e75ae25-2379-4e87-a71c-0316ea61c59d} TCPHandler: Code: 233. DB::Exception: Detached part "all_4_4_0" not found. (BAD_DATA_PART_NAME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7616: DB::MergeTreeData::getDiskForDetachedPart(String const&) const @ 0x000000001deb35fc in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5924: DB::MergeTreeData::tryLoadPartsToAttach(std::shared_ptr const&, bool, std::shared_ptr, DB::MergeTreeData::PartsTemporaryRename&) @ 0x000000001deb3e7d in /usr/bin/clickhouse 8. /build/src/Storages/StorageMergeTree.cpp:1967: DB::StorageMergeTree::attachPartition(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e37b3bd in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:5154: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac110 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:25:23.549002 [ 11806 ] {3796d7a6-1b63-4005-b726-a564911e67d4} executeQuery: Code: 12. DB::Exception: Too large 'k' argument for h3kRing function, maximum 10000: While processing h3kRing(581276613233082367, 65535). (PARAMETER_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42128) (comment: 01442_h3kring_range_check.sql) (in query: SELECT h3kRing(581276613233082367, 65535);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, int const&) @ 0x000000000eeedd8c in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:112: DB::(anonymous namespace)::FunctionH3KRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ef0a04d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:25:23.550034 [ 11806 ] {3796d7a6-1b63-4005-b726-a564911e67d4} TCPHandler: Code: 12. DB::Exception: Too large 'k' argument for h3kRing function, maximum 10000: While processing h3kRing(581276613233082367, 65535). (PARAMETER_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, int const&) @ 0x000000000eeedd8c in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:112: DB::(anonymous namespace)::FunctionH3KRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ef0a04d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:25:23.682862 [ 11806 ] {201978d4-101b-42ab-b71b-05156d2a58e0} executeQuery: Code: 43. DB::Exception: Illegal type Int8 of argument 2 of function h3kRing. Must be unsigned native integer.: While processing h3kRing(581276613233082367, -1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42128) (comment: 01442_h3kring_range_check.sql) (in query: SELECT h3kRing(581276613233082367, -1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x000000000e476b88 in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:56: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ef0a831 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:25:23.683763 [ 11806 ] {201978d4-101b-42ab-b71b-05156d2a58e0} TCPHandler: Code: 43. DB::Exception: Illegal type Int8 of argument 2 of function h3kRing. Must be unsigned native integer.: While processing h3kRing(581276613233082367, -1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x000000000e476b88 in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:56: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ef0a831 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:25:24.128527 [ 11807 ] {e4ae61c4-6d06-4fa7-b6c4-0435d01b247b} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 480.96 MiB (attempt to allocate chunk of 16777216 bytes), maximum: 476.84 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36134) (comment: 01513_optimize_aggregation_in_order_memory_long.sql) (in query: -- for WITH TOTALS previous groups should be kept. select key, groupArray(repeat('a', 200)), count() from data_01513 group by key with totals format Null settings optimize_aggregation_in_order=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000013876dcd in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:165: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fed02 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 13. /build/src/Columns/ColumnString.h:159: DB::ColumnString::insertData(char const*, unsigned long) @ 0x000000000b924d0a in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:410: DB::GroupArrayNodeString::insertInto(DB::IColumn&) @ 0x000000001458dfe1 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:681: DB::GroupArrayGeneralImpl>::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x00000000145b6108 in /usr/bin/clickhouse 16. /build/src/Columns/ColumnAggregateFunction.cpp:168: DB::ColumnAggregateFunction::convertToValues(COW::mutable_ptr) @ 0x000000001d1f1e0d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/finalizeChunk.cpp:26: DB::finalizeChunk(DB::Chunk&, std::vector> const&) @ 0x000000001ecf39cc in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:173: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x000000001ecb113d in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x000000001ecb0bdd in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 2024.12.17 01:25:24.274074 [ 11807 ] {e4ae61c4-6d06-4fa7-b6c4-0435d01b247b} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 480.96 MiB (attempt to allocate chunk of 16777216 bytes), maximum: 476.84 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x0000000013876dcd in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:165: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fed02 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 13. /build/src/Columns/ColumnString.h:159: DB::ColumnString::insertData(char const*, unsigned long) @ 0x000000000b924d0a in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:410: DB::GroupArrayNodeString::insertInto(DB::IColumn&) @ 0x000000001458dfe1 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionGroupArray.h:681: DB::GroupArrayGeneralImpl>::insertResultInto(char*, DB::IColumn&, DB::Arena*) const @ 0x00000000145b6108 in /usr/bin/clickhouse 16. /build/src/Columns/ColumnAggregateFunction.cpp:168: DB::ColumnAggregateFunction::convertToValues(COW::mutable_ptr) @ 0x000000001d1f1e0d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/finalizeChunk.cpp:26: DB::finalizeChunk(DB::Chunk&, std::vector> const&) @ 0x000000001ecf39cc in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:173: DB::TotalsHavingTransform::transform(DB::Chunk&) @ 0x000000001ecb113d in /usr/bin/clickhouse 19. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 20. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 21. /build/src/Processors/Transforms/TotalsHavingTransform.cpp:146: DB::TotalsHavingTransform::work() @ 0x000000001ecb0bdd in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 2024.12.17 01:25:24.274135 [ 6043 ] {1055829b-5b89-4dee-bed8-413b30e2f13b} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTimeBestEffort('', 3) AS a, toTypeName(a). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42122) (comment: 01442_date_time_with_params.sql) (in query: SELECT parseDateTimeBestEffort('', 3) AS a, toTypeName(a);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b2636b7 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000139afbb8 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:579: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x00000000139a8d76 in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:664: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139af504 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:705: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139af4b3 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1374: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000bbed7f6 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2244: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000bbeb654 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2275: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bbea2ba in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:25:24.274218 [ 11806 ] {03c4b1c1-df02-4fb9-b427-573cc04d5f3e} executeQuery: Code: 43. DB::Exception: Illegal type Float64 of argument 2 of function h3kRing. Must be unsigned native integer.: While processing h3kRing(581276613233082367, nan). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42128) (comment: 01442_h3kring_range_check.sql) (in query: SELECT h3kRing(581276613233082367, nan);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x000000000e476b88 in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:56: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ef0a831 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:25:24.275092 [ 6043 ] {1055829b-5b89-4dee-bed8-413b30e2f13b} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTimeBestEffort('', 3) AS a, toTypeName(a). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b2636b7 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000139afbb8 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:579: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x00000000139a8d76 in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:664: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139af504 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:705: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139af4b3 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1374: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000bbed7f6 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2244: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000bbeb654 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2275: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bbea2ba in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:25:24.275443 [ 11806 ] {03c4b1c1-df02-4fb9-b427-573cc04d5f3e} TCPHandler: Code: 43. DB::Exception: Illegal type Float64 of argument 2 of function h3kRing. Must be unsigned native integer.: While processing h3kRing(581276613233082367, nan). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, int&&, String&&) @ 0x000000000e476b88 in /usr/bin/clickhouse 6. /build/src/Functions/h3kRing.cpp:56: DB::(anonymous namespace)::FunctionH3KRing::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ef0a831 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:25:25.546518 [ 6043 ] {360bb9ba-b8d9-493b-be83-361610388a3d} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTime32BestEffort('') AS a, toTypeName(a). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42122) (comment: 01442_date_time_with_params.sql) (in query: SELECT parseDateTime32BestEffort('') AS a, toTypeName(a);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b2636b7 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000139afbb8 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:579: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x00000000139a8d76 in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:686: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139a6ed2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1380: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000bc0b7a6 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2244: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000bc0acd4 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2280: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc099dc in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:25:25.547416 [ 6043 ] {360bb9ba-b8d9-493b-be83-361610388a3d} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTime32BestEffort('') AS a, toTypeName(a). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b2636b7 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000139afbb8 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:579: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x00000000139a8d76 in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:686: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139a6ed2 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1380: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000bc0b7a6 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2244: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000bc0acd4 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2280: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc099dc in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:25:26.149461 [ 2921 ] {e1c907bb-0da4-40bb-8884-cf082ffb952b} executeQuery: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3ToChildren is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToChildren(599405990164561919, 100). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42218) (comment: 01428_h3_range_check.sql) (in query: SELECT h3ToChildren(599405990164561919, 100);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Functions/h3ToChildren.cpp:108: DB::(anonymous namespace)::FunctionH3ToChildren::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ef00506 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:25:26.150593 [ 2921 ] {e1c907bb-0da4-40bb-8884-cf082ffb952b} TCPHandler: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3ToChildren is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToChildren(599405990164561919, 100). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Functions/h3ToChildren.cpp:108: DB::(anonymous namespace)::FunctionH3ToChildren::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ef00506 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:25:26.275609 [ 2921 ] {e8edff08-e8f6-4aa8-8535-7af896f30589} executeQuery: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3ToParent is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToParent(599405990164561919, 100). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42218) (comment: 01428_h3_range_check.sql) (in query: SELECT h3ToParent(599405990164561919, 100);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Functions/h3ToParent.cpp:99: DB::(anonymous namespace)::FunctionH3ToParent::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ef04f10 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:25:26.276614 [ 2921 ] {e8edff08-e8f6-4aa8-8535-7af896f30589} TCPHandler: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3ToParent is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToParent(599405990164561919, 100). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Functions/h3ToParent.cpp:99: DB::(anonymous namespace)::FunctionH3ToParent::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ef04f10 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:25:28.027558 [ 6043 ] {5383d499-9d38-4f69-b358-1cf262a733f2} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: unexpected date: 2024-2-55: While processing parseDateTime64BestEffort('2.55'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42252) (comment: 01424_parse_date_time_bad_date.sql) (in query: select parseDateTime64BestEffort('2.55');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned short&, unsigned short&&, unsigned short&&) @ 0x00000000139b2ee8 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000139b0833 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:606: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x00000000139a8f7e in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:664: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139af504 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:705: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139af4b3 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1374: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000bc1cad6 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2244: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000bc1a934 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2275: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc195da in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:25:28.157390 [ 11806 ] {5b55159a-ea55-4867-8432-3b97af015387} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e9. Expected to read decimal with scale 0 and precision 9: While processing '-1E9-1E9-1E9-1E9' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42266) (comment: 01425_decimal_parse_big_negative_exponent.sql) (in query: SELECT '-1E9-1E9-1E9-1E9' AS x, toDecimal32(x, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x000000001b9ad83a in /usr/bin/clickhouse 6. /build/src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x000000001b9aa233 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x000000001ba3979e in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1409: COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ba51507 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2013: bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000ba4b9b6 in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000ba374b9 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba367e8 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba359fe in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:25:28.157449 [ 6043 ] {5383d499-9d38-4f69-b358-1cf262a733f2} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: unexpected date: 2024-2-55: While processing parseDateTime64BestEffort('2.55'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned short&, unsigned short&&, unsigned short&&) @ 0x00000000139b2ee8 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000139b0833 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:606: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x00000000139a8f7e in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:664: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139af504 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:705: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139af4b3 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1374: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000bc1cad6 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2244: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000bc1a934 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2275: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc195da in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:25:28.295587 [ 2921 ] {bfa869ed-af7b-451f-878d-775686373e0d} executeQuery: Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UInt8. Got: Tuple: While processing (1, 2) IN ((1, (2, 3)), (1 + 1, 1)). (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42286) (comment: 01421_assert_in_in.sql) (in query: SELECT (1, 2) IN ((1, (2, 3)), (1 + 1, 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x000000001d078c2c in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:81: DB::Field DB::(anonymous namespace)::convertNumericType(DB::Field const&, DB::IDataType const&) @ 0x000000001d06db57 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:215: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d0695df in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d068fbd in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:258: DB::createBlockFromAST(std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfed976 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:386: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfe2e7e in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:425: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x000000001bfe2688 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfec7ee in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6a81 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:25:28.295752 [ 11806 ] {5b55159a-ea55-4867-8432-3b97af015387} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e9. Expected to read decimal with scale 0 and precision 9: While processing '-1E9-1E9-1E9-1E9' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x000000001b9ad83a in /usr/bin/clickhouse 6. /build/src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x000000001b9aa233 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x000000001ba3979e in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1409: COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ba51507 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2013: bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000ba4b9b6 in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000ba374b9 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba367e8 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba359fe in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:25:28.297047 [ 2921 ] {bfa869ed-af7b-451f-878d-775686373e0d} TCPHandler: Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UInt8. Got: Tuple: While processing (1, 2) IN ((1, (2, 3)), (1 + 1, 1)). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x000000001d078c2c in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:81: DB::Field DB::(anonymous namespace)::convertNumericType(DB::Field const&, DB::IDataType const&) @ 0x000000001d06db57 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:215: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d0695df in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d068fbd in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:258: DB::createBlockFromAST(std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfed976 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:386: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfe2e7e in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:425: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x000000001bfe2688 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfec7ee in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6a81 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:25:28.305565 [ 11806 ] {649106df-b756-4083-8cff-b1598484411b} executeQuery: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e9. Expected to read decimal with scale 0 and precision 9: While processing '-1E9' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42266) (comment: 01425_decimal_parse_big_negative_exponent.sql) (in query: SELECT '-1E9' AS x, toDecimal32(x, 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x000000001b9ad83a in /usr/bin/clickhouse 6. /build/src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x000000001b9aa233 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x000000001ba3979e in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1409: COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ba51507 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2013: bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000ba4b9b6 in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000ba374b9 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba367e8 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba359fe in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:25:28.306581 [ 11806 ] {649106df-b756-4083-8cff-b1598484411b} TCPHandler: Code: 69. DB::Exception: Decimal value is too big: 1 digits were read: -1e9. Expected to read decimal with scale 0 and precision 9: While processing '-1E9' AS x, toDecimal32(x, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&, int&, unsigned int&, unsigned int&>(int, FormatStringHelperImpl::type, std::type_identity&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned int&, DB::Decimal&, int&, unsigned int&, unsigned int&) @ 0x000000001b9ad83a in /usr/bin/clickhouse 6. /build/src/IO/readDecimalText.h:172: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x000000001b9aa233 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x000000001ba3979e in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1409: COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000ba51507 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2013: bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000ba4b9b6 in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000ba374b9 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba367e8 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba359fe in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:25:28.886275 [ 11806 ] {ef1f23fd-1b40-4212-acf4-1eea3463b564} executeQuery: Code: 69. DB::Exception: Scale 10 is out of bounds (max scale: 9): While processing '1E-9' AS x, toDecimal32(x, 10). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42266) (comment: 01425_decimal_parse_big_negative_exponent.sql) (in query: SELECT '1E-9' AS x, toDecimal32(x, 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDecimalBase.h:78: DB::DataTypeDecimalBase>::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x000000000b4e113b in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:37: DB::DataTypeDecimal>::DataTypeDecimal(unsigned int, unsigned int) @ 0x000000000b4e0d65 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDecimal>* std::construct_at[abi:v15000]>, unsigned long const&, unsigned long&, DB::DataTypeDecimal>*>(DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x000000000ba534b4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>>::construct[abi:v15000]>, unsigned long const&, unsigned long&, void, void>(std::allocator>>&, DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x000000000ba53269 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>, std::allocator>>>::__shared_ptr_emplace[abi:v15000](std::allocator>>, unsigned long const&, unsigned long&) @ 0x000000000ba52f4f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr>> std::allocate_shared[abi:v15000]>, std::allocator>>, unsigned long const&, unsigned long&, void>(std::allocator>> const&, unsigned long const&, unsigned long&) @ 0x000000000ba52dc2 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr>> std::make_shared[abi:v15000]>, unsigned long const&, unsigned long&, void>(unsigned long const&, unsigned long&) @ 0x000000000ba52cce in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypesDecimal.h:267: std::shared_ptr DB::createDecimalMaxPrecision>(unsigned long) @ 0x000000000ba52c5c in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1872: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ba52aed in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ba52900 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000ba528bd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000ba5287d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000ba5283d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000ba52805 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b266abe in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b26577d in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ba5263b in /usr/bin/clickhouse 23. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ba3615a in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:25:28.887350 [ 11806 ] {ef1f23fd-1b40-4212-acf4-1eea3463b564} TCPHandler: Code: 69. DB::Exception: Scale 10 is out of bounds (max scale: 9): While processing '1E-9' AS x, toDecimal32(x, 10). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDecimalBase.h:78: DB::DataTypeDecimalBase>::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x000000000b4e113b in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:37: DB::DataTypeDecimal>::DataTypeDecimal(unsigned int, unsigned int) @ 0x000000000b4e0d65 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDecimal>* std::construct_at[abi:v15000]>, unsigned long const&, unsigned long&, DB::DataTypeDecimal>*>(DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x000000000ba534b4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>>::construct[abi:v15000]>, unsigned long const&, unsigned long&, void, void>(std::allocator>>&, DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x000000000ba53269 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>, std::allocator>>>::__shared_ptr_emplace[abi:v15000](std::allocator>>, unsigned long const&, unsigned long&) @ 0x000000000ba52f4f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr>> std::allocate_shared[abi:v15000]>, std::allocator>>, unsigned long const&, unsigned long&, void>(std::allocator>> const&, unsigned long const&, unsigned long&) @ 0x000000000ba52dc2 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr>> std::make_shared[abi:v15000]>, unsigned long const&, unsigned long&, void>(unsigned long const&, unsigned long&) @ 0x000000000ba52cce in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypesDecimal.h:267: std::shared_ptr DB::createDecimalMaxPrecision>(unsigned long) @ 0x000000000ba52c5c in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1872: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ba52aed in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ba52900 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000ba528bd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000ba5287d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000ba5283d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000ba52805 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b266abe in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b26577d in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ba5263b in /usr/bin/clickhouse 23. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ba3615a in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:25:28.895725 [ 11806 ] {1b93e26d-0659-4610-8599-4afb67fa2226} executeQuery: Code: 69. DB::Exception: Scale 10 is out of bounds (max scale: 9): While processing '1E-10' AS x, toDecimal32(x, 10). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42266) (comment: 01425_decimal_parse_big_negative_exponent.sql) (in query: SELECT '1E-10' AS x, toDecimal32(x, 10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDecimalBase.h:78: DB::DataTypeDecimalBase>::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x000000000b4e113b in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:37: DB::DataTypeDecimal>::DataTypeDecimal(unsigned int, unsigned int) @ 0x000000000b4e0d65 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDecimal>* std::construct_at[abi:v15000]>, unsigned long const&, unsigned long&, DB::DataTypeDecimal>*>(DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x000000000ba534b4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>>::construct[abi:v15000]>, unsigned long const&, unsigned long&, void, void>(std::allocator>>&, DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x000000000ba53269 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>, std::allocator>>>::__shared_ptr_emplace[abi:v15000](std::allocator>>, unsigned long const&, unsigned long&) @ 0x000000000ba52f4f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr>> std::allocate_shared[abi:v15000]>, std::allocator>>, unsigned long const&, unsigned long&, void>(std::allocator>> const&, unsigned long const&, unsigned long&) @ 0x000000000ba52dc2 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr>> std::make_shared[abi:v15000]>, unsigned long const&, unsigned long&, void>(unsigned long const&, unsigned long&) @ 0x000000000ba52cce in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypesDecimal.h:267: std::shared_ptr DB::createDecimalMaxPrecision>(unsigned long) @ 0x000000000ba52c5c in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1872: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ba52aed in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ba52900 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000ba528bd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000ba5287d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000ba5283d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000ba52805 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b266abe in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b26577d in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ba5263b in /usr/bin/clickhouse 23. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ba3615a in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:25:28.896645 [ 11806 ] {1b93e26d-0659-4610-8599-4afb67fa2226} TCPHandler: Code: 69. DB::Exception: Scale 10 is out of bounds (max scale: 9): While processing '1E-10' AS x, toDecimal32(x, 10). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeDecimalBase.h:78: DB::DataTypeDecimalBase>::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x000000000b4e113b in /usr/bin/clickhouse 7. /build/src/DataTypes/DataTypesDecimal.h:37: DB::DataTypeDecimal>::DataTypeDecimal(unsigned int, unsigned int) @ 0x000000000b4e0d65 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDecimal>* std::construct_at[abi:v15000]>, unsigned long const&, unsigned long&, DB::DataTypeDecimal>*>(DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x000000000ba534b4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>>::construct[abi:v15000]>, unsigned long const&, unsigned long&, void, void>(std::allocator>>&, DB::DataTypeDecimal>*, unsigned long const&, unsigned long&) @ 0x000000000ba53269 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>, std::allocator>>>::__shared_ptr_emplace[abi:v15000](std::allocator>>, unsigned long const&, unsigned long&) @ 0x000000000ba52f4f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr>> std::allocate_shared[abi:v15000]>, std::allocator>>, unsigned long const&, unsigned long&, void>(std::allocator>> const&, unsigned long const&, unsigned long&) @ 0x000000000ba52dc2 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr>> std::make_shared[abi:v15000]>, unsigned long const&, unsigned long&, void>(unsigned long const&, unsigned long&) @ 0x000000000ba52cce in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypesDecimal.h:267: std::shared_ptr DB::createDecimalMaxPrecision>(unsigned long) @ 0x000000000ba52c5c in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1872: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ba52aed in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ba52900 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000ba528bd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000ba5287d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000ba5283d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000ba52805 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b266abe in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b26577d in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ba5263b in /usr/bin/clickhouse 23. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ba3615a in /usr/bin/clickhouse 24. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:25:31.871949 [ 11806 ] {315db8be-9eeb-4b44-8c10-ac69904e8a21} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57170) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_null (`id` Nullable(String)) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 37239, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 12304, prefer_fetch_merged_part_size_threshold = 8069127474, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 20958086, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 58213, primary_key_compress_block_size = 50153), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de6457e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63db0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:25:31.873018 [ 11806 ] {315db8be-9eeb-4b44-8c10-ac69904e8a21} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de6457e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63db0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:25:31.891746 [ 11806 ] {adaec732-a20c-4be3-adc1-d036aecad52d} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57170) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_lc_null (`id` LowCardinality(Nullable(String))) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 37239, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 12304, prefer_fetch_merged_part_size_threshold = 8069127474, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 20958086, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 58213, primary_key_compress_block_size = 50153), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de6457e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63db0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:25:31.892826 [ 11806 ] {adaec732-a20c-4be3-adc1-d036aecad52d} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de6457e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63db0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:25:31.910366 [ 11806 ] {45a7e32c-04d5-4908-9f1d-0102a3ed0c48} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57170) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_array_null (`id` Array(Nullable(String))) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 37239, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 12304, prefer_fetch_merged_part_size_threshold = 8069127474, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 20958086, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 58213, primary_key_compress_block_size = 50153), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de6457e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63db0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:25:31.911430 [ 11806 ] {45a7e32c-04d5-4908-9f1d-0102a3ed0c48} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de6457e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63db0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:25:31.931241 [ 11806 ] {7a18b6b9-015b-4c2e-9c5a-227a95989474} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57170) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_tuple_null (`id` Tuple(Nullable(String), UInt8)) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 37239, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 12304, prefer_fetch_merged_part_size_threshold = 8069127474, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 20958086, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 58213, primary_key_compress_block_size = 50153), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de6457e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63db0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:25:31.932274 [ 11806 ] {7a18b6b9-015b-4c2e-9c5a-227a95989474} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de6457e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63db0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:25:31.954210 [ 11806 ] {f4bcf9e4-c19f-459f-811f-d4fb6d9e148d} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57170) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_map_null (`id` Map(UInt8, Nullable(String))) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 37239, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 12304, prefer_fetch_merged_part_size_threshold = 8069127474, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 20958086, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 58213, primary_key_compress_block_size = 50153), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de6457e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63db0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:25:31.955161 [ 11806 ] {f4bcf9e4-c19f-459f-811f-d4fb6d9e148d} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de6457e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63db0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:25:31.981949 [ 11806 ] {61c4a62d-58b8-428e-982b-e781b5f590b6} executeQuery: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57170) (comment: 01410_nullable_key_and_index.sql) (in query: CREATE TABLE invalid_simple_agg_state_null (`id` SimpleAggregateFunction(sum, Nullable(UInt64))) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 37239, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 12304, prefer_fetch_merged_part_size_threshold = 8069127474, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 20958086, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 58213, primary_key_compress_block_size = 50153), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de6457e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63db0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:25:31.983337 [ 11806 ] {61c4a62d-58b8-428e-982b-e781b5f590b6} TCPHandler: Code: 44. DB::Exception: Sorting key contains nullable columns, but merge tree setting `allow_nullable_key` is disabled. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:477: DB::checkKeyExpression(DB::ExpressionActions const&, DB::Block const&, String const&, bool) @ 0x000000001de6457e in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:611: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63db0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 10. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 23. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:25:33.659325 [ 11806 ] {2c929fbb-0ad3-4ed2-95ba-0938b6d68a63} executeQuery: Code: 691. DB::Exception: Unknown element '' for enum: While processing CAST(CAST('', 'Nullable(String)'), 'Nullable(Enum8(\'Hello\' = 1))'). (UNKNOWN_ELEMENT_OF_ENUM) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57224) (comment: 01402_cast_nullable_string_to_enum.sql) (in query: -- empty string still not acceptable SELECT CAST(CAST('' AS Nullable(String)) AS Nullable(Enum8('Hello' = 1)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000d9ea36c in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x000000001b9b72ca in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3777: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8d13c2 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d1126 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d108c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d1020 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8d0fc8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:3950: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8e934f in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e9186 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e9120 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e90c0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8e906b in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 2024.12.17 01:25:33.660918 [ 11806 ] {2c929fbb-0ad3-4ed2-95ba-0938b6d68a63} TCPHandler: Code: 691. DB::Exception: Unknown element '' for enum: While processing CAST(CAST('', 'Nullable(String)'), 'Nullable(Enum8(\'Hello\' = 1))'). (UNKNOWN_ELEMENT_OF_ENUM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000d9ea36c in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x000000001b9b72ca in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3777: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8d13c2 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d1126 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d108c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d1020 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8d0fc8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:3950: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8e934f in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e9186 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e9120 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e90c0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8e906b in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 2024.12.17 01:25:33.923832 [ 11806 ] {a521637c-e936-4435-8d0e-5f5fe12ae4e3} executeQuery: Code: 691. DB::Exception: Unknown element '' for enum: While processing CAST(CAST('', 'Nullable(FixedString(1))'), 'Nullable(Enum8(\'Hello\' = 1))'). (UNKNOWN_ELEMENT_OF_ENUM) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57224) (comment: 01402_cast_nullable_string_to_enum.sql) (in query: SELECT CAST(CAST('' AS Nullable(FixedString(1))) AS Nullable(Enum8('Hello' = 1)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000d9ea36c in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x000000001b9b72ca in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3777: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8d1ca2 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d1a06 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d196c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d1900 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8d18a8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:3950: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8e934f in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e9186 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e9120 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e90c0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8e906b in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 2024.12.17 01:25:33.925449 [ 11806 ] {a521637c-e936-4435-8d0e-5f5fe12ae4e3} TCPHandler: Code: 691. DB::Exception: Unknown element '' for enum: While processing CAST(CAST('', 'Nullable(FixedString(1))'), 'Nullable(Enum8(\'Hello\' = 1))'). (UNKNOWN_ELEMENT_OF_ENUM), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000d9ea36c in /usr/bin/clickhouse 6. /build/src/DataTypes/EnumValues.cpp:72: DB::EnumValues::getValue(StringRef, bool) const @ 0x000000001b9b72ca in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:3777: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8d1ca2 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d1a06 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d196c in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8d1900 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createStringToEnumWrapper>() const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8d18a8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:3950: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8e934f in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e9186 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e9120 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e90c0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8e906b in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 2024.12.17 01:25:34.128883 [ 11806 ] {f468cbb1-cf6f-486b-9cff-31a0e08e0622} executeQuery: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing CAST(CAST(NULL, 'Nullable(String)'), 'Enum8(\'Hello\' = 1)'). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57224) (comment: 01402_cast_nullable_string_to_enum.sql) (in query: -- non-Nullable Enum() still not acceptable SELECT CAST(CAST(NULL AS Nullable(String)) AS Enum8('Hello' = 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [47]) @ 0x000000000b5b469e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3980: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8e9c84 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e9b06 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e9aa0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e9a40 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8e99eb in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:25:34.129876 [ 11806 ] {f468cbb1-cf6f-486b-9cff-31a0e08e0622} TCPHandler: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing CAST(CAST(NULL, 'Nullable(String)'), 'Enum8(\'Hello\' = 1)'). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [47]) @ 0x000000000b5b469e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3980: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8e9c84 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e9b06 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e9aa0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e9a40 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8e99eb in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:25:34.140648 [ 11806 ] {6da0c646-f760-4fa6-80f6-001c9898ca56} executeQuery: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing CAST(CAST(NULL, 'Nullable(FixedString(1))'), 'Enum8(\'Hello\' = 1)'). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57224) (comment: 01402_cast_nullable_string_to_enum.sql) (in query: SELECT CAST(CAST(NULL AS Nullable(FixedString(1))) AS Enum8('Hello' = 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [47]) @ 0x000000000b5b469e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3980: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8e9c84 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e9b06 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e9aa0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e9a40 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8e99eb in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:25:34.141542 [ 11806 ] {6da0c646-f760-4fa6-80f6-001c9898ca56} TCPHandler: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While processing CAST(CAST(NULL, 'Nullable(FixedString(1))'), 'Enum8(\'Hello\' = 1)'). (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [47]) @ 0x000000000b5b469e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3980: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b8e9c84 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e9b06 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e9aa0 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b8e9a40 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b8e99eb in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:25:34.588442 [ 8670 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: header_test: Authentication failed: Code: 192. DB::Exception: There is no user `header_test` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f40d9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f71dd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f6f8f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b181d69 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f6eda in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb0eac in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:25:34.668231 [ 8670 ] {} DynamicQueryHandler: Code: 516. DB::Exception: header_test: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:25:34.698322 [ 8670 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: : Authentication failed: Code: 192. DB::Exception: There is no user `` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f40d9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f71dd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f6f8f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b181d69 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f6eda in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb0eac in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:25:34.699468 [ 8670 ] {} DynamicQueryHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:25:34.731359 [ 8670 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: : Authentication failed: Code: 192. DB::Exception: There is no user `` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f40d9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f71dd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f6f8f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b181d69 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f6eda in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb0eac in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:25:34.732509 [ 8670 ] {} DynamicQueryHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:25:34.854054 [ 8670 ] {} DynamicQueryHandler: Code: 81. DB::Exception: Database header_test does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:509: DB::DatabaseCatalog::assertDatabaseExists(String const&) const @ 0x000000001bee0961 in /usr/bin/clickhouse 7. /build/src/Interpreters/Context.cpp:1965: DB::Context::setCurrentDatabase(String const&) @ 0x000000001bdc3149 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:762: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bf1e3 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 16. ? @ 0x00007f3559e74ac3 in ? 17. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:25:34.982487 [ 2921 ] {95ff93be-a15e-4f32-bade-1dcb31e1ae4c} executeQuery: Code: 73. DB::Exception: Unknown format header_test. (UNKNOWN_FORMAT) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:53240) (comment: 01399_http_request_headers.sh) (in query: SELECT 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:38: DB::FormatFactory::getCreators(String const&) const @ 0x000000001e66d47c in /usr/bin/clickhouse 7. /build/src/Formats/FormatFactory.cpp:425: DB::FormatFactory::getOutputFormatParallelIfPossible(String const&, DB::WriteBuffer&, DB::Block const&, std::shared_ptr, std::optional const&) const @ 0x000000001e66f81b in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1376: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2349 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:25:34.983672 [ 2921 ] {95ff93be-a15e-4f32-bade-1dcb31e1ae4c} DynamicQueryHandler: Code: 73. DB::Exception: Unknown format header_test. (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:38: DB::FormatFactory::getCreators(String const&) const @ 0x000000001e66d47c in /usr/bin/clickhouse 7. /build/src/Formats/FormatFactory.cpp:425: DB::FormatFactory::getOutputFormatParallelIfPossible(String const&, DB::WriteBuffer&, DB::Block const&, std::shared_ptr, std::optional const&) const @ 0x000000001e66f81b in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1376: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2349 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:25:36.255159 [ 6046 ] {de8f57d9-5625-44e8-9530-39131b91216b} executeQuery: Code: 70. DB::Exception: Cannot convert out of range floating point value to integer type: while executing 'FUNCTION and(c0 : 0, -1. : 2) -> and(c0, -1.) UInt8 : 3'. (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57284) (comment: 01386_negative_float_constant_key_condition.sql) (in query: SELECT t0.c1 FROM t0 WHERE NOT (t0.c1 OR (t0.c0 AND -1.0));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [65]) @ 0x000000000e1cd6fe in /usr/bin/clickhouse 6. /build/src/Common/FieldVisitorConvertToNumber.h:74: DB::FieldVisitorConvertToNumber::operator()(double const&) const @ 0x000000001b7cc9af in /usr/bin/clickhouse 7. /build/src/Core/Field.h:638: auto DB::Field::dispatch, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x000000001b7cc389 in /usr/bin/clickhouse 8. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x000000001b7cc17d in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsLogical.cpp:140: bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&)::'lambda'(DB::Field const&)::operator()(DB::Field const&) const @ 0x000000001bd316d6 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsLogical.cpp:110: bool DB::(anonymous namespace)::extractConstColumns(std::vector>&, char8_t&)::'lambda'(DB::Field const&)>(std::vector>&, char8_t&, bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&)::'lambda'(DB::Field const&)&&) @ 0x000000001bd31576 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsLogical.cpp:136: bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&) @ 0x000000001bd31101 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsLogical.cpp:459: COW::immutable_ptr DB::(anonymous namespace)::basicExecuteImpl(std::vector>, unsigned long) @ 0x000000001bd2c2c2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsLogical.cpp:661: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001bd5ef28 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8394e in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1906: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb9442 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 2024.12.17 01:25:36.256231 [ 6046 ] {de8f57d9-5625-44e8-9530-39131b91216b} TCPHandler: Code: 70. DB::Exception: Cannot convert out of range floating point value to integer type: while executing 'FUNCTION and(c0 : 0, -1. : 2) -> and(c0, -1.) UInt8 : 3'. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [65]) @ 0x000000000e1cd6fe in /usr/bin/clickhouse 6. /build/src/Common/FieldVisitorConvertToNumber.h:74: DB::FieldVisitorConvertToNumber::operator()(double const&) const @ 0x000000001b7cc9af in /usr/bin/clickhouse 7. /build/src/Core/Field.h:638: auto DB::Field::dispatch, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x000000001b7cc389 in /usr/bin/clickhouse 8. /build/src/Common/FieldVisitors.h:24: auto DB::applyVisitor, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x000000001b7cc17d in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsLogical.cpp:140: bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&)::'lambda'(DB::Field const&)::operator()(DB::Field const&) const @ 0x000000001bd316d6 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsLogical.cpp:110: bool DB::(anonymous namespace)::extractConstColumns(std::vector>&, char8_t&)::'lambda'(DB::Field const&)>(std::vector>&, char8_t&, bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&)::'lambda'(DB::Field const&)&&) @ 0x000000001bd31576 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsLogical.cpp:136: bool DB::(anonymous namespace)::extractConstColumnsAsBool(std::vector>&, char8_t&) @ 0x000000001bd31101 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsLogical.cpp:459: COW::immutable_ptr DB::(anonymous namespace)::basicExecuteImpl(std::vector>, unsigned long) @ 0x000000001bd2c2c2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsLogical.cpp:661: DB::FunctionsLogicalDetail::FunctionAnyArityLogical::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001bd5ef28 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8394e in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1906: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb9442 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 2024.12.17 01:25:36.436789 [ 11806 ] {9bb3240e-1b3c-43f2-b196-f12bd779765c} executeQuery: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57274) (comment: 01387_clear_column_default_depends.sql) (in query: ALTER TABLE test DROP COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1237: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58eb89 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:25:36.437518 [ 11806 ] {9bb3240e-1b3c-43f2-b196-f12bd779765c} TCPHandler: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1237: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58eb89 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:25:36.571614 [ 11806 ] {dcec7ba2-baae-4dae-99d8-cc40a4e1cb9d} executeQuery: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57274) (comment: 01387_clear_column_default_depends.sql) (in query: ALTER TABLE test DROP COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1237: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58eb89 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:25:36.572558 [ 11806 ] {dcec7ba2-baae-4dae-99d8-cc40a4e1cb9d} TCPHandler: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1237: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58eb89 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:25:36.853221 [ 11806 ] {94d184cf-d25c-4586-aaa6-c2dad40a306d} executeQuery: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57274) (comment: 01387_clear_column_default_depends.sql) (in query: ALTER TABLE test DROP COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1237: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58eb89 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:25:36.853342 [ 11801 ] {b31bec69-1e5b-4976-a6f7-6a1d357febb0} executeQuery: Code: 36. DB::Exception: The size of bloom filter cannot be zero. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57324) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(0, 2, 0) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 64065, min_bytes_for_wide_part = 696132740, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 11553, prefer_fetch_merged_part_size_threshold = 867943963, vertical_merge_algorithm_min_rows_to_activate = 98838, vertical_merge_algorithm_min_columns_to_activate = 21, min_merge_bytes_to_use_direct_io = 6912074724, index_granularity_bytes = 22048383, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 69110, primary_key_compress_block_size = 49095), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [40]) @ 0x000000000b20555e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:28: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x000000001bda320f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:771: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02a529 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e00378d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e003745 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e003705 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e0036b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e0026ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffce88 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffb986 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63730 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 2024.12.17 01:25:36.854155 [ 11806 ] {94d184cf-d25c-4586-aaa6-c2dad40a306d} TCPHandler: Code: 44. DB::Exception: Cannot drop column `x`, because column `y` depends on it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1237: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58eb89 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:25:36.854430 [ 11801 ] {b31bec69-1e5b-4976-a6f7-6a1d357febb0} TCPHandler: Code: 36. DB::Exception: The size of bloom filter cannot be zero. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [40]) @ 0x000000000b20555e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:28: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x000000001bda320f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:771: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02a529 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e00378d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e003745 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e003705 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e0036b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e0026ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffce88 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffb986 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63730 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 2024.12.17 01:25:37.024447 [ 11801 ] {9e33fc79-e714-45eb-8c78-955b1db62f01} executeQuery: Code: 36. DB::Exception: The number of hash functions for bloom filter cannot be zero. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57324) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(2, 0, 0) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 64065, min_bytes_for_wide_part = 696132740, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 11553, prefer_fetch_merged_part_size_threshold = 867943963, vertical_merge_algorithm_min_rows_to_activate = 98838, vertical_merge_algorithm_min_columns_to_activate = 21, min_merge_bytes_to_use_direct_io = 6912074724, index_granularity_bytes = 22048383, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 69110, primary_key_compress_block_size = 49095), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [61]) @ 0x000000000bc60d7e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:30: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x000000001bda327d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:771: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02a529 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e00378d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e003745 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e003705 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e0036b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e0026ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffce88 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffb986 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63730 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 2024.12.17 01:25:37.025601 [ 11801 ] {9e33fc79-e714-45eb-8c78-955b1db62f01} TCPHandler: Code: 36. DB::Exception: The number of hash functions for bloom filter cannot be zero. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [61]) @ 0x000000000bc60d7e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:30: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x000000001bda327d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:771: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02a529 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e00378d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e003745 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e003705 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e0036b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e0026ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffce88 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffb986 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63730 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 2024.12.17 01:25:37.045253 [ 11801 ] {b44b0688-74d8-4041-9eb1-61d38935ec88} executeQuery: Code: 36. DB::Exception: The size of bloom filter cannot be zero. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57324) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(0, 1, 1) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 64065, min_bytes_for_wide_part = 696132740, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 11553, prefer_fetch_merged_part_size_threshold = 867943963, vertical_merge_algorithm_min_rows_to_activate = 98838, vertical_merge_algorithm_min_columns_to_activate = 21, min_merge_bytes_to_use_direct_io = 6912074724, index_granularity_bytes = 22048383, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 69110, primary_key_compress_block_size = 49095), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [40]) @ 0x000000000b20555e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:28: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x000000001bda320f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:771: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02a529 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e00378d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e003745 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e003705 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e0036b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e0026ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffce88 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffb986 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63730 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 2024.12.17 01:25:37.046435 [ 11801 ] {b44b0688-74d8-4041-9eb1-61d38935ec88} TCPHandler: Code: 36. DB::Exception: The size of bloom filter cannot be zero. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [40]) @ 0x000000000b20555e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:28: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x000000001bda320f in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:771: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02a529 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e00378d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e003745 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e003705 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e0036b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e0026ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffce88 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffb986 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63730 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 2024.12.17 01:25:37.067810 [ 11801 ] {4ed2170d-c04b-4b4b-a35b-b11070a59f9f} executeQuery: Code: 36. DB::Exception: The number of hash functions for bloom filter cannot be zero. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57324) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(1, 0, 1) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 64065, min_bytes_for_wide_part = 696132740, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 11553, prefer_fetch_merged_part_size_threshold = 867943963, vertical_merge_algorithm_min_rows_to_activate = 98838, vertical_merge_algorithm_min_columns_to_activate = 21, min_merge_bytes_to_use_direct_io = 6912074724, index_granularity_bytes = 22048383, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 69110, primary_key_compress_block_size = 49095), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [61]) @ 0x000000000bc60d7e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:30: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x000000001bda327d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:771: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02a529 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e00378d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e003745 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e003705 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e0036b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e0026ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffce88 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffb986 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63730 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 2024.12.17 01:25:37.068976 [ 11801 ] {4ed2170d-c04b-4b4b-a35b-b11070a59f9f} TCPHandler: Code: 36. DB::Exception: The number of hash functions for bloom filter cannot be zero. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [61]) @ 0x000000000bc60d7e in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:30: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x000000001bda327d in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:771: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02a529 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e00378d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e003745 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e003705 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e0036b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e0026ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffce88 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffb986 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63730 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 2024.12.17 01:25:37.232992 [ 11801 ] {c7a6b984-cad1-4189-b5e9-b4daec43d6f5} executeQuery: Code: 36. DB::Exception: All parameters to *bf_v1 index must be unsigned integers. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57324) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(0.1, 2, 0) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 64065, min_bytes_for_wide_part = 696132740, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 11553, prefer_fetch_merged_part_size_threshold = 867943963, vertical_merge_algorithm_min_rows_to_activate = 98838, vertical_merge_algorithm_min_columns_to_activate = 21, min_merge_bytes_to_use_direct_io = 6912074724, index_granularity_bytes = 22048383, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 69110, primary_key_compress_block_size = 49095), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb45fe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:764: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02a459 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e00378d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e003745 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e003705 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e0036b0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e0026ce in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffce88 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffb986 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63730 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 17. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 30. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 2024.12.17 01:25:37.234214 [ 11801 ] {c7a6b984-cad1-4189-b5e9-b4daec43d6f5} TCPHandler: Code: 36. DB::Exception: All parameters to *bf_v1 index must be unsigned integers. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb45fe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:764: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02a459 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e00378d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e003745 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e003705 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e0036b0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e0026ce in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffce88 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffb986 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63730 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 17. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 30. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 2024.12.17 01:25:37.253700 [ 11801 ] {9c05abcb-3e10-40f2-b799-a1a879880db5} executeQuery: Code: 36. DB::Exception: All parameters to *bf_v1 index must be unsigned integers. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57324) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(-1, 2, 0) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 64065, min_bytes_for_wide_part = 696132740, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 11553, prefer_fetch_merged_part_size_threshold = 867943963, vertical_merge_algorithm_min_rows_to_activate = 98838, vertical_merge_algorithm_min_columns_to_activate = 21, min_merge_bytes_to_use_direct_io = 6912074724, index_granularity_bytes = 22048383, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 69110, primary_key_compress_block_size = 49095), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb45fe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:764: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02a459 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e00378d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e003745 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e003705 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e0036b0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e0026ce in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffce88 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffb986 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63730 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 17. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 30. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 2024.12.17 01:25:37.254668 [ 11801 ] {9c05abcb-3e10-40f2-b799-a1a879880db5} TCPHandler: Code: 36. DB::Exception: All parameters to *bf_v1 index must be unsigned integers. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb45fe in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:764: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02a459 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e00378d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e003745 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e003705 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e0036b0 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e0026ce in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffce88 in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffb986 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63730 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 17. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 23. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 30. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 2024.12.17 01:25:37.417405 [ 11801 ] {f2452eca-2893-4eee-b706-a08bc108f492} executeQuery: Code: 36. DB::Exception: The size of bloom filter cannot be more than 1073741824. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57324) (comment: 01384_bloom_filter_bad_arguments.sql) (in query: CREATE TABLE test (`a` String, INDEX a a TYPE tokenbf_v1(4294967295, 2, 0) GRANULARITY 1) ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 64065, min_bytes_for_wide_part = 696132740, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 11553, prefer_fetch_merged_part_size_threshold = 867943963, vertical_merge_algorithm_min_rows_to_activate = 98838, vertical_merge_algorithm_min_columns_to_activate = 21, min_merge_bytes_to_use_direct_io = 6912074724, index_granularity_bytes = 22048383, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 69110, primary_key_compress_block_size = 49095), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x000000000b93b533 in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:32: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x000000001bda3321 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:771: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02a529 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e00378d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e003745 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e003705 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e0036b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e0026ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffce88 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffb986 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63730 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 2024.12.17 01:25:37.418471 [ 11801 ] {f2452eca-2893-4eee-b706-a08bc108f492} TCPHandler: Code: 36. DB::Exception: The size of bloom filter cannot be more than 1073741824. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x000000000b93b533 in /usr/bin/clickhouse 6. /build/src/Interpreters/BloomFilter.cpp:32: DB::BloomFilterParameters::BloomFilterParameters(unsigned long, unsigned long, unsigned long) @ 0x000000001bda3321 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeIndexFullText.cpp:771: DB::bloomFilterIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001e02a529 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval())) std::__invoke[abi:v15000](void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e00378d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(void (*&)(DB::IndexDescription const&, bool), DB::IndexDescription const&, bool&&) @ 0x000000001e003745 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) @ 0x000000001e003705 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001e0036b0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::IndexDescription const&, bool&&) const @ 0x000000001e0026ce in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::IndexDescription const&, bool) const @ 0x000000001dffce88 in /usr/bin/clickhouse 14. /build/src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001dffb986 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeData.cpp:586: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001de63730 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/MergeTreeData.cpp:620: DB::MergeTreeData::setProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr) @ 0x000000001de60a56 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/MergeTreeData.cpp:390: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001de5fdcd in /usr/bin/clickhouse 18. /build/src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001e35d713 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::StorageMergeTree*>(DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35d2da in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void, void>(std::allocator&, DB::StorageMergeTree*, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cfd5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&>(std::allocator, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35cc63 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35ca75 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001e35b05b in /usr/bin/clickhouse 24. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:708: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e35929f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 31. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 2024.12.17 01:25:42.872100 [ 3551 ] {a29493f2-708e-4a46-82ee-d3dcba661693} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085327 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42434) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:25:42.873219 [ 3551 ] {a29493f2-708e-4a46-82ee-d3dcba661693} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085327 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:25:43.694354 [ 3551 ] {e4e8aca4-2f46-479b-9936-15f0cee803ef} executeQuery: Code: 69. DB::Exception: Too large offset: -9223372036854775808 in function neighbor. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42460) (comment: 01353_neighbor_overflow.sql) (in query: SELECT neighbor(toString(number), -9223372036854775808) FROM numbers(100);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&, String&&) @ 0x000000001150292c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:121: DB::(anonymous namespace)::FunctionNeighbor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001150154b in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:25:43.695209 [ 3551 ] {e4e8aca4-2f46-479b-9936-15f0cee803ef} TCPHandler: Code: 69. DB::Exception: Too large offset: -9223372036854775808 in function neighbor. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&, String&&) @ 0x000000001150292c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:121: DB::(anonymous namespace)::FunctionNeighbor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001150154b in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:25:43.904772 [ 3551 ] {a2202639-b9e5-47ea-a75a-688f6f310ce2} executeQuery: Code: 69. DB::Exception: Too large offset: -7199318101869473617 in function neighbor: while executing 'FUNCTION neighbor(toString(number) :: 2, toInt64(rand64()) :: 3) -> x String : 1'. (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42460) (comment: 01353_neighbor_overflow.sql) (in query: WITH neighbor(toString(number), toInt64(rand64())) AS x SELECT * FROM system.numbers WHERE NOT ignore(x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&, String&&) @ 0x000000001150292c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:184: DB::(anonymous namespace)::FunctionNeighbor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011501977 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/FilterTransform.cpp:135: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000001ebcc393 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/FilterTransform.cpp:120: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000001ebcc252 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 2024.12.17 01:25:44.053886 [ 3551 ] {a2202639-b9e5-47ea-a75a-688f6f310ce2} TCPHandler: Code: 69. DB::Exception: Too large offset: -7199318101869473617 in function neighbor: while executing 'FUNCTION neighbor(toString(number) :: 2, toInt64(rand64()) :: 3) -> x String : 1'. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, long&, String&&) @ 0x000000001150292c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:184: DB::(anonymous namespace)::FunctionNeighbor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011501977 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 11. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/FilterTransform.cpp:135: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000001ebcc393 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/FilterTransform.cpp:120: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000001ebcc252 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 2024.12.17 01:25:44.053882 [ 21981 ] {9ea85920-ea2e-4fd6-94b7-8483ece0d724} executeQuery: Code: 128. DB::Exception: Too large array size in GenerateRandom: 9223372036854775807, maximum: 1073741824. (TOO_LARGE_ARRAY_SIZE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42482) (comment: 01352_generate_random_overflow.sql) (in query: SELECT i FROM generateRandom('i Array(Nullable(Enum8(\'hello\' = 1, \'world\' = 5)))', 1025, 65535, 9223372036854775807) LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000c4b06cc in /usr/bin/clickhouse 6. /build/src/Storages/StorageGenerateRandom.cpp:593: DB::StorageGenerateRandom::StorageGenerateRandom(DB::StorageID const&, DB::ColumnsDescription const&, String const&, unsigned long, unsigned long, std::optional const&) @ 0x000000001d6bae0b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageGenerateRandom* std::construct_at[abi:v15000] const&, DB::StorageGenerateRandom*>(DB::StorageGenerateRandom*, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x000000001a98a8b3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::StorageGenerateRandom*, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x000000001a98a64d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x000000001a98a319 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, String, unsigned long const&, unsigned long const&, std::optional const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x000000001a98a16e in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x000000001a989b94 in /usr/bin/clickhouse 12. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:119: DB::TableFunctionGenerateRandom::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a989820 in /usr/bin/clickhouse 13. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 15. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:25:44.054932 [ 21981 ] {9ea85920-ea2e-4fd6-94b7-8483ece0d724} TCPHandler: Code: 128. DB::Exception: Too large array size in GenerateRandom: 9223372036854775807, maximum: 1073741824. (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000c4b06cc in /usr/bin/clickhouse 6. /build/src/Storages/StorageGenerateRandom.cpp:593: DB::StorageGenerateRandom::StorageGenerateRandom(DB::StorageID const&, DB::ColumnsDescription const&, String const&, unsigned long, unsigned long, std::optional const&) @ 0x000000001d6bae0b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageGenerateRandom* std::construct_at[abi:v15000] const&, DB::StorageGenerateRandom*>(DB::StorageGenerateRandom*, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x000000001a98a8b3 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::StorageGenerateRandom*, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x000000001a98a64d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x000000001a98a319 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, String, unsigned long const&, unsigned long const&, std::optional const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x000000001a98a16e in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(DB::StorageID&&, DB::ColumnsDescription&, String&&, unsigned long const&, unsigned long const&, std::optional const&) @ 0x000000001a989b94 in /usr/bin/clickhouse 12. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:119: DB::TableFunctionGenerateRandom::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a989820 in /usr/bin/clickhouse 13. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 15. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:25:46.782764 [ 8666 ] {b4104363-32ec-4163-a270-0889b02976c7} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42554) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:25:46.783731 [ 8666 ] {b4104363-32ec-4163-a270-0889b02976c7} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:25:47.311311 [ 8666 ] {e766e134-eae0-426f-866a-6ac326b78880} executeQuery: Code: 36. DB::Exception: Expression with arrayJoin cannot depend on lambda argument: array(x, 1): While processing arrayMap(x -> arrayJoin([x, 1]), [1, 2]). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42564) (comment: 01330_array_join_in_higher_order_function.sql) (in query: SELECT arrayMap(x -> arrayJoin([x, 1]), [1, 2]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/ActionsVisitor.cpp:614: DB::ScopeStack::addArrayJoin(String const&, String) @ 0x000000001bfe45c0 in /usr/bin/clickhouse 7. /build/src/Interpreters/ActionsVisitor.h:174: DB::ActionsMatcher::Data::addArrayJoin(String const&, String) @ 0x000000001bff0ead in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:859: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe566b in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1242: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe9825 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:25:47.312337 [ 8666 ] {e766e134-eae0-426f-866a-6ac326b78880} TCPHandler: Code: 36. DB::Exception: Expression with arrayJoin cannot depend on lambda argument: array(x, 1): While processing arrayMap(x -> arrayJoin([x, 1]), [1, 2]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/ActionsVisitor.cpp:614: DB::ScopeStack::addArrayJoin(String const&, String) @ 0x000000001bfe45c0 in /usr/bin/clickhouse 7. /build/src/Interpreters/ActionsVisitor.h:174: DB::ActionsMatcher::Data::addArrayJoin(String const&, String) @ 0x000000001bff0ead in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsVisitor.cpp:859: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe566b in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:1242: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe9825 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:25:50.382297 [ 21984 ] {dbcc3428-3834-4e1d-844b-5f53ff16336d} executeQuery: Code: 184. DB::Exception: Aggregate function anyLast(number) is found inside another aggregate function in query: While processing anyLast(number). (ILLEGAL_AGGREGATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42662) (comment: 01322_any_input_optimize.sql) (in query: SELECT any(anyLast(number)) FROM numbers(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd6db1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:59: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd6cc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfd6ac0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd73e1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd6a4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfc1045 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:112: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x000000001cfac359 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:755: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000001cfa040e in /usr/bin/clickhouse 14. /build/src/Interpreters/TreeRewriter.cpp:1254: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c350 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:25:50.382441 [ 21983 ] {eff4ade3-5013-4879-8751-d673b90f8e52} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44544) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:25:50.383087 [ 21984 ] {dbcc3428-3834-4e1d-844b-5f53ff16336d} TCPHandler: Code: 184. DB::Exception: Aggregate function anyLast(number) is found inside another aggregate function in query: While processing anyLast(number). (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd6db1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:59: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd6cc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfd6ac0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd73e1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd6a4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfc1045 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:112: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x000000001cfac359 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:755: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000001cfa040e in /usr/bin/clickhouse 14. /build/src/Interpreters/TreeRewriter.cpp:1254: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c350 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:25:50.383590 [ 21983 ] {eff4ade3-5013-4879-8751-d673b90f8e52} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:25:50.582172 [ 21984 ] {5716e273-d129-4b8d-b3fa-c9375c08431f} executeQuery: Code: 184. DB::Exception: Aggregate function anyLast(number) is found inside another aggregate function in query: While processing anyLast(number). (ILLEGAL_AGGREGATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42662) (comment: 01322_any_input_optimize.sql) (in query: SELECT any(anyLast(number)) FROM numbers(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd6db1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:59: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd6cc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfd6ac0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd73e1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd6a4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfc1045 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:112: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x000000001cfac359 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:755: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000001cfa040e in /usr/bin/clickhouse 14. /build/src/Interpreters/TreeRewriter.cpp:1254: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c350 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:25:50.582862 [ 21984 ] {5716e273-d129-4b8d-b3fa-c9375c08431f} TCPHandler: Code: 184. DB::Exception: Aggregate function anyLast(number) is found inside another aggregate function in query: While processing anyLast(number). (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd6db1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:59: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd6cc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfd6ac0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd73e1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd6a4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfc1045 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:112: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x000000001cfac359 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:755: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000001cfa040e in /usr/bin/clickhouse 14. /build/src/Interpreters/TreeRewriter.cpp:1254: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c350 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:25:52.502930 [ 11801 ] {151555ce-14ac-4326-9c28-d054e87a56e0} executeQuery: Code: 44. DB::Exception: Cannot add column value3: column with this name already exists. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44564) (comment: 01318_alter_add_column_exists.sql) (in query: ALTER TABLE add_table ADD COLUMN value3 UInt64, ADD COLUMN IF NOT EXISTS value3 UInt32;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/ColumnsDescription.cpp:203: DB::ColumnsDescription::add(DB::ColumnDescription, String const&, bool, bool) @ 0x000000001d5a26ca in /usr/bin/clickhouse 7. /build/src/Storages/AlterCommands.cpp:401: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d5874f2 in /usr/bin/clickhouse 8. /build/src/Storages/AlterCommands.cpp:929: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58b065 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8d98c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:25:52.503632 [ 11801 ] {151555ce-14ac-4326-9c28-d054e87a56e0} TCPHandler: Code: 44. DB::Exception: Cannot add column value3: column with this name already exists. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/ColumnsDescription.cpp:203: DB::ColumnsDescription::add(DB::ColumnDescription, String const&, bool, bool) @ 0x000000001d5a26ca in /usr/bin/clickhouse 7. /build/src/Storages/AlterCommands.cpp:401: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d5874f2 in /usr/bin/clickhouse 8. /build/src/Storages/AlterCommands.cpp:929: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58b065 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8d98c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:25:53.854453 [ 11801 ] {97444ffa-6345-4dbf-b184-b55008d4cc4f} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44598) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:25:53.855645 [ 11801 ] {97444ffa-6345-4dbf-b184-b55008d4cc4f} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:25:57.345849 [ 21981 ] {8821745d-36c8-4737-8368-204b52f52c7b} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1086127 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44676) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:25:57.347205 [ 21981 ] {8821745d-36c8-4737-8368-204b52f52c7b} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1086127 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:26:00.845133 [ 11801 ] {ca941c19-010a-42ac-8b5f-462723493a09} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60094) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:26:00.862685 [ 11801 ] {ca941c19-010a-42ac-8b5f-462723493a09} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:26:04.378280 [ 21993 ] {d8cc31a1-72ca-42be-aae3-fd0e3a34bdc1} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60208) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:26:04.379454 [ 21993 ] {d8cc31a1-72ca-42be-aae3-fd0e3a34bdc1} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:26:05.140296 [ 21983 ] {first-01317_no_password_in_command_line_test_2gjmtlpq} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44782) (comment: 01317_no_password_in_command_line.sh) (in query: SELECT sleepEachRow(1) FROM system.numbers LIMIT 100), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b3b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:05.142228 [ 21983 ] {first-01317_no_password_in_command_line_test_2gjmtlpq} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b3b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:07.935776 [ 21994 ] {718cdf4a-92eb-4a64-a085-62a293fea0cd} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60306) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:26:07.937057 [ 21994 ] {718cdf4a-92eb-4a64-a085-62a293fea0cd} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:26:09.775612 [ 21984 ] {second-01317_no_password_in_command_line_test_2gjmtlpq} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60276) (comment: 01317_no_password_in_command_line.sh) (in query: SELECT sleepEachRow(1) FROM system.numbers LIMIT 100), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b3b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:09.781421 [ 21984 ] {second-01317_no_password_in_command_line_test_2gjmtlpq} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b3b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:11.609136 [ 21991 ] {b8936c6e-50f0-4d61-bc6a-5ae1b9214184} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 2.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42972) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x0000000013911dad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x0000000013911d2a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cb0f8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d493b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f7a66 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cd6bd in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6cd54a in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cd4f5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cd4d9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6cd43d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6cd347 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6cd2b5 in /usr/bin/clickhouse 2024.12.17 01:26:11.610883 [ 21991 ] {b8936c6e-50f0-4d61-bc6a-5ae1b9214184} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 2.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x0000000013911dad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x0000000013911d2a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cb0f8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d493b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f7a66 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cd6bd in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6cd54a in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cd4f5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cd4d9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6cd43d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6cd347 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6cd2b5 in /usr/bin/clickhouse 2024.12.17 01:26:14.789452 [ 21999 ] {5c07d043-0283-4b49-b478-e956c70dfab9} executeQuery: Code: 160. DB::Exception: Query is executing too slow: 20925000 rows/sec., minimum: 100000000000: While executing Numbers. (TOO_SLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43054) (comment: 01287_max_execution_speed.sql) (in query: SELECT count() FROM system.numbers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, unsigned long const&) @ 0x000000001b87892c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:66: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long) const @ 0x000000001b877ef1 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:133: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x000000001b876c93 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb971 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 2024.12.17 01:26:14.792433 [ 21999 ] {5c07d043-0283-4b49-b478-e956c70dfab9} TCPHandler: Code: 160. DB::Exception: Query is executing too slow: 20925000 rows/sec., minimum: 100000000000: While executing Numbers. (TOO_SLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, unsigned long const&) @ 0x000000001b87892c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:66: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long) const @ 0x000000001b877ef1 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:133: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x000000001b876c93 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb971 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 2024.12.17 01:26:15.237523 [ 21999 ] {bf675a7d-dea6-4f63-86c1-b0fddb85d858} executeQuery: Code: 160. DB::Exception: Query is executing too slow: 334800000 bytes/sec., minimum: 800000000000: While executing Numbers. (TOO_SLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43054) (comment: 01287_max_execution_speed.sql) (in query: SELECT count() FROM system.numbers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, unsigned long const&) @ 0x000000001b87892c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:74: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long) const @ 0x000000001b878065 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:133: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x000000001b876c93 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb971 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 2024.12.17 01:26:15.237652 [ 22001 ] {568d90d5-db2a-435b-986a-341e4e501d38} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 4.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43088) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x0000000013911dad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x0000000013911d2a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cb0f8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d493b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f7a66 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cd6bd in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6cd54a in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cd4f5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cd4d9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6cd43d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6cd347 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6cd2b5 in /usr/bin/clickhouse 2024.12.17 01:26:15.239479 [ 22001 ] {568d90d5-db2a-435b-986a-341e4e501d38} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 4.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x0000000013911dad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x0000000013911d2a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cb0f8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d493b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f7a66 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cd6bd in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6cd54a in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cd4f5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cd4d9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6cd43d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6cd347 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6cd2b5 in /usr/bin/clickhouse 2024.12.17 01:26:15.240612 [ 21999 ] {bf675a7d-dea6-4f63-86c1-b0fddb85d858} TCPHandler: Code: 160. DB::Exception: Query is executing too slow: 334800000 bytes/sec., minimum: 800000000000: While executing Numbers. (TOO_SLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, unsigned long const&) @ 0x000000001b87892c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:74: DB::ExecutionSpeedLimits::throttle(unsigned long, unsigned long, unsigned long, unsigned long) const @ 0x000000001b878065 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:133: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x000000001b876c93 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb971 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 2024.12.17 01:26:18.336991 [ 21993 ] {87d149fe-a781-4441-9ba4-c2502638ce7a} executeQuery: Code: 43. DB::Exception: Illegal type FixedString(1) of first argument of function port. Must be String.: While processing port(toFixedString('', 1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43110) (comment: 01284_port.gen.sql) (in query: -- unsupported /* ILLEGAL_TYPE_OF_ARGUMENT */ select port(toFixedString('', 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:38: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x00000000128786fd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:18.338049 [ 21993 ] {87d149fe-a781-4441-9ba4-c2502638ce7a} TCPHandler: Code: 43. DB::Exception: Illegal type FixedString(1) of first argument of function port. Must be String.: While processing port(toFixedString('', 1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:38: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x00000000128786fd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:18.461298 [ 21993 ] {d1398839-f7e9-4528-afbf-16f68c81c161} executeQuery: Code: 43. DB::Exception: Illegal type UInt8 of second argument of function port. Must be UInt16.: While processing port('', 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43110) (comment: 01284_port.gen.sql) (in query: /* ILLEGAL_TYPE_OF_ARGUMENT */ select port('', 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:42: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x00000000128788d0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:18.462321 [ 21993 ] {d1398839-f7e9-4528-afbf-16f68c81c161} TCPHandler: Code: 43. DB::Exception: Illegal type UInt8 of second argument of function port. Must be UInt16.: While processing port('', 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:42: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x00000000128788d0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:18.587200 [ 21993 ] {319dfdb3-1c57-4ec1-86e4-f3667b83b26c} executeQuery: Code: 42. DB::Exception: Number of arguments for function port doesn't match: passed 3, should be 1 or 2: While processing port('', 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43110) (comment: 01284_port.gen.sql) (in query: /* NUMBER_OF_ARGUMENTS_DOESNT_MATCH */ select port('', 1, 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:33: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001287857f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:18.588152 [ 21993 ] {319dfdb3-1c57-4ec1-86e4-f3667b83b26c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function port doesn't match: passed 3, should be 1 or 2: While processing port('', 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:33: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001287857f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:18.834305 [ 21996 ] {115bd4cc-2951-4a9f-bcbb-85bd1559fd14} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.67 MiB (attempt to allocate chunk of 1050031 bytes), maximum: 8.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43120) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageLog.cpp:326: DB::LogSink::Stream::Stream(std::shared_ptr const&, String const&, unsigned long, std::shared_ptr, unsigned long) @ 0x000000001da67961 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1775: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&, 0ul, 0ul, 1ul, 2ul, 3ul, 4ul>(std::piecewise_construct_t, std::tuple&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&, std::__tuple_indices<0ul>, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul>) @ 0x000000001da677ce in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:259: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>(std::piecewise_construct_t, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>) @ 0x000000001da67701 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::pair* std::construct_at[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, std::pair*>(std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da676c7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, void*>>>::construct[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, void, void>(std::allocator, void*>>&, std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da67491 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__tree:2133: std::unique_ptr, void*>, std::__tree_node_destructor, void*>>>> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__construct_node, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da67169 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__tree:2096: std::pair, std::__tree_node, void*>*, long>, bool> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__emplace_unique_key_args, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(String const&, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da66dee in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/map:1281: std::pair, std::__tree_node, void*>*, long>>, bool> std::map, std::allocator>>::try_emplace[abi:v15000] const&, String const&, unsigned long, std::shared_ptr, unsigned long const&>(String const&, std::shared_ptr const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&) @ 0x000000001da668ef in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:455: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001da5717b in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56dfd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56dbd in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001da56d7d in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56d45 in /usr/bin/clickhouse 2024.12.17 01:26:18.835915 [ 21996 ] {115bd4cc-2951-4a9f-bcbb-85bd1559fd14} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.67 MiB (attempt to allocate chunk of 1050031 bytes), maximum: 8.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageLog.cpp:326: DB::LogSink::Stream::Stream(std::shared_ptr const&, String const&, unsigned long, std::shared_ptr, unsigned long) @ 0x000000001da67961 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1775: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&, 0ul, 0ul, 1ul, 2ul, 3ul, 4ul>(std::piecewise_construct_t, std::tuple&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&, std::__tuple_indices<0ul>, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul>) @ 0x000000001da677ce in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:259: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>(std::piecewise_construct_t, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>) @ 0x000000001da67701 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::pair* std::construct_at[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, std::pair*>(std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da676c7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, void*>>>::construct[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, void, void>(std::allocator, void*>>&, std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da67491 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__tree:2133: std::unique_ptr, void*>, std::__tree_node_destructor, void*>>>> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__construct_node, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da67169 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__tree:2096: std::pair, std::__tree_node, void*>*, long>, bool> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__emplace_unique_key_args, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(String const&, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da66dee in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/map:1281: std::pair, std::__tree_node, void*>*, long>>, bool> std::map, std::allocator>>::try_emplace[abi:v15000] const&, String const&, unsigned long, std::shared_ptr, unsigned long const&>(String const&, std::shared_ptr const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&) @ 0x000000001da668ef in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:455: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001da5717b in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56dfd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56dbd in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001da56d7d in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56d45 in /usr/bin/clickhouse 2024.12.17 01:26:18.877406 [ 21993 ] {ddf6d5e4-01af-4017-a740-08c52fa83470} executeQuery: Code: 43. DB::Exception: Illegal type FixedString(1) of first argument of function port. Must be String.: While processing port(toFixedString('', 1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43110) (comment: 01284_port.gen.sql) (in query: -- unsupported /* ILLEGAL_TYPE_OF_ARGUMENT */ select port(toFixedString('', 1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:38: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x00000000128786fd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:18.878254 [ 21993 ] {ddf6d5e4-01af-4017-a740-08c52fa83470} TCPHandler: Code: 43. DB::Exception: Illegal type FixedString(1) of first argument of function port. Must be String.: While processing port(toFixedString('', 1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:38: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x00000000128786fd in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:18.997995 [ 21993 ] {c2ed3acf-29ef-4f2f-9cc2-c322387bf43c} executeQuery: Code: 43. DB::Exception: Illegal type UInt8 of second argument of function portRFC. Must be UInt16.: While processing portRFC('', 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43110) (comment: 01284_port.gen.sql) (in query: /* ILLEGAL_TYPE_OF_ARGUMENT */ select portRFC('', 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:42: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001287a370 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:18.998904 [ 21993 ] {c2ed3acf-29ef-4f2f-9cc2-c322387bf43c} TCPHandler: Code: 43. DB::Exception: Illegal type UInt8 of second argument of function portRFC. Must be UInt16.: While processing portRFC('', 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:42: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001287a370 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:19.124519 [ 21993 ] {a5ccbc32-8f50-49a2-abde-705ac4d98bfc} executeQuery: Code: 42. DB::Exception: Number of arguments for function portRFC doesn't match: passed 3, should be 1 or 2: While processing portRFC('', 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43110) (comment: 01284_port.gen.sql) (in query: /* NUMBER_OF_ARGUMENTS_DOESNT_MATCH */ select portRFC('', 1, 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:33: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001287a01f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:19.125542 [ 21993 ] {a5ccbc32-8f50-49a2-abde-705ac4d98bfc} TCPHandler: Code: 42. DB::Exception: Number of arguments for function portRFC doesn't match: passed 3, should be 1 or 2: While processing portRFC('', 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/URL/port.cpp:33: DB::FunctionPortImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000001287a01f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:19.329580 [ 21991 ] {2c0c29a0-aa0d-439e-980a-736de47ec7ac} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime64BestEffort provided 0, expected 1 to 3 ('string' : String or FixedString, ['precision' : const UInt8, 'timezone' : const String or FixedString]): While processing parseDateTime64BestEffort(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43132) (comment: 01281_parseDateTime64BestEffort.sql) (in query: -- Error cases SELECT parseDateTime64BestEffort();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfbc5d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9ba5 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc19aed in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:26:19.330521 [ 21991 ] {2c0c29a0-aa0d-439e-980a-736de47ec7ac} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime64BestEffort provided 0, expected 1 to 3 ('string' : String or FixedString, ['precision' : const UInt8, 'timezone' : const String or FixedString]): While processing parseDateTime64BestEffort(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfbc5d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9ba5 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc19aed in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:26:19.463218 [ 21991 ] {78b6c592-9d39-4ac5-b103-6eb3d755dfab} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'string' of function parseDateTime64BestEffort, expected String or FixedString, got UInt8: While processing parseDateTime64BestEffort(123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43132) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort(123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e40 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc19aed in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:26:19.464324 [ 21991 ] {78b6c592-9d39-4ac5-b103-6eb3d755dfab} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'string' of function parseDateTime64BestEffort, expected String or FixedString, got UInt8: While processing parseDateTime64BestEffort(123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e40 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc19aed in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:26:19.602197 [ 21991 ] {1cd1d351-f966-4acc-9a93-82e96de3a63a} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: unexpected word: While processing parseDateTime64BestEffort('foo'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43132) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('foo');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b2636b7 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000139afbb8 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:558: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x00000000139a8a8c in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:664: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139af504 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:705: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139af4b3 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1374: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000bc1cad6 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2244: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000bc1a934 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2275: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc195da in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:26:19.603233 [ 21991 ] {1cd1d351-f966-4acc-9a93-82e96de3a63a} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: unexpected word: While processing parseDateTime64BestEffort('foo'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b2636b7 in /usr/bin/clickhouse 6. /build/src/IO/parseDateTimeBestEffort.cpp:98: auto void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*)::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x00000000139afbb8 in /usr/bin/clickhouse 7. /build/src/IO/parseDateTimeBestEffort.cpp:558: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x00000000139a8a8c in /usr/bin/clickhouse 8. /build/src/IO/parseDateTimeBestEffort.cpp:664: void DB::(anonymous namespace)::parseDateTime64BestEffortImpl(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139af504 in /usr/bin/clickhouse 9. /build/src/IO/parseDateTimeBestEffort.cpp:705: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x00000000139af4b3 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1374: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000bc1cad6 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2244: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000bc1a934 in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:2275: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc195da in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:26:19.739600 [ 21991 ] {2b930382-93be-413e-b527-c60fbb06fb6d} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'precision' of function parseDateTime64BestEffort, expected const UInt8, got String: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 'bar'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43132) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 'bar');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e8a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc19aed in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:26:19.740701 [ 21991 ] {2b930382-93be-413e-b527-c60fbb06fb6d} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'precision' of function parseDateTime64BestEffort, expected const UInt8, got String: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 'bar'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e8a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc19aed in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:26:19.749807 [ 21991 ] {1925aefc-26f5-4e03-bf5f-bfc916057379} executeQuery: Code: 43. DB::Exception: Illegal type of argument #3 'timezone' of function parseDateTime64BestEffort, expected const String or FixedString, got UInt8: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 4). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43132) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 4);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e8a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc19aed in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:26:19.750718 [ 21991 ] {1925aefc-26f5-4e03-bf5f-bfc916057379} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #3 'timezone' of function parseDateTime64BestEffort, expected const String or FixedString, got UInt8: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 4). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e8a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc19aed in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:26:19.871289 [ 21991 ] {61a7a9af-6042-4534-9a9b-6916dc87723e} executeQuery: Code: 36. DB::Exception: Cannot load time zone baz: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 'baz'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43132) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 'baz');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x00000000138c3254 in /usr/bin/clickhouse 7. /build/src/Common/DateLUT.cpp:157: DateLUT::getImplementation(String const&) const @ 0x00000000138bdb0a in /usr/bin/clickhouse 8. /build/src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x000000001b8adc29 in /usr/bin/clickhouse 9. /build/src/DataTypes/DataTypeDateTime64.cpp:22: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x000000001b8aecdc in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime64* std::construct_at[abi:v15000](DB::DataTypeDateTime64*, unsigned long&, String const&) @ 0x000000000b23378f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime64*, unsigned long&, String const&) @ 0x000000000b233549 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, unsigned long&, String const&) @ 0x000000000b23322f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], unsigned long&, String const&, void>(std::allocator const&, unsigned long&, String const&) @ 0x000000000b2330a2 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](unsigned long&, String const&) @ 0x000000000b2307ee in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2169: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc19f03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:26:19.872167 [ 21991 ] {61a7a9af-6042-4534-9a9b-6916dc87723e} TCPHandler: Code: 36. DB::Exception: Cannot load time zone baz: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, 'baz'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x00000000138c3254 in /usr/bin/clickhouse 7. /build/src/Common/DateLUT.cpp:157: DateLUT::getImplementation(String const&) const @ 0x00000000138bdb0a in /usr/bin/clickhouse 8. /build/src/Common/DateLUT.h:62: TimezoneMixin::TimezoneMixin(String const&) @ 0x000000001b8adc29 in /usr/bin/clickhouse 9. /build/src/DataTypes/DataTypeDateTime64.cpp:22: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x000000001b8aecdc in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeDateTime64* std::construct_at[abi:v15000](DB::DataTypeDateTime64*, unsigned long&, String const&) @ 0x000000000b23378f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::DataTypeDateTime64*, unsigned long&, String const&) @ 0x000000000b233549 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, unsigned long&, String const&) @ 0x000000000b23322f in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], unsigned long&, String const&, void>(std::allocator const&, unsigned long&, String const&) @ 0x000000000b2330a2 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](unsigned long&, String const&) @ 0x000000000b2307ee in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2169: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc19f03 in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:26:19.881392 [ 21991 ] {869c5fef-f4fd-42b7-a1df-93eddb7555be} executeQuery: Code: 44. DB::Exception: Illegal type of argument #2 'precision' of function parseDateTime64BestEffort, expected const UInt8, got UInt8: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', materialize(3), 4). (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43132) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', materialize(3), 4);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e8a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc19aed in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:26:19.882232 [ 21991 ] {869c5fef-f4fd-42b7-a1df-93eddb7555be} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #2 'precision' of function parseDateTime64BestEffort, expected const UInt8, got UInt8: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', materialize(3), 4). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e8a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc19aed in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:26:19.890855 [ 21991 ] {3562945f-fd3a-4404-acc1-2f917e00db01} executeQuery: Code: 44. DB::Exception: Illegal type of argument #3 'timezone' of function parseDateTime64BestEffort, expected const String or FixedString, got String: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, materialize('UTC')). (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43132) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, materialize('UTC'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e8a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc19aed in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:26:19.891667 [ 21991 ] {3562945f-fd3a-4404-acc1-2f917e00db01} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #3 'timezone' of function parseDateTime64BestEffort, expected const String or FixedString, got String: While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184Z', 3, materialize('UTC')). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e8a in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2156: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc19aed in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:26:20.034488 [ 21991 ] {5e8a48c1-0f06-48b6-8c25-5109a46bc8a3} executeQuery: Code: 6. DB::Exception: Cannot parse string '2020-05-14T03:37:03.253184012345678910111213141516171819Z' as DateTime64(3, 'UTC'): syntax error at position 39 (parsed just '2020-05-14T03:37:03.2531840123456789101'): While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184012345678910111213141516171819Z', 3, 'UTC'). (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43132) (comment: 01281_parseDateTime64BestEffort.sql) (in query: SELECT parseDateTime64BestEffort('2020-05-14T03:37:03.253184012345678910111213141516171819Z', 3, 'UTC');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000bc1cb53 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2244: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000bc1a934 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2275: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc195da in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 2024.12.17 01:26:20.035446 [ 21991 ] {5e8a48c1-0f06-48b6-8c25-5109a46bc8a3} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2020-05-14T03:37:03.253184012345678910111213141516171819Z' as DateTime64(3, 'UTC'): syntax error at position 39 (parsed just '2020-05-14T03:37:03.2531840123456789101'): While processing parseDateTime64BestEffort('2020-05-14T03:37:03.253184012345678910111213141516171819Z', 3, 'UTC'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x000000000bc1cb53 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2244: COW::immutable_ptr DB::FunctionConvertFromString::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) const @ 0x000000000bc1a934 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:2275: DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc195da in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 2024.12.17 01:26:21.047484 [ 21991 ] {4af4cda6-4450-4c22-98aa-1aeecdad1910} executeQuery: Code: 42. DB::Exception: Function fromUnixTimestamp64Milli takes one or two arguments: While processing fromUnixTimestamp64Milli(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34246) (comment: 01277_fromUnixTimestamp64.sql) (in query: -- -- Error cases SELECT fromUnixTimestamp64Milli();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ac5eb in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:21.048492 [ 21991 ] {4af4cda6-4450-4c22-98aa-1aeecdad1910} TCPHandler: Code: 42. DB::Exception: Function fromUnixTimestamp64Milli takes one or two arguments: While processing fromUnixTimestamp64Milli(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ac5eb in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:21.056471 [ 21991 ] {66af587a-3c6a-4135-87ad-96c608b99da6} executeQuery: Code: 42. DB::Exception: Function fromUnixTimestamp64Micro takes one or two arguments: While processing fromUnixTimestamp64Micro(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34246) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Micro();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ac5eb in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:21.057355 [ 21991 ] {66af587a-3c6a-4135-87ad-96c608b99da6} TCPHandler: Code: 42. DB::Exception: Function fromUnixTimestamp64Micro takes one or two arguments: While processing fromUnixTimestamp64Micro(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ac5eb in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:21.065437 [ 21991 ] {dc60526b-bbc1-4b81-8a09-5e2bbd9393a7} executeQuery: Code: 42. DB::Exception: Function fromUnixTimestamp64Nano takes one or two arguments: While processing fromUnixTimestamp64Nano(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34246) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Nano();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ac5eb in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:21.066521 [ 21991 ] {dc60526b-bbc1-4b81-8a09-5e2bbd9393a7} TCPHandler: Code: 42. DB::Exception: Function fromUnixTimestamp64Nano takes one or two arguments: While processing fromUnixTimestamp64Nano(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:120: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ac5eb in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:21.195944 [ 21991 ] {40673fec-265d-404c-9275-72065a1358c7} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Milli must be integer: While processing fromUnixTimestamp64Milli('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34246) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Milli('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ac6a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:21.196953 [ 21991 ] {40673fec-265d-404c-9275-72065a1358c7} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Milli must be integer: While processing fromUnixTimestamp64Milli('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ac6a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:21.205344 [ 21991 ] {a204fba2-805b-430f-ba31-185c7eca39be} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Micro must be integer: While processing fromUnixTimestamp64Micro('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34246) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Micro('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ac6a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:21.206152 [ 21991 ] {a204fba2-805b-430f-ba31-185c7eca39be} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Micro must be integer: While processing fromUnixTimestamp64Micro('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ac6a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:21.214309 [ 21991 ] {6eed78e1-92d1-44d4-b889-d4256c969106} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Nano must be integer: While processing fromUnixTimestamp64Nano('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34246) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Nano('abc');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ac6a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:21.215089 [ 21991 ] {6eed78e1-92d1-44d4-b889-d4256c969106} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Nano must be integer: While processing fromUnixTimestamp64Nano('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ac6a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:21.222483 [ 21991 ] {316d52a0-d45a-4c5a-b1db-089fd5e51e40} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Milli must be integer: While processing fromUnixTimestamp64Milli('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34246) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Milli('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ac6a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:21.223238 [ 21991 ] {316d52a0-d45a-4c5a-b1db-089fd5e51e40} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Milli must be integer: While processing fromUnixTimestamp64Milli('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ac6a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:21.230687 [ 21991 ] {b36872b9-cf0e-4ad7-9034-ce7b428cf51e} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Micro must be integer: While processing fromUnixTimestamp64Micro('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34246) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Micro('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ac6a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:21.231509 [ 21991 ] {b36872b9-cf0e-4ad7-9034-ce7b428cf51e} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Micro must be integer: While processing fromUnixTimestamp64Micro('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ac6a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:21.239356 [ 21991 ] {7191a2d1-7ac5-482b-a4c1-f2a4b5ddc43a} executeQuery: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Nano must be integer: While processing fromUnixTimestamp64Nano('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34246) (comment: 01277_fromUnixTimestamp64.sql) (in query: SELECT fromUnixTimestamp64Nano('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ac6a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:21.240216 [ 21991 ] {7191a2d1-7ac5-482b-a4c1-f2a4b5ddc43a} TCPHandler: Code: 43. DB::Exception: The first argument for function fromUnixTimestamp64Nano must be integer: While processing fromUnixTimestamp64Nano('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionUnixTimestamp64.h:123: DB::FunctionFromUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e2ac6a9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:26:22.704155 [ 21993 ] {a7839d83-a003-4a95-ac0d-be9edb072b50} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 16.67 MiB (attempt to allocate chunk of 1049487 bytes), maximum: 16.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34264) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageLog.cpp:326: DB::LogSink::Stream::Stream(std::shared_ptr const&, String const&, unsigned long, std::shared_ptr, unsigned long) @ 0x000000001da67961 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1775: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&, 0ul, 0ul, 1ul, 2ul, 3ul, 4ul>(std::piecewise_construct_t, std::tuple&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&, std::__tuple_indices<0ul>, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul>) @ 0x000000001da677ce in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:259: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>(std::piecewise_construct_t, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>) @ 0x000000001da67701 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::pair* std::construct_at[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, std::pair*>(std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da676c7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, void*>>>::construct[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, void, void>(std::allocator, void*>>&, std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da67491 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__tree:2133: std::unique_ptr, void*>, std::__tree_node_destructor, void*>>>> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__construct_node, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da67169 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__tree:2096: std::pair, std::__tree_node, void*>*, long>, bool> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__emplace_unique_key_args, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(String const&, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da66dee in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/map:1281: std::pair, std::__tree_node, void*>*, long>>, bool> std::map, std::allocator>>::try_emplace[abi:v15000] const&, String const&, unsigned long, std::shared_ptr, unsigned long const&>(String const&, std::shared_ptr const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&) @ 0x000000001da668ef in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:455: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001da5717b in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56dfd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56dbd in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001da56d7d in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56d45 in /usr/bin/clickhouse 2024.12.17 01:26:22.707342 [ 21993 ] {a7839d83-a003-4a95-ac0d-be9edb072b50} FileChecker: Will truncate file store/2a9/2a96fb1f-20d9-465a-b97e-d30c87ed134e/x.bin that has size 4001641 to size 0 2024.12.17 01:26:22.708594 [ 21993 ] {a7839d83-a003-4a95-ac0d-be9edb072b50} FileChecker: Will truncate file store/2a9/2a96fb1f-20d9-465a-b97e-d30c87ed134e/y.bin that has size 4001641 to size 0 2024.12.17 01:26:22.711068 [ 21993 ] {a7839d83-a003-4a95-ac0d-be9edb072b50} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 16.67 MiB (attempt to allocate chunk of 1049487 bytes), maximum: 16.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageLog.cpp:326: DB::LogSink::Stream::Stream(std::shared_ptr const&, String const&, unsigned long, std::shared_ptr, unsigned long) @ 0x000000001da67961 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1775: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&, 0ul, 0ul, 1ul, 2ul, 3ul, 4ul>(std::piecewise_construct_t, std::tuple&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&, std::__tuple_indices<0ul>, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul>) @ 0x000000001da677ce in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:259: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>(std::piecewise_construct_t, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>) @ 0x000000001da67701 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::pair* std::construct_at[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, std::pair*>(std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da676c7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, void*>>>::construct[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, void, void>(std::allocator, void*>>&, std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da67491 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__tree:2133: std::unique_ptr, void*>, std::__tree_node_destructor, void*>>>> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__construct_node, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da67169 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__tree:2096: std::pair, std::__tree_node, void*>*, long>, bool> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__emplace_unique_key_args, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(String const&, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da66dee in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/map:1281: std::pair, std::__tree_node, void*>*, long>>, bool> std::map, std::allocator>>::try_emplace[abi:v15000] const&, String const&, unsigned long, std::shared_ptr, unsigned long const&>(String const&, std::shared_ptr const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&) @ 0x000000001da668ef in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:455: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001da5717b in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56dfd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56dbd in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001da56d7d in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56d45 in /usr/bin/clickhouse 2024.12.17 01:26:23.756012 [ 21993 ] {316cb74f-4719-402d-ab0d-0bfda58862de} executeQuery: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3EdgeAngle is out of bounds because the maximum resolution in H3 library is 15: While processing h3EdgeAngle(100). (ARGUMENT_OUT_OF_BOUND) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34280) (comment: 01273_h3EdgeAngle_range_check.sql) (in query: SELECT h3EdgeAngle(100);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, int&&) @ 0x000000000e476de8 in /usr/bin/clickhouse 6. /build/src/Functions/h3EdgeAngle.cpp:78: DB::(anonymous namespace)::FunctionH3EdgeAngle::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000eece83e in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:26:23.757364 [ 21993 ] {316cb74f-4719-402d-ab0d-0bfda58862de} TCPHandler: Code: 69. DB::Exception: The argument 'resolution' (100) of function h3EdgeAngle is out of bounds because the maximum resolution in H3 library is 15: While processing h3EdgeAngle(100). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, int&&) @ 0x000000000e476de8 in /usr/bin/clickhouse 6. /build/src/Functions/h3EdgeAngle.cpp:78: DB::(anonymous namespace)::FunctionH3EdgeAngle::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000eece83e in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:26:28.220646 [ 21999 ] {fe877161-a536-4861-a7ff-469d0f0ad780} executeQuery: Code: 377. DB::Exception: Can't use [NOT] NULL modifier with Nullable type. (ILLEGAL_SYNTAX_FOR_DATA_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34356) (comment: 01269_create_with_null.sql) (in query: CREATE TABLE data_null_error ( a Nullable(INT) NULL, b INT NOT NULL, c Nullable(INT) ) engine=Memory();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [49]) @ 0x000000000c4c1dfe in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:511: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e6459 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:28.221440 [ 21999 ] {fe877161-a536-4861-a7ff-469d0f0ad780} TCPHandler: Code: 377. DB::Exception: Can't use [NOT] NULL modifier with Nullable type. (ILLEGAL_SYNTAX_FOR_DATA_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [49]) @ 0x000000000c4c1dfe in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:511: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e6459 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:28.228991 [ 21999 ] {7441645c-0a59-484a-8ebf-48465282a0ae} executeQuery: Code: 377. DB::Exception: Can't use [NOT] NULL modifier with Nullable type. (ILLEGAL_SYNTAX_FOR_DATA_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34356) (comment: 01269_create_with_null.sql) (in query: CREATE TABLE data_null_error ( a INT NULL, b Nullable(INT) NOT NULL, c Nullable(INT) ) engine=Memory();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [49]) @ 0x000000000c4c1dfe in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:511: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e6459 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:28.229639 [ 21999 ] {7441645c-0a59-484a-8ebf-48465282a0ae} TCPHandler: Code: 377. DB::Exception: Can't use [NOT] NULL modifier with Nullable type. (ILLEGAL_SYNTAX_FOR_DATA_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [49]) @ 0x000000000c4c1dfe in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:511: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e6459 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:28.425867 [ 21999 ] {1657c99d-d0bf-4b13-86db-46e1f6adc700} executeQuery: Code: 43. DB::Exception: Nested type Array(UInt8) cannot be inside Nullable type. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34356) (comment: 01269_create_with_null.sql) (in query: CREATE TABLE cannot_be_nullable (n Int8, a Array(UInt8)) ENGINE=Memory;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeNullable.cpp:28: DB::DataTypeNullable::DataTypeNullable(std::shared_ptr const&) @ 0x000000001b994b8c in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeNullable* std::construct_at[abi:v15000] const&, DB::DataTypeNullable*>(DB::DataTypeNullable*, std::shared_ptr const&) @ 0x0000000017af2c46 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::DataTypeNullable*, std::shared_ptr const&) @ 0x0000000017af2bc1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, std::shared_ptr const&) @ 0x0000000017af2b47 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x0000000017af2a77 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(std::shared_ptr const&) @ 0x0000000017af2a26 in /usr/bin/clickhouse 12. /build/src/DataTypes/DataTypeNullable.cpp:86: DB::makeNullable(std::shared_ptr const&) @ 0x000000001b99526e in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterCreateQuery.cpp:517: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e652b in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:28.426676 [ 21999 ] {1657c99d-d0bf-4b13-86db-46e1f6adc700} TCPHandler: Code: 43. DB::Exception: Nested type Array(UInt8) cannot be inside Nullable type. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeNullable.cpp:28: DB::DataTypeNullable::DataTypeNullable(std::shared_ptr const&) @ 0x000000001b994b8c in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DataTypeNullable* std::construct_at[abi:v15000] const&, DB::DataTypeNullable*>(DB::DataTypeNullable*, std::shared_ptr const&) @ 0x0000000017af2c46 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::DataTypeNullable*, std::shared_ptr const&) @ 0x0000000017af2bc1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, std::shared_ptr const&) @ 0x0000000017af2b47 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr const&, void>(std::allocator const&, std::shared_ptr const&) @ 0x0000000017af2a77 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(std::shared_ptr const&) @ 0x0000000017af2a26 in /usr/bin/clickhouse 12. /build/src/DataTypes/DataTypeNullable.cpp:86: DB::makeNullable(std::shared_ptr const&) @ 0x000000001b99526e in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterCreateQuery.cpp:517: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e652b in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:35.959267 [ 22003 ] {9bd5e213-c380-4802-b500-f87542d0df32} executeQuery: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35138) (comment: 01213_alter_rename_nested.sql) (in query: ALTER TABLE table_for_rename_nested RENAME COLUMN n.renamed_x TO not_nested_x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [72]) @ 0x000000000d91aa5e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1334: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58feb6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:35.960048 [ 22003 ] {9bd5e213-c380-4802-b500-f87542d0df32} TCPHandler: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [72]) @ 0x000000000d91aa5e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1334: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58feb6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:36.052850 [ 22003 ] {2397d381-696f-46b9-b339-ea3b490accc5} executeQuery: Code: 48. DB::Exception: Cannot rename whole Nested struct. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35138) (comment: 01213_alter_rename_nested.sql) (in query: -- Currently not implemented ALTER TABLE table_for_rename_nested RENAME COLUMN n TO renamed_n;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91cade in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1288: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58f546 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:36.053667 [ 22003 ] {2397d381-696f-46b9-b339-ea3b490accc5} TCPHandler: Code: 48. DB::Exception: Cannot rename whole Nested struct. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91cade in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1288: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58f546 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:37.606859 [ 22004 ] {1c916aad-41b0-492a-bf29-44b021295af7} executeQuery: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35180) (comment: 01213_alter_table_rename_nested.sql) (in query: ALTER TABLE table_for_rename_nested RENAME COLUMN n.renamed_x TO not_nested_x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [72]) @ 0x000000000d91aa5e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1334: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58feb6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:37.607702 [ 22004 ] {1c916aad-41b0-492a-bf29-44b021295af7} TCPHandler: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [72]) @ 0x000000000d91aa5e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1334: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58feb6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:37.699213 [ 22004 ] {39a6edcf-c413-4972-ba15-ae04491e25be} executeQuery: Code: 36. DB::Exception: Cannot rename column from one nested name to another. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35180) (comment: 01213_alter_table_rename_nested.sql) (in query: ALTER TABLE table_for_rename_nested RENAME COLUMN n.renamed_x TO q.renamed_x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [53]) @ 0x000000000e48169e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1324: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58fd39 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:37.699922 [ 22004 ] {39a6edcf-c413-4972-ba15-ae04491e25be} TCPHandler: Code: 36. DB::Exception: Cannot rename column from one nested name to another. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [53]) @ 0x000000000e48169e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1324: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58fd39 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:37.708420 [ 22004 ] {cdda30ad-27df-4f20-9b19-e1f9572317cc} executeQuery: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35180) (comment: 01213_alter_table_rename_nested.sql) (in query: ALTER TABLE table_for_rename_nested RENAME COLUMN value1 TO q.renamed_x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [72]) @ 0x000000000d91aa5e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1334: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58feb6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:37.709150 [ 22004 ] {cdda30ad-27df-4f20-9b19-e1f9572317cc} TCPHandler: Code: 36. DB::Exception: Cannot rename column from nested struct to normal column and vice versa. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [72]) @ 0x000000000d91aa5e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1334: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58feb6 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:37.717458 [ 22004 ] {93762fd2-425e-4466-8bf6-e13217be63e2} executeQuery: Code: 48. DB::Exception: Cannot rename whole Nested struct. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35180) (comment: 01213_alter_table_rename_nested.sql) (in query: -- Currently not implemented ALTER TABLE table_for_rename_nested RENAME COLUMN n TO renamed_n;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91cade in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1288: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58f546 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:37.718097 [ 22004 ] {93762fd2-425e-4466-8bf6-e13217be63e2} TCPHandler: Code: 48. DB::Exception: Cannot rename whole Nested struct. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91cade in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1288: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58f546 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:46.170967 [ 22004 ] {} TCPHandler: Code: 164. DB::Exception: Cannot modify 'send_logs_level' setting in readonly mode. (READONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/Access/SettingsConstraints.cpp:307: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x000000001b2044bc in /usr/bin/clickhouse 7. /build/src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x000000001b203e0d in /usr/bin/clickhouse 8. /build/src/Access/SettingsConstraints.cpp:197: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&, DB::SettingSource) const::$_0::operator()(DB::SettingChange&) const @ 0x000000001b20782d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__algorithm/find_if.h:25: std::__wrap_iter std::find_if[abi:v15000], DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&, DB::SettingSource) const::$_0&>(std::__wrap_iter, std::__wrap_iter, DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&, DB::SettingSource) const::$_0&) @ 0x000000001b2077ab in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__algorithm/remove_if.h:26: std::__wrap_iter std::remove_if, DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&, DB::SettingSource) const::$_0>(std::__wrap_iter, std::__wrap_iter, DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&, DB::SettingSource) const::$_0) @ 0x000000001b207695 in /usr/bin/clickhouse 11. /build/contrib/boost/boost/range/algorithm_ext/erase.hpp:50: DB::SettingsChanges& boost::range::remove_erase_if(DB::SettingsChanges&, DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&, DB::SettingSource) const::$_0) @ 0x000000001b204041 in /usr/bin/clickhouse 12. /build/src/Access/SettingsConstraints.cpp:199: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&, DB::SettingSource) const @ 0x000000001b203fb5 in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1904: DB::Context::checkSettingsConstraints(DB::SettingsChanges&, DB::SettingSource) const @ 0x000000001bdca1cb in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1704: DB::TCPHandler::receiveQuery() @ 0x000000001e6520b3 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:1445: DB::TCPHandler::receivePacket() @ 0x000000001e6496c8 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:348: DB::TCPHandler::runImpl() @ 0x000000001e6418c1 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:47.072051 [ 21982 ] {} DynamicQueryHandler: Code: 164. DB::Exception: Cannot modify 'readonly' setting in readonly mode: , while trying to set settings profile readonly: in attempt to set the value of setting 'profile' to 'readonly'. (READONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/Access/SettingsConstraints.cpp:307: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x000000001b2044bc in /usr/bin/clickhouse 7. /build/src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x000000001b203e0d in /usr/bin/clickhouse 8. /build/src/Access/SettingsConstraints.cpp:183: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingChange const&, DB::SettingSource) const @ 0x000000001b2038ce in /usr/bin/clickhouse 9. /build/src/Access/SettingsConstraints.cpp:187: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x000000001b203f3c in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1899: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x000000001bdc480b in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1304: DB::Context::setCurrentProfiles(DB::SettingsProfilesInfo const&, bool) @ 0x000000001bdc2f84 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1297: DB::Context::setCurrentProfile(StrongTypedef, DB::UUIDTag> const&, bool) @ 0x000000001bdc4774 in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1285: DB::Context::setCurrentProfile(String const&, bool) @ 0x000000001bdc466b in /usr/bin/clickhouse 14. /build/src/Interpreters/Context.cpp:1854: DB::Context::setSetting(std::basic_string_view>, DB::Field const&) @ 0x000000001bdc9b9d in /usr/bin/clickhouse 15. /build/src/Interpreters/Context.cpp:1866: DB::Context::applySettingChange(DB::SettingChange const&) @ 0x000000001bdc9cc6 in /usr/bin/clickhouse 16. /build/src/Interpreters/Context.cpp:1882: DB::Context::applySettingsChanges(DB::SettingsChanges const&) @ 0x000000001bdc48b7 in /usr/bin/clickhouse 17. /build/src/Server/HTTPHandler.cpp:769: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bf26a in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 19. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:26:47.330387 [ 3551 ] {15a279a8-6879-4d31-93b5-357e0c573b74} executeQuery: Code: 53. DB::Exception: Type mismatch for column n. Column has type String, got type UInt8. (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45344) (comment: 01182_materialized_view_different_structure.sql) (in query: INSERT INTO mv SELECT toString(number + 1000) FROM numbers(1000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x000000000b5aef68 in /usr/bin/clickhouse 6. /build/src/Storages/StorageInMemoryMetadata.cpp:646: DB::StorageInMemoryMetadata::check(DB::Block const&, bool) const @ 0x000000001d6ca068 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:454: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece00c1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:47.331185 [ 3551 ] {15a279a8-6879-4d31-93b5-357e0c573b74} TCPHandler: Code: 53. DB::Exception: Type mismatch for column n. Column has type String, got type UInt8. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x000000000b5aef68 in /usr/bin/clickhouse 6. /build/src/Storages/StorageInMemoryMetadata.cpp:646: DB::StorageInMemoryMetadata::check(DB::Block const&, bool) const @ 0x000000001d6ca068 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:454: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece00c1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:47.343140 [ 3551 ] {23b8d5a1-1ab8-4a0f-a034-63e3386570da} executeQuery: Code: 53. DB::Exception: Type mismatch for column n. Column has type String, got type UInt8. (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45344) (comment: 01182_materialized_view_different_structure.sql) (in query: INSERT INTO mv SELECT arrayJoin(['42', 'test']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x000000000b5aef68 in /usr/bin/clickhouse 6. /build/src/Storages/StorageInMemoryMetadata.cpp:646: DB::StorageInMemoryMetadata::check(DB::Block const&, bool) const @ 0x000000001d6ca068 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:454: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece00c1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:47.343911 [ 3551 ] {23b8d5a1-1ab8-4a0f-a034-63e3386570da} TCPHandler: Code: 53. DB::Exception: Type mismatch for column n. Column has type String, got type UInt8. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x000000000b5aef68 in /usr/bin/clickhouse 6. /build/src/Storages/StorageInMemoryMetadata.cpp:646: DB::StorageInMemoryMetadata::check(DB::Block const&, bool) const @ 0x000000001d6ca068 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:454: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece00c1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:47.612248 [ 3551 ] {d65f0f72-4ec3-4d33-a2ab-8b549dca2ff6} executeQuery: Code: 70. DB::Exception: Conversion from AggregateFunction(max, String) to AggregateFunction(max, Int128) is not supported: While executing Remote. (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45344) (comment: 01182_materialized_view_different_structure.sql) (in query: SELECT count(), sum(toInt64(n)), max(n), min(n) FROM dist;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3224: DB::FunctionCast::createAggregateFunctionWrapper(std::shared_ptr const&, DB::DataTypeAggregateFunction const*) const @ 0x000000000b1fdb4f in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:4192: DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000b1fb1ee in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:3922: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000b1f947c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:3848: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b1f446d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b1f3c9c in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922a0 in /usr/bin/clickhouse 12. /build/src/Interpreters/castColumn.cpp:35: COW::immutable_ptr DB::castColumn<(DB::CastType)0>(DB::ColumnWithTypeAndName const&, std::shared_ptr const&) @ 0x000000001d04fe83 in /usr/bin/clickhouse 13. /build/src/Interpreters/castColumn.cpp:41: DB::castColumn(DB::ColumnWithTypeAndName const&, std::shared_ptr const&) @ 0x000000001d04fa68 in /usr/bin/clickhouse 14. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:215: DB::adaptBlockStructure(DB::Block const&, DB::Block const&) @ 0x000000001b87e7f2 in /usr/bin/clickhouse 15. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:464: DB::RemoteQueryExecutor::processPacket(DB::Packet) @ 0x000000001b87c553 in /usr/bin/clickhouse 16. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:390: DB::RemoteQueryExecutor::readAsync() @ 0x000000001b87d93f in /usr/bin/clickhouse 17. /build/src/Processors/Sources/RemoteSource.cpp:121: DB::RemoteSource::tryGenerate() @ 0x000000001ed17dc8 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:26:47.683739 [ 1119 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:47546). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000013cebd6c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000013ceafe0 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::TCPHandler::runImpl() @ 0x000000001e641041 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 15. ? @ 0x00007f3559e74ac3 in ? 16. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:26:47.683783 [ 3551 ] {d65f0f72-4ec3-4d33-a2ab-8b549dca2ff6} TCPHandler: Code: 70. DB::Exception: Conversion from AggregateFunction(max, String) to AggregateFunction(max, Int128) is not supported: While executing Remote. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3224: DB::FunctionCast::createAggregateFunctionWrapper(std::shared_ptr const&, DB::DataTypeAggregateFunction const*) const @ 0x000000000b1fdb4f in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:4192: DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000b1fb1ee in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:3922: DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x000000000b1f947c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:3848: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b1f446d in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b1f3c9c in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922a0 in /usr/bin/clickhouse 12. /build/src/Interpreters/castColumn.cpp:35: COW::immutable_ptr DB::castColumn<(DB::CastType)0>(DB::ColumnWithTypeAndName const&, std::shared_ptr const&) @ 0x000000001d04fe83 in /usr/bin/clickhouse 13. /build/src/Interpreters/castColumn.cpp:41: DB::castColumn(DB::ColumnWithTypeAndName const&, std::shared_ptr const&) @ 0x000000001d04fa68 in /usr/bin/clickhouse 14. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:215: DB::adaptBlockStructure(DB::Block const&, DB::Block const&) @ 0x000000001b87e7f2 in /usr/bin/clickhouse 15. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:464: DB::RemoteQueryExecutor::processPacket(DB::Packet) @ 0x000000001b87c553 in /usr/bin/clickhouse 16. /build/src/QueryPipeline/RemoteQueryExecutor.cpp:390: DB::RemoteQueryExecutor::readAsync() @ 0x000000001b87d93f in /usr/bin/clickhouse 17. /build/src/Processors/Sources/RemoteSource.cpp:121: DB::RemoteSource::tryGenerate() @ 0x000000001ed17dc8 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:26:47.684328 [ 2885 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:59894). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000013cebd6c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000013ceafe0 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::TCPHandler::runImpl() @ 0x000000001e641041 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 15. ? @ 0x00007f3559e74ac3 in ? 16. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:26:48.742758 [ 21982 ] {mysql:0:ddabd98a-24c0-4a2c-b20d-8bc07bd97c61} executeQuery: Code: 60. DB::Exception: Table system.table_that_does_not_exist does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47206) (in query: select * from table_that_does_not_exist), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 19. /build/src/Server/MySQLHandler.cpp:367: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x000000001e60e1d9 in /usr/bin/clickhouse 20. /build/src/Server/MySQLHandler.cpp:176: DB::MySQLHandler::run() @ 0x000000001e60b525 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:48.743968 [ 21982 ] {} MySQLHandler: MySQLHandler: Cannot read packet: : Code: 60. DB::Exception: Table system.table_that_does_not_exist does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 19. /build/src/Server/MySQLHandler.cpp:367: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x000000001e60e1d9 in /usr/bin/clickhouse 20. /build/src/Server/MySQLHandler.cpp:176: DB::MySQLHandler::run() @ 0x000000001e60b525 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:26:48.899312 [ 21982 ] {mysql:0:ef921fb3-4441-48a6-af8e-d937ae4d31db} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(number :: 0) -> throwIf(number) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47206) (in query: select throwIf(number) from numbers(2) settings max_block_size=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x00000000126019a3 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:107: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000125fff16 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 25. /build/src/Server/MySQLHandler.cpp:367: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x000000001e60e1d9 in /usr/bin/clickhouse 26. /build/src/Server/MySQLHandler.cpp:176: DB::MySQLHandler::run() @ 0x000000001e60b525 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 01:26:48.901039 [ 21982 ] {} MySQLHandler: MySQLHandler: Cannot read packet: : Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(number :: 0) -> throwIf(number) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x00000000126019a3 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:107: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000125fff16 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 25. /build/src/Server/MySQLHandler.cpp:367: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x000000001e60e1d9 in /usr/bin/clickhouse 26. /build/src/Server/MySQLHandler.cpp:176: DB::MySQLHandler::run() @ 0x000000001e60b525 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:26:49.021085 [ 21982 ] {mysql:0:722b9587-fbf9-4ccd-9e2d-0f41376ff5d6} executeQuery: Code: 1. DB::Exception: MySQL protocol does not support custom output formats. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47206) (in query: select * from system.one format TSV), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [54]) @ 0x0000000011508cde in /usr/bin/clickhouse 6. /build/src/Server/MySQLHandler.cpp:361: DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1::operator()(DB::QueryResultDetails const&) const @ 0x000000001e610444 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1&, DB::QueryResultDetails const&) @ 0x000000001e61039d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1&, DB::QueryResultDetails const&) @ 0x000000001e61035d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::QueryResultDetails const&) @ 0x000000001e61031d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::QueryResultDetails const&) @ 0x000000001e6102e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::QueryResultDetails const&) const @ 0x000000001d0beb3e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::QueryResultDetails const&) const @ 0x000000001d0b82fd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1414: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2739 in /usr/bin/clickhouse 14. /build/src/Server/MySQLHandler.cpp:367: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x000000001e60e1d9 in /usr/bin/clickhouse 15. /build/src/Server/MySQLHandler.cpp:176: DB::MySQLHandler::run() @ 0x000000001e60b525 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:49.022803 [ 21982 ] {} MySQLHandler: MySQLHandler: Cannot read packet: : Code: 1. DB::Exception: MySQL protocol does not support custom output formats. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [54]) @ 0x0000000011508cde in /usr/bin/clickhouse 6. /build/src/Server/MySQLHandler.cpp:361: DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1::operator()(DB::QueryResultDetails const&) const @ 0x000000001e610444 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1&, DB::QueryResultDetails const&) @ 0x000000001e61039d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1&, DB::QueryResultDetails const&) @ 0x000000001e61035d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::QueryResultDetails const&) @ 0x000000001e61031d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::QueryResultDetails const&) @ 0x000000001e6102e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::QueryResultDetails const&) const @ 0x000000001d0beb3e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::QueryResultDetails const&) const @ 0x000000001d0b82fd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1414: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2739 in /usr/bin/clickhouse 14. /build/src/Server/MySQLHandler.cpp:367: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x000000001e60e1d9 in /usr/bin/clickhouse 15. /build/src/Server/MySQLHandler.cpp:176: DB::MySQLHandler::run() @ 0x000000001e60b525 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:26:49.029847 [ 21982 ] {mysql:0:01fa08f1-e4d3-4619-8ccb-a52b8eb535ec} executeQuery: Code: 1. DB::Exception: MySQL protocol does not support custom output formats. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47206) (in query: select * from system.one format JSON), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [54]) @ 0x0000000011508cde in /usr/bin/clickhouse 6. /build/src/Server/MySQLHandler.cpp:361: DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1::operator()(DB::QueryResultDetails const&) const @ 0x000000001e610444 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1&, DB::QueryResultDetails const&) @ 0x000000001e61039d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1&, DB::QueryResultDetails const&) @ 0x000000001e61035d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::QueryResultDetails const&) @ 0x000000001e61031d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::QueryResultDetails const&) @ 0x000000001e6102e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::QueryResultDetails const&) const @ 0x000000001d0beb3e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::QueryResultDetails const&) const @ 0x000000001d0b82fd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1414: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2739 in /usr/bin/clickhouse 14. /build/src/Server/MySQLHandler.cpp:367: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x000000001e60e1d9 in /usr/bin/clickhouse 15. /build/src/Server/MySQLHandler.cpp:176: DB::MySQLHandler::run() @ 0x000000001e60b525 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:49.031366 [ 21982 ] {} MySQLHandler: MySQLHandler: Cannot read packet: : Code: 1. DB::Exception: MySQL protocol does not support custom output formats. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [54]) @ 0x0000000011508cde in /usr/bin/clickhouse 6. /build/src/Server/MySQLHandler.cpp:361: DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1::operator()(DB::QueryResultDetails const&) const @ 0x000000001e610444 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1&, DB::QueryResultDetails const&) @ 0x000000001e61039d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::MySQLHandler::comQuery(DB::ReadBuffer&)::$_1&, DB::QueryResultDetails const&) @ 0x000000001e61035d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::QueryResultDetails const&) @ 0x000000001e61031d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::QueryResultDetails const&) @ 0x000000001e6102e5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::QueryResultDetails const&) const @ 0x000000001d0beb3e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::QueryResultDetails const&) const @ 0x000000001d0b82fd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1414: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b2739 in /usr/bin/clickhouse 14. /build/src/Server/MySQLHandler.cpp:367: DB::MySQLHandler::comQuery(DB::ReadBuffer&) @ 0x000000001e60e1d9 in /usr/bin/clickhouse 15. /build/src/Server/MySQLHandler.cpp:176: DB::MySQLHandler::run() @ 0x000000001e60b525 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:26:49.882815 [ 21983 ] {33b0e43d-6e71-47e6-a29a-b69deaefe331} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085119 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45412) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d75c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d5d4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d391 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d097 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7cf0a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da77cf6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da7387d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:26:49.883838 [ 21983 ] {33b0e43d-6e71-47e6-a29a-b69deaefe331} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085119 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d75c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d5d4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d391 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d097 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7cf0a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da77cf6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da7387d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:26:50.427572 [ 21993 ] {7933dc98-6e43-4818-bf0b-f632e51d5f31} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 10.000035425 seconds, maximum: 10. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55038) (comment: 01249_flush_interactive.sh) (in query: SELECT DISTINCT number % 5 FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87926c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b8786b3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b8785c8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b99 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:50.429232 [ 21993 ] {7933dc98-6e43-4818-bf0b-f632e51d5f31} DynamicQueryHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 10.000035425 seconds, maximum: 10. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87926c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b8786b3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b8785c8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b99 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:26:50.430534 [ 21993 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/base/poco/Foundation/src/Exception.cpp:145: Poco::RuntimeException::RuntimeException(String const&, int) @ 0x00000000249466c7 in /usr/bin/clickhouse 4. /build/base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x000000002494a807 in /usr/bin/clickhouse 5. /build/base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000002476136d in /usr/bin/clickhouse 6. /build/base/poco/Net/src/SocketImpl.cpp:927: Poco::Net::SocketImpl::error(int) @ 0x0000000024761a04 in /usr/bin/clickhouse 7. /build/base/poco/Net/src/SocketImpl.cpp:0: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x00000000247625f2 in /usr/bin/clickhouse 8. /build/base/poco/Net/src/StreamSocketImpl.cpp:63: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x000000002476a29e in /usr/bin/clickhouse 9. /build/base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x00000000247660f2 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x0000000024740b6e in /usr/bin/clickhouse 11. /build/base/poco/Net/src/HTTPChunkedStream.cpp:57: Poco::Net::HTTPChunkedStreamBuf::close() @ 0x000000002472a6ed in /usr/bin/clickhouse 12. /build/base/poco/Net/src/HTTPChunkedStream.cpp:166: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x000000002472b0ba in /usr/bin/clickhouse 13. /build/base/poco/Net/src/HTTPChunkedStream.cpp:208: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x000000002472b7a1 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/HTTPChunkedStream.cpp:207: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x000000002472b7e0 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:64: void std::__destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e6694ed in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:89: void std::destroy_at[abi:v15000](Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e669495 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:321: void std::allocator_traits>::destroy[abi:v15000](std::allocator&, Poco::Net::HTTPChunkedOutputStream*) @ 0x000000001e669479 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:309: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000001e6692ee in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:175: std::__shared_count::__release_shared[abi:v15000]() @ 0x000000000b191614 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:215: std::__shared_weak_count::__release_shared[abi:v15000]() @ 0x000000000b1915b9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:703: std::shared_ptr>>::~shared_ptr[abi:v15000]() @ 0x000000001e5cc04c in /usr/bin/clickhouse 22. /build/src/Server/HTTP/HTTPServerResponse.h:16: DB::HTTPServerResponse::~HTTPServerResponse() @ 0x000000001e6637db in /usr/bin/clickhouse 23. /build/src/Server/HTTP/HTTPServerConnection.cpp:88: DB::HTTPServerConnection::run() @ 0x000000001e663318 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:26:51.265778 [ 21995 ] {f2479b00-8537-43c9-bc5d-5f2e7a2d5180} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46596) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY RIGHT JOIN t0 USING (x) ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfcf4f3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb2a8d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:51.266867 [ 21995 ] {f2479b00-8537-43c9-bc5d-5f2e7a2d5180} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfcf4f3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb2a8d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:51.413169 [ 21995 ] {1b80368c-5768-4d1b-a11c-853ba764b882} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46596) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY FULL JOIN t0 USING (x) ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b20281e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cf9f844 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c1d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:51.414133 [ 21995 ] {1b80368c-5768-4d1b-a11c-853ba764b882} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b20281e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cf9f844 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c1d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:51.543971 [ 21995 ] {8dec2fbf-e21b-4a23-8024-8a51db448275} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46596) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY RIGHT JOIN t0 ON t1.x = t0.x ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfcf4f3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb2a8d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:51.544784 [ 21995 ] {8dec2fbf-e21b-4a23-8024-8a51db448275} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfcf4f3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb2a8d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:51.556558 [ 21995 ] {1ab6ec42-df89-4d71-b5a8-266fc08a9158} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46596) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY FULL JOIN t0 ON t1.x = t0.x ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b20281e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cf9f844 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c1d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:51.557363 [ 21995 ] {1ab6ec42-df89-4d71-b5a8-266fc08a9158} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b20281e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cf9f844 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c1d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:51.674492 [ 21995 ] {dfdb039c-0cc9-42d6-a77e-a999adb6b429} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46596) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY RIGHT JOIN t1 USING (x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfcf4f3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb2a8d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:51.675216 [ 21995 ] {dfdb039c-0cc9-42d6-a77e-a999adb6b429} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfcf4f3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb2a8d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:51.685367 [ 21995 ] {6b2228ef-d090-473b-a630-97549cf76f60} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46596) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY FULL JOIN t1 USING (x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b20281e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cf9f844 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c1d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:51.686086 [ 21995 ] {6b2228ef-d090-473b-a630-97549cf76f60} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b20281e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cf9f844 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c1d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:51.800476 [ 21995 ] {c6488dd2-ba87-4f4f-94d7-94a6569daa78} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46596) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY RIGHT JOIN t1 ON t1.x = t0.x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfcf4f3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb2a8d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:51.801293 [ 21995 ] {c6488dd2-ba87-4f4f-94d7-94a6569daa78} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfcf4f3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb2a8d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:51.812394 [ 21995 ] {31d940fa-96d4-43f4-bf86-5ddf89ae10e9} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46596) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY FULL JOIN t1 ON t1.x = t0.x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b20281e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cf9f844 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c1d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:51.813097 [ 21995 ] {31d940fa-96d4-43f4-bf86-5ddf89ae10e9} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b20281e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cf9f844 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c1d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:51.948490 [ 21995 ] {3e080f46-e6aa-41a9-9412-848a2e48e8b9} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46596) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY RIGHT JOIN t0 USING (x) ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfcf4f3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb2a8d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:51.949308 [ 21995 ] {3e080f46-e6aa-41a9-9412-848a2e48e8b9} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfcf4f3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb2a8d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:51.959960 [ 21995 ] {afc17fc5-89b2-4450-81eb-19339153bbbe} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46596) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY FULL JOIN t0 USING (x) ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b20281e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cf9f844 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c1d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:51.960695 [ 21995 ] {afc17fc5-89b2-4450-81eb-19339153bbbe} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b20281e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cf9f844 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c1d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:52.079080 [ 21995 ] {b627101d-5131-4db3-a07b-dc537b4f5297} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46596) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY RIGHT JOIN t0 ON t1.x = t0.x ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfcf4f3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb2a8d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:52.079841 [ 21995 ] {b627101d-5131-4db3-a07b-dc537b4f5297} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfcf4f3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb2a8d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:52.091203 [ 21995 ] {969c2ebf-ab57-46be-bf07-67c44a025931} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46596) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t1 ANY FULL JOIN t0 ON t1.x = t0.x ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b20281e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cf9f844 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c1d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:52.091913 [ 21995 ] {969c2ebf-ab57-46be-bf07-67c44a025931} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b20281e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cf9f844 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c1d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:52.212250 [ 21995 ] {e733ce57-0a96-454b-9fb1-82a8af1fcd53} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46596) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY RIGHT JOIN t1 USING (x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfcf4f3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb2a8d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:52.213150 [ 21995 ] {e733ce57-0a96-454b-9fb1-82a8af1fcd53} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfcf4f3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb2a8d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:52.223170 [ 21995 ] {80da378d-281b-49b9-aafa-27e2ef8ae772} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46596) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY FULL JOIN t1 USING (x);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b20281e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cf9f844 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c1d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:52.223848 [ 21995 ] {80da378d-281b-49b9-aafa-27e2ef8ae772} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b20281e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cf9f844 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c1d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:52.346745 [ 21995 ] {1b8bf47b-5581-4806-befb-ce42371f6247} executeQuery: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46596) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY RIGHT JOIN t1 ON t1.x = t0.x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfcf4f3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb2a8d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:52.347429 [ 21995 ] {1b8bf47b-5581-4806-befb-ce42371f6247} TCPHandler: Code: 48. DB::Exception: Can't execute PARTIAL_MERGE join algorithm for this strictness/kind and right storage type. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl, std::__wrap_iter, char>>::type>, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x000000001bfcf4f3 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1012: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb2a8d in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:52.357187 [ 21995 ] {2b3ca4ff-00e8-4e60-8911-4cab9c1b17a3} executeQuery: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46596) (comment: 01147_partial_merge_full_join.sql) (in query: SELECT * FROM t0 ANY FULL JOIN t1 ON t1.x = t0.x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b20281e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cf9f844 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c1d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:52.357919 [ 21995 ] {2b3ca4ff-00e8-4e60-8911-4cab9c1b17a3} TCPHandler: Code: 48. DB::Exception: ANY FULL JOINs are not implemented. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [35]) @ 0x000000000b20281e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:548: DB::(anonymous namespace)::setJoinStrictness(DB::ASTSelectQuery&, DB::JoinStrictness, bool, std::shared_ptr&) @ 0x000000001cf9f844 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1247: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c1d0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:26:53.419138 [ 11801 ] {ea554c1f-141f-42bd-80ec-5adde37f0306} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46670) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d75c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d5d4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d391 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d097 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7cf0a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da77cf6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da7387d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:26:53.420410 [ 11801 ] {ea554c1f-141f-42bd-80ec-5adde37f0306} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d75c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d5d4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d391 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d097 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7cf0a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da77cf6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da7387d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:26:54.494727 [ 21981 ] {86d91736-ca4b-4a3b-8386-f76d32515c50} executeQuery: Code: 169. DB::Exception: ASOF join not supported for type: String. (BAD_TYPE_OF_FIELD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46680) (comment: 01139_asof_join_types.sql) (in query: select * from (select 0 as k, 'x' as v) t1 asof join (select 0 as k, 'x' as v) t2 using(k, v);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/RowRefs.cpp:267: DB::SortedLookupVectorBase::getTypeSize(DB::IColumn const&, unsigned long&) @ 0x000000001ccd2ae4 in /usr/bin/clickhouse 7. /build/src/Interpreters/HashJoin.cpp:288: DB::HashJoin::HashJoin(std::shared_ptr, DB::Block const&, bool, unsigned long) @ 0x000000001c5828cc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::HashJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::HashJoin*>(DB::HashJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd10c7 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::HashJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0e69 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0b6f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfd09e2 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfcef8e in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionAnalyzer.cpp:983: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb2406 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 01:26:54.495767 [ 21981 ] {86d91736-ca4b-4a3b-8386-f76d32515c50} TCPHandler: Code: 169. DB::Exception: ASOF join not supported for type: String. (BAD_TYPE_OF_FIELD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/RowRefs.cpp:267: DB::SortedLookupVectorBase::getTypeSize(DB::IColumn const&, unsigned long&) @ 0x000000001ccd2ae4 in /usr/bin/clickhouse 7. /build/src/Interpreters/HashJoin.cpp:288: DB::HashJoin::HashJoin(std::shared_ptr, DB::Block const&, bool, unsigned long) @ 0x000000001c5828cc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::HashJoin* std::construct_at[abi:v15000]&, DB::Block&, DB::HashJoin*>(DB::HashJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd10c7 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::Block&, void, void>(std::allocator&, DB::HashJoin*, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0e69 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::Block&>(std::allocator, std::shared_ptr&, DB::Block&) @ 0x000000001bfd0b6f in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::Block&, void>(std::allocator const&, std::shared_ptr&, DB::Block&) @ 0x000000001bfd09e2 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::Block&, void>(std::shared_ptr&, DB::Block&) @ 0x000000001bfcef8e in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionAnalyzer.cpp:983: DB::chooseJoinAlgorithm(std::shared_ptr, std::vector> const&, std::unique_ptr>&, std::shared_ptr) @ 0x000000001bfb2406 in /usr/bin/clickhouse 14. /build/src/Interpreters/ExpressionAnalyzer.cpp:1157: DB::SelectQueryExpressionAnalyzer::makeJoin(DB::ASTTablesInSelectQueryElement const&, std::vector> const&, std::shared_ptr&) @ 0x000000001bfaf9e6 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:928: DB::SelectQueryExpressionAnalyzer::appendJoin(DB::ExpressionActionsChain&, std::shared_ptr&) @ 0x000000001bfaec7c in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:1887: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb909d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 01:26:56.107312 [ 21981 ] {598f75c8-592c-477b-9dc9-c67f417fadf3} executeQuery: Code: 158. DB::Exception: Limit for rows to GROUP BY exceeded: has 11 rows, maximum: 10: While executing AggregatingTransform. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46718) (comment: 01134_max_rows_to_group_by.sql) (in query: SELECT 'test1', number FROM system.numbers GROUP BY number;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000c4b06cc in /usr/bin/clickhouse 6. /build/src/Interpreters/Aggregator.cpp:1806: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x000000001c00e4cd in /usr/bin/clickhouse 7. /build/src/Interpreters/Aggregator.cpp:1615: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fc33 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 2024.12.17 01:26:56.111397 [ 21981 ] {598f75c8-592c-477b-9dc9-c67f417fadf3} TCPHandler: Code: 158. DB::Exception: Limit for rows to GROUP BY exceeded: has 11 rows, maximum: 10: While executing AggregatingTransform. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000c4b06cc in /usr/bin/clickhouse 6. /build/src/Interpreters/Aggregator.cpp:1806: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x000000001c00e4cd in /usr/bin/clickhouse 7. /build/src/Interpreters/Aggregator.cpp:1615: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fc33 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 2024.12.17 01:26:56.378958 [ 21984 ] {e11c33b1-7f77-4072-9bb6-b5ab9ab17d15} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 100.00, current rows: 70.08 thousand. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46738) (comment: 01131_max_rows_to_sort.sql) (in query: SELECT * FROM system.numbers ORDER BY number;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a0808 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a032c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a0679 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001ebdd3fc in /usr/bin/clickhouse 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 2024.12.17 01:26:56.380048 [ 21984 ] {e11c33b1-7f77-4072-9bb6-b5ab9ab17d15} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 100.00, current rows: 70.08 thousand. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a0808 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a032c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a0679 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001ebdd3fc in /usr/bin/clickhouse 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 2024.12.17 01:26:56.731240 [ 21981 ] {3a14865e-66c2-40cc-ae1b-184d07cf5311} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 500.00, current rows: 1.00 thousand: While executing Numbers. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46718) (comment: 01134_max_rows_to_group_by.sql) (in query: SELECT 'test4', number FROM numbers(1000) GROUP BY number ORDER BY number;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a0808 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a032c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x000000001b876ae4 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb971 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 2024.12.17 01:26:56.740680 [ 21981 ] {3a14865e-66c2-40cc-ae1b-184d07cf5311} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 500.00, current rows: 1.00 thousand: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a0808 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a032c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x000000001b876ae4 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb971 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 2024.12.17 01:26:56.900832 [ 21995 ] {c90ab503-9c7c-4d5a-be95-6cfc409c84d5} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46756) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d75c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d5d4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d391 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d097 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7cf0a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da77cf6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da7387d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:26:56.901971 [ 21995 ] {c90ab503-9c7c-4d5a-be95-6cfc409c84d5} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d75c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d5d4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d391 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d097 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7cf0a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da77cf6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da7387d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:26:59.058820 [ 21994 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x000000001b0f7451 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:535: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f717d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f6f8f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b181d69 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f6eda in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb0eac in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 13. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf6e09 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e648b9f in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e63f956 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:26:59.060096 [ 21994 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf6e09 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e648b9f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e63f956 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:26:59.164106 [ 21995 ] {2988d2d6-44fc-4db9-a66b-3b8dce517c38} executeQuery: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf6e09 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e648b9f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e63f956 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? . (AUTHENTICATION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46826) (comment: 01119_session_log.sql) (in query: SELECT * FROM remote('127.0.0.2', system, one, 'default', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1364: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013981322 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1150: DB::Connection::receiveException() const @ 0x000000001e4c4c39 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000001e4c46a1 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:191: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001e4c3171 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001e4c4fd3 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:46: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001e4f3f79 in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:128: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001e4f5944 in /usr/bin/clickhouse 13. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x000000001b89c3e1 in /usr/bin/clickhouse 14. /build/src/Common/Fiber.h:70: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x000000001b89c2f8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval())) std::__invoke[abi:v15000]&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89c288 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89c248 in /usr/bin/clickhouse 17. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x000000001b89c17e in /usr/bin/clickhouse 18. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x000000001b89bffd in /usr/bin/clickhouse 2024.12.17 01:26:59.165330 [ 21995 ] {2988d2d6-44fc-4db9-a66b-3b8dce517c38} TCPHandler: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf6e09 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e648b9f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e63f956 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1364: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013981322 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1150: DB::Connection::receiveException() const @ 0x000000001e4c4c39 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000001e4c46a1 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:191: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001e4c3171 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001e4c4fd3 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:46: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001e4f3f79 in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:128: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001e4f5944 in /usr/bin/clickhouse 13. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x000000001b89c3e1 in /usr/bin/clickhouse 14. /build/src/Common/Fiber.h:70: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x000000001b89c2f8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval())) std::__invoke[abi:v15000]&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89c288 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89c248 in /usr/bin/clickhouse 17. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x000000001b89c17e in /usr/bin/clickhouse 18. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x000000001b89bffd in /usr/bin/clickhouse 2024.12.17 01:26:59.176256 [ 11801 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: nonexistsnt_user_1119: Authentication failed: Code: 192. DB::Exception: There is no user `nonexistsnt_user_1119` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f40d9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f71dd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f6f8f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b181d69 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f6eda in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb0eac in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 13. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf6e09 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e648b9f in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e63f956 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:26:59.177148 [ 11801 ] {} ServerErrorHandler: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf6e09 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e648b9f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e63f956 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:26:59.179107 [ 21995 ] {12b1ee65-0a7b-46ae-9bb7-fb9a0ee21c98} executeQuery: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf6e09 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e648b9f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e63f956 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? . (AUTHENTICATION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46826) (comment: 01119_session_log.sql) (in query: SELECT * FROM remote('127.0.0.2', system, one, 'nonexistsnt_user_1119', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1364: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013981322 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1150: DB::Connection::receiveException() const @ 0x000000001e4c4c39 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000001e4c46a1 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:191: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001e4c3171 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001e4c4fd3 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:46: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001e4f3f79 in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:128: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001e4f5944 in /usr/bin/clickhouse 13. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x000000001b89c3e1 in /usr/bin/clickhouse 14. /build/src/Common/Fiber.h:70: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x000000001b89c2f8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval())) std::__invoke[abi:v15000]&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89c288 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89c248 in /usr/bin/clickhouse 17. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x000000001b89c17e in /usr/bin/clickhouse 18. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x000000001b89bffd in /usr/bin/clickhouse 2024.12.17 01:26:59.180197 [ 21995 ] {12b1ee65-0a7b-46ae-9bb7-fb9a0ee21c98} TCPHandler: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf6e09 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e648b9f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e63f956 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1364: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013981322 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1150: DB::Connection::receiveException() const @ 0x000000001e4c4c39 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000001e4c46a1 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:191: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001e4c3171 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001e4c4fd3 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:46: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001e4f3f79 in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:128: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001e4f5944 in /usr/bin/clickhouse 13. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x000000001b89c3e1 in /usr/bin/clickhouse 14. /build/src/Common/Fiber.h:70: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x000000001b89c2f8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval())) std::__invoke[abi:v15000]&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89c288 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89c248 in /usr/bin/clickhouse 17. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x000000001b89c17e in /usr/bin/clickhouse 18. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x000000001b89bffd in /usr/bin/clickhouse 2024.12.17 01:27:00.447994 [ 21996 ] {e25cc656-7d28-4fc2-9c72-5ff2202fa0fc} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36676) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d75c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d5d4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d391 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d097 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7cf0a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da77cf6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da7387d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:27:00.449008 [ 21996 ] {e25cc656-7d28-4fc2-9c72-5ff2202fa0fc} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d75c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d5d4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d391 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d097 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7cf0a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da77cf6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da7387d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:27:04.161739 [ 21991 ] {7f9ea828-0e1a-4832-ac41-0d7d0228674e} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36732) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d75c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d5d4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d391 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d097 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7cf0a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da77cf6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da7387d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:27:04.162927 [ 21991 ] {7f9ea828-0e1a-4832-ac41-0d7d0228674e} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d75c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d5d4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d391 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d097 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7cf0a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da77cf6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da7387d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:27:07.116042 [ 21999 ] {48bbfa64-f2b0-4007-9735-f26268e309b7} executeQuery: Code: 36. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36910) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: CREATE TABLE test_ijtjgmyn.rmt_32487_31712_1808 (`n` int) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 3905, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.7630879878997803, merge_max_block_size = 6125, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 1116835036, index_granularity_bytes = 27122618, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 10156, primary_key_compress_block_size = 81663), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [126]) @ 0x000000000b199ebe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:101: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x00000000138f3404 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:353: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x000000001e359a36 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:420: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e356041 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:07.117688 [ 21999 ] {48bbfa64-f2b0-4007-9735-f26268e309b7} TCPHandler: Code: 36. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [126]) @ 0x000000000b199ebe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:101: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x00000000138f3404 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:353: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x000000001e359a36 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:420: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e356041 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:07.716155 [ 22003 ] {88c34da9-f65d-42fe-b8b9-f9b760c4e5ed} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36936) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d75c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d5d4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d391 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d097 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7cf0a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da77cf6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da7387d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:27:07.717372 [ 22003 ] {88c34da9-f65d-42fe-b8b9-f9b760c4e5ed} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d75c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d5d4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d391 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d097 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7cf0a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da77cf6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da7387d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:27:09.157063 [ 22003 ] {28e2c5ba-4628-47a6-bb2d-c81877281fc4} executeQuery: Code: 352. DB::Exception: Block structure mismatch in (columns with identical name must have identical structure) stream: different values of constants in column '1': actual: 1, expected: 3. (AMBIGUOUS_COLUMN_NAME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36968) (comment: 01101_literal_column_clash.sql) (in query: with 3 as "1" select 1, "1";), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&, String const&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String const&, String&&, String&&) @ 0x000000001b3eeee4 in /usr/bin/clickhouse 6. /build/src/Core/Block.cpp:38: void DB::onError>&, String const&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String const&, String&&, String&&) @ 0x000000001b3e62b7 in /usr/bin/clickhouse 7. /build/src/Core/Block.cpp:99: void DB::checkColumnStructure(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&, std::basic_string_view>, bool, int) @ 0x000000001b3e0f6b in /usr/bin/clickhouse 8. /build/src/Core/Block.cpp:0: DB::Block::insert(DB::ColumnWithTypeAndName) @ 0x000000001b3e11d3 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionActions.cpp:445: DB::ExpressionActions::linearizeActions(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001bf80740 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionActions.cpp:65: DB::ExpressionActions::ExpressionActions(std::shared_ptr, DB::ExpressionActionsSettings const&) @ 0x000000001bf7f357 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::ExpressionActions* std::construct_at[abi:v15000]&, DB::ExpressionActionsSettings const&, DB::ExpressionActions*>(DB::ExpressionActions*, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x000000001e13241f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::ExpressionActionsSettings const&, void, void>(std::allocator&, DB::ExpressionActions*, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x000000001e132389 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::ExpressionActionsSettings const&>(std::allocator, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x000000001e13230f in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::ExpressionActionsSettings const&, void>(std::allocator const&, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x000000001e132222 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::ExpressionActionsSettings const&, void>(std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x000000001e12dcae in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:39: DB::ExpressionStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee2e867 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee50adc in /usr/bin/clickhouse 18. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:09.157902 [ 22003 ] {28e2c5ba-4628-47a6-bb2d-c81877281fc4} TCPHandler: Code: 352. DB::Exception: Block structure mismatch in (columns with identical name must have identical structure) stream: different values of constants in column '1': actual: 1, expected: 3. (AMBIGUOUS_COLUMN_NAME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&, String const&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String const&, String&&, String&&) @ 0x000000001b3eeee4 in /usr/bin/clickhouse 6. /build/src/Core/Block.cpp:38: void DB::onError>&, String const&, String, String>(int, FormatStringHelperImpl>&>::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, std::basic_string_view>&, String const&, String&&, String&&) @ 0x000000001b3e62b7 in /usr/bin/clickhouse 7. /build/src/Core/Block.cpp:99: void DB::checkColumnStructure(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&, std::basic_string_view>, bool, int) @ 0x000000001b3e0f6b in /usr/bin/clickhouse 8. /build/src/Core/Block.cpp:0: DB::Block::insert(DB::ColumnWithTypeAndName) @ 0x000000001b3e11d3 in /usr/bin/clickhouse 9. /build/src/Interpreters/ExpressionActions.cpp:445: DB::ExpressionActions::linearizeActions(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001bf80740 in /usr/bin/clickhouse 10. /build/src/Interpreters/ExpressionActions.cpp:65: DB::ExpressionActions::ExpressionActions(std::shared_ptr, DB::ExpressionActionsSettings const&) @ 0x000000001bf7f357 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::ExpressionActions* std::construct_at[abi:v15000]&, DB::ExpressionActionsSettings const&, DB::ExpressionActions*>(DB::ExpressionActions*, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x000000001e13241f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, DB::ExpressionActionsSettings const&, void, void>(std::allocator&, DB::ExpressionActions*, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x000000001e132389 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, DB::ExpressionActionsSettings const&>(std::allocator, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x000000001e13230f in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, DB::ExpressionActionsSettings const&, void>(std::allocator const&, std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x000000001e132222 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, DB::ExpressionActionsSettings const&, void>(std::shared_ptr&, DB::ExpressionActionsSettings const&) @ 0x000000001e12dcae in /usr/bin/clickhouse 16. /build/src/Processors/QueryPlan/ExpressionStep.cpp:39: DB::ExpressionStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee2e867 in /usr/bin/clickhouse 17. /build/src/Processors/QueryPlan/ITransformingStep.cpp:41: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee50adc in /usr/bin/clickhouse 18. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:09.197137 [ 21995 ] {a0f8cb8f-2352-4dbb-918f-d63572776a8e} HedgedConnectionsFactory: Connection failed at try â„–1, reason: Timeout exceeded while reading from socket (socket (127.0.0.2:9000), receive timeout 10000 ms) 2024.12.17 01:27:09.315509 [ 22003 ] {4d3eaa92-ec9d-481d-9205-16c29ac7a3db} executeQuery: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: 'b = ignore('UInt8')', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(b, ignore('UInt8'))']. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36968) (comment: 01101_literal_column_clash.sql) (in query: -- other cases with joins and constants select cast(1, 'UInt8') from (select arrayJoin([1, 2]) as a) t1 left join (select 1 as b) t2 on b = ignore('UInt8');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:658: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fedd in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:09.317476 [ 22003 ] {4d3eaa92-ec9d-481d-9205-16c29ac7a3db} TCPHandler: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: 'b = ignore('UInt8')', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(b, ignore('UInt8'))']. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:658: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fedd in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:09.339516 [ 22003 ] {dbe08c86-1544-452d-af11-a866bc02eaa6} executeQuery: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: 'b = ignore('UInt8')', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(b, ignore('UInt8'))']. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36968) (comment: 01101_literal_column_clash.sql) (in query: select isConstant('UInt8'), toFixedString('hello', toUInt8(substring('UInt8', 5, 1))) from (select arrayJoin([1, 2]) as a) t1 left join (select 1 as b) t2 on b = ignore('UInt8');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:658: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fedd in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:09.340365 [ 22003 ] {dbe08c86-1544-452d-af11-a866bc02eaa6} TCPHandler: Code: 403. DB::Exception: Cannot get JOIN keys from JOIN ON section: 'b = ignore('UInt8')', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(b, ignore('UInt8'))']. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:658: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fedd in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:11.227171 [ 1119 ] {6db365fb-858f-4d3f-b4df-dfc375a8ff9a} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37768) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d75c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d5d4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d391 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d097 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7cf0a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da77cf6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da7387d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:27:11.228421 [ 1119 ] {6db365fb-858f-4d3f-b4df-dfc375a8ff9a} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d75c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d5d4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d391 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d097 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7cf0a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da77cf6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da7387d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:27:11.682022 [ 21983 ] {aa253755-2aad-41f6-a180-d35aa5a61f3d} executeQuery: Code: 36. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37774) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: CREATE TABLE test_ijtjgmyn.rmt_1642_14887_27402 (`n` int) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 3905, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.7630879878997803, merge_max_block_size = 6125, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 1116835036, index_granularity_bytes = 27122618, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 10156, primary_key_compress_block_size = 81663), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [126]) @ 0x000000000b199ebe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:101: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x00000000138f3404 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:353: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x000000001e359a36 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:420: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e356041 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:11.684047 [ 21983 ] {aa253755-2aad-41f6-a180-d35aa5a61f3d} TCPHandler: Code: 36. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [126]) @ 0x000000000b199ebe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:101: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x00000000138f3404 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:353: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x000000001e359a36 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:420: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e356041 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:12.722094 [ 1119 ] {d04f2261-8618-44a7-9d3e-fb77fb7c07e4} executeQuery: Code: 253. DB::Exception: Replica 1 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_ijtjgmyn already exists. Replica host ID: '40311433f10a:9000:3b587ecb-9100-4de6-a6fa-69a6d4a5cd5f', current host ID: '40311433f10a:9000:ed269f64-e7c3-4219-87f2-9a9b8b003618'. (REPLICA_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37804) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_ijtjgmyn_repl_01111_4 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_ijtjgmyn', '1', '1')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb2281a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb05170 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb07943 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8abb82 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e488e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7c7f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:12.725387 [ 1119 ] {d04f2261-8618-44a7-9d3e-fb77fb7c07e4} TCPHandler: Code: 253. DB::Exception: Replica 1 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_ijtjgmyn already exists. Replica host ID: '40311433f10a:9000:3b587ecb-9100-4de6-a6fa-69a6d4a5cd5f', current host ID: '40311433f10a:9000:ed269f64-e7c3-4219-87f2-9a9b8b003618'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb2281a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb05170 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb07943 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8abb82 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e488e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7c7f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:14.380448 [ 3551 ] {aa0cf975-8081-4866-b7da-86211e0809ab} executeQuery: Code: 47. DB::Exception: Missing columns: 'p_partkey' while processing query: 'SELECT min(ps_supplycost) FROM (SELECT `--.s`.*, n_regionkey, n_nationkey FROM (SELECT ps_suppkey, ps_partkey, ps_supplycost, s_nationkey, s_suppkey FROM partsupp ALL INNER JOIN supplier ON s_suppkey = ps_suppkey) AS `--.s` ALL INNER JOIN nation ON s_nationkey = n_nationkey HAVING (s_nationkey = n_nationkey) AND ((s_suppkey = ps_suppkey) AND (p_partkey = ps_partkey))) AS `--.s` ALL INNER JOIN (SELECT * FROM region HAVING r_name = 'EUROPE') AS region ON n_regionkey = r_regionkey WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')', required columns: 'n_regionkey' 'r_regionkey' 'p_partkey' 's_suppkey' 'ps_supplycost' 'ps_partkey' 'ps_suppkey' 's_nationkey' 'n_nationkey' 'r_name' 'n_regionkey' 'r_regionkey' 'p_partkey' 's_suppkey' 'ps_supplycost' 'ps_partkey' 'ps_suppkey' 's_nationkey' 'n_nationkey' 'r_name', joined columns: 'r_regionkey' 'r_name' 'r_comment' '_part' '_part_index' '_part_uuid' '_partition_id' '_partition_value' '_sample_factor' '_part_offset' '_row_exists': While processing (SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery439: While processing ps_supplycost = ((SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery439): While processing (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (p_size = 15) AND (p_type LIKE '%BRASS') AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE') AND (ps_supplycost = ((SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery439)). (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37840) (comment: 01095_tpch_like_smoke.sql) (in query: select s_acctbal, s_name, n_name, p_partkey, p_mfgr, s_address, s_phone, s_comment from part, supplier, partsupp, nation, region where p_partkey = ps_partkey and s_suppkey = ps_suppkey and p_size = 15 and p_type like '%BRASS' and s_nationkey = n_nationkey and n_regionkey = r_regionkey and r_name = 'EUROPE' and ps_supplycost = ( select min(ps_supplycost) from partsupp, supplier, nation, region where p_partkey = ps_partkey and s_suppkey = ps_suppkey and s_nationkey = n_nationkey and n_regionkey = r_regionkey and r_name = 'EUROPE' ) order by s_acctbal desc, n_name, s_name, p_partkey limit 100;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 2024.12.17 01:27:14.381996 [ 3551 ] {aa0cf975-8081-4866-b7da-86211e0809ab} TCPHandler: Code: 47. DB::Exception: Missing columns: 'p_partkey' while processing query: 'SELECT min(ps_supplycost) FROM (SELECT `--.s`.*, n_regionkey, n_nationkey FROM (SELECT ps_suppkey, ps_partkey, ps_supplycost, s_nationkey, s_suppkey FROM partsupp ALL INNER JOIN supplier ON s_suppkey = ps_suppkey) AS `--.s` ALL INNER JOIN nation ON s_nationkey = n_nationkey HAVING (s_nationkey = n_nationkey) AND ((s_suppkey = ps_suppkey) AND (p_partkey = ps_partkey))) AS `--.s` ALL INNER JOIN (SELECT * FROM region HAVING r_name = 'EUROPE') AS region ON n_regionkey = r_regionkey WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')', required columns: 'n_regionkey' 'r_regionkey' 'p_partkey' 's_suppkey' 'ps_supplycost' 'ps_partkey' 'ps_suppkey' 's_nationkey' 'n_nationkey' 'r_name' 'n_regionkey' 'r_regionkey' 'p_partkey' 's_suppkey' 'ps_supplycost' 'ps_partkey' 'ps_suppkey' 's_nationkey' 'n_nationkey' 'r_name', joined columns: 'r_regionkey' 'r_name' 'r_comment' '_part' '_part_index' '_part_uuid' '_partition_id' '_partition_value' '_sample_factor' '_part_offset' '_row_exists': While processing (SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery439: While processing ps_supplycost = ((SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery439): While processing (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (p_size = 15) AND (p_type LIKE '%BRASS') AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE') AND (ps_supplycost = ((SELECT min(ps_supplycost) FROM partsupp, supplier, nation, region WHERE (p_partkey = ps_partkey) AND (s_suppkey = ps_suppkey) AND (s_nationkey = n_nationkey) AND (n_regionkey = r_regionkey) AND (r_name = 'EUROPE')) AS _subquery439)). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 2024.12.17 01:27:14.649669 [ 21999 ] {caf90301-c3ad-4bc1-8fad-8430ed174900} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37936) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d75c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d5d4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d391 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d097 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7cf0a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da77cf6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da7387d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:27:14.650535 [ 21999 ] {caf90301-c3ad-4bc1-8fad-8430ed174900} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 MiB (attempt to allocate chunk of 1085103 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageStripeLog.cpp:175: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d75c in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d5d4 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d391 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d097 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7cf0a in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da77cf6 in /usr/bin/clickhouse 25. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da7387d in /usr/bin/clickhouse 26. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:27:14.826343 [ 21981 ] {31c252a1-ba8f-44a4-b9d5-a1d331e087d8} executeQuery: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37938) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: system sync database replica test_ijtjgmyn), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [83]) @ 0x000000000bc5b8be in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:1052: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x000000001cbe6236 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:586: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdb5a2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:14.834648 [ 21981 ] {31c252a1-ba8f-44a4-b9d5-a1d331e087d8} TCPHandler: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [83]) @ 0x000000000bc5b8be in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:1052: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x000000001cbe6236 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:586: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdb5a2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:14.973138 [ 21999 ] {d988a307-f568-4865-b0dd-c3b359a08953} executeQuery: Code: 253. DB::Exception: Replica 0 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_ijtjgmyn already exists. Replica host ID: '40311433f10a:9000:a18be516-a6a7-4ca3-852f-3a1b4ce3a802', current host ID: '40311433f10a:9000:68784319-819b-4d61-a0db-af4332f045c0'. (REPLICA_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37960) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_ijtjgmyn_repl_01111_15 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_ijtjgmyn', '1', '0')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb2281a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb05170 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb07943 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8abb82 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e488e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7c7f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:14.975262 [ 21999 ] {d988a307-f568-4865-b0dd-c3b359a08953} TCPHandler: Code: 253. DB::Exception: Replica 0 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_ijtjgmyn already exists. Replica host ID: '40311433f10a:9000:a18be516-a6a7-4ca3-852f-3a1b4ce3a802', current host ID: '40311433f10a:9000:68784319-819b-4d61-a0db-af4332f045c0'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb2281a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb05170 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb07943 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8abb82 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e488e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7c7f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:16.075037 [ 21984 ] {3f49a536-a849-469f-861d-d17e720d7cd8} executeQuery: Code: 81. DB::Exception: Database test_ijtjgmyn_repl_01111_5 does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37990) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: CREATE TABLE test_ijtjgmyn_repl_01111_5.rmt_1200_5594_6879 (`n` int) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 3905, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.7630879878997803, merge_max_block_size = 6125, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 1116835036, index_granularity_bytes = 27122618, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 10156, primary_key_compress_block_size = 81663), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1266: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0246 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:16.077333 [ 21984 ] {3f49a536-a849-469f-861d-d17e720d7cd8} TCPHandler: Code: 81. DB::Exception: Database test_ijtjgmyn_repl_01111_5 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1266: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f0246 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:18.252883 [ 21984 ] {b3c4de18-0b02-4f6f-8eaa-df433af3fd32} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.04 MiB (attempt to allocate chunk of 1049183 bytes), maximum: 2.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38124) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageStripeLog.cpp:499: DB::StorageStripeLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da743f8 in /usr/bin/clickhouse 21. /build/src/Storages/StorageStripeLog.cpp:186: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d9cf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d5d4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d391 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d097 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7cf0a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da77cf6 in /usr/bin/clickhouse 27. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da7387d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:27:18.253873 [ 21984 ] {b3c4de18-0b02-4f6f-8eaa-df433af3fd32} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.04 MiB (attempt to allocate chunk of 1049183 bytes), maximum: 2.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageStripeLog.cpp:499: DB::StorageStripeLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da743f8 in /usr/bin/clickhouse 21. /build/src/Storages/StorageStripeLog.cpp:186: DB::StripeLogSink::StripeLogSink(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d9cf in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StripeLogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::StripeLogSink*>(DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d5d4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::StripeLogSink*, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d391 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7d097 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da7cf0a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageStripeLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da77cf6 in /usr/bin/clickhouse 27. /build/src/Storages/StorageStripeLog.cpp:403: DB::StorageStripeLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da7387d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:27:19.198474 [ 21995 ] {a0f8cb8f-2352-4dbb-918f-d63572776a8e} HedgedConnectionsFactory: Connection failed at try â„–2, reason: Timeout exceeded while reading from socket (socket (127.0.0.2:9000), receive timeout 10000 ms) 2024.12.17 01:27:21.063431 [ 16559 ] {} DDLWorker(test_ijtjgmyn_repl_01111_12): Error on initialization of test_ijtjgmyn_repl_01111_12: Code: 57. DB::Exception: Directory for table data store/71b/71b818b9-98e4-499c-a35d-476eca3fb06b/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1390: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f478e in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:1021: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001bb13e78 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:119: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001bb3ced7 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001bb3b09a in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x000000001bebab98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed6849 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed67cd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed671d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed6635 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed6595 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed6575 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed6555 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed6520 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:21.765305 [ 3551 ] {3988d2ca-3d45-4d11-8751-e1bf0b5a758e} executeQuery: Code: 47. DB::Exception: Missing columns: 'total_revenue' while processing query: 'SELECT max(total_revenue) FROM (SELECT l_suppkey, sum(l_extendedprice * (1 - l_discount)) FROM test_mko9upo7.lineitem WHERE (l_shipdate >= toDate('1996-01-01')) AND (l_shipdate < (toDate('1996-01-01') + toIntervalMonth('3'))) GROUP BY l_suppkey) AS revenue0', required columns: 'total_revenue': While processing (SELECT max(total_revenue) FROM revenue0) AS _subquery441: While processing total_revenue = ((SELECT max(total_revenue) FROM revenue0) AS _subquery441): While processing (s_suppkey = supplier_no) AND (total_revenue = ((SELECT max(total_revenue) FROM revenue0) AS _subquery441)). (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37840) (comment: 01095_tpch_like_smoke.sql) (in query: select s_suppkey, s_name, s_address, s_phone, total_revenue from supplier, revenue0 where s_suppkey = supplier_no and total_revenue = ( select max(total_revenue) from revenue0 ) order by s_suppkey;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 2024.12.17 01:27:21.766386 [ 3551 ] {3988d2ca-3d45-4d11-8751-e1bf0b5a758e} TCPHandler: Code: 47. DB::Exception: Missing columns: 'total_revenue' while processing query: 'SELECT max(total_revenue) FROM (SELECT l_suppkey, sum(l_extendedprice * (1 - l_discount)) FROM test_mko9upo7.lineitem WHERE (l_shipdate >= toDate('1996-01-01')) AND (l_shipdate < (toDate('1996-01-01') + toIntervalMonth('3'))) GROUP BY l_suppkey) AS revenue0', required columns: 'total_revenue': While processing (SELECT max(total_revenue) FROM revenue0) AS _subquery441: While processing total_revenue = ((SELECT max(total_revenue) FROM revenue0) AS _subquery441): While processing (s_suppkey = supplier_no) AND (total_revenue = ((SELECT max(total_revenue) FROM revenue0) AS _subquery441)). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 2024.12.17 01:27:21.858024 [ 22001 ] {51013d02-3dbe-4705-b65a-cd50a944e2c6} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 4.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56634) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x0000000013911dad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x0000000013911d2a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cb0f8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d493b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f7a66 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cd6bd in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6cd54a in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cd4f5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cd4d9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6cd43d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6cd347 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6cd2b5 in /usr/bin/clickhouse 2024.12.17 01:27:21.859472 [ 22001 ] {51013d02-3dbe-4705-b65a-cd50a944e2c6} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 4.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x0000000013911dad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x0000000013911d2a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cb0f8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d493b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f7a66 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cd6bd in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6cd54a in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cd4f5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cd4d9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6cd43d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6cd347 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6cd2b5 in /usr/bin/clickhouse 2024.12.17 01:27:22.177538 [ 3551 ] {818c2a14-df87-4f01-b923-442d919e9173} executeQuery: Code: 47. DB::Exception: Missing columns: 'p_partkey' while processing query: 'SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey', required columns: 'l_partkey' 'l_quantity' 'p_partkey', maybe you meant: 'l_partkey' or 'l_quantity': While processing (SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery443: While processing l_quantity < ((SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery443): While processing (p_partkey = l_partkey) AND (p_brand = 'Brand#23') AND (p_container = 'MED BOX') AND (l_quantity < ((SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery443)). (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37840) (comment: 01095_tpch_like_smoke.sql) (in query: select sum(l_extendedprice) / 7.0 as avg_yearly from lineitem, part where p_partkey = l_partkey and p_brand = 'Brand#23' and p_container = 'MED BOX' and l_quantity < ( select 0.2 * avg(l_quantity) from lineitem where l_partkey = p_partkey );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 2024.12.17 01:27:22.179007 [ 3551 ] {818c2a14-df87-4f01-b923-442d919e9173} TCPHandler: Code: 47. DB::Exception: Missing columns: 'p_partkey' while processing query: 'SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey', required columns: 'l_partkey' 'l_quantity' 'p_partkey', maybe you meant: 'l_partkey' or 'l_quantity': While processing (SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery443: While processing l_quantity < ((SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery443): While processing (p_partkey = l_partkey) AND (p_brand = 'Brand#23') AND (p_container = 'MED BOX') AND (l_quantity < ((SELECT 0.2 * avg(l_quantity) FROM lineitem WHERE l_partkey = p_partkey) AS _subquery443)). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 2024.12.17 01:27:22.839675 [ 3551 ] {d05e4447-1611-4dcc-9438-b55c6235b60c} executeQuery: Code: 47. DB::Exception: Missing columns: 'ps_suppkey' 'ps_partkey' while processing query: 'SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))', required columns: 'l_partkey' 'l_quantity' 'ps_partkey' 'ps_suppkey' 'l_suppkey' 'l_shipdate', maybe you meant: 'l_partkey', 'l_quantity', 'l_suppkey' or 'l_shipdate': While processing (SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery451: While processing ps_availqty > ((SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery451): While processing (ps_partkey IN ((SELECT p_partkey FROM part WHERE p_name LIKE 'forest%') AS _subquery450)) AND (ps_availqty > ((SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery451)): While processing (s_suppkey IN ((SELECT ps_suppkey FROM partsupp WHERE (ps_partkey IN (SELECT p_partkey FROM part WHERE p_name LIKE 'forest%')) AND (ps_availqty > (SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))))) AS _subquery449)) AND (s_nationkey = n_nationkey) AND (n_name = 'CANADA'). (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37840) (comment: 01095_tpch_like_smoke.sql) (in query: select s_name, s_address from supplier, nation where s_suppkey in ( select ps_suppkey from partsupp where ps_partkey in ( select p_partkey from part where p_name like 'forest%' ) and ps_availqty > ( select 0.5 * sum(l_quantity) from lineitem where l_partkey = ps_partkey and l_suppkey = ps_suppkey and l_shipdate >= date '1994-01-01' and l_shipdate < date '1994-01-01' + interval '1' year ) ) and s_nationkey = n_nationkey and n_name = 'CANADA' order by s_name;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 2024.12.17 01:27:22.841205 [ 3551 ] {d05e4447-1611-4dcc-9438-b55c6235b60c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'ps_suppkey' 'ps_partkey' while processing query: 'SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))', required columns: 'l_partkey' 'l_quantity' 'ps_partkey' 'ps_suppkey' 'l_suppkey' 'l_shipdate', maybe you meant: 'l_partkey', 'l_quantity', 'l_suppkey' or 'l_shipdate': While processing (SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery451: While processing ps_availqty > ((SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery451): While processing (ps_partkey IN ((SELECT p_partkey FROM part WHERE p_name LIKE 'forest%') AS _subquery450)) AND (ps_availqty > ((SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))) AS _subquery451)): While processing (s_suppkey IN ((SELECT ps_suppkey FROM partsupp WHERE (ps_partkey IN (SELECT p_partkey FROM part WHERE p_name LIKE 'forest%')) AND (ps_availqty > (SELECT 0.5 * sum(l_quantity) FROM lineitem WHERE (l_partkey = ps_partkey) AND (l_suppkey = ps_suppkey) AND (l_shipdate >= toDate('1994-01-01')) AND (l_shipdate < (toDate('1994-01-01') + toIntervalYear('1')))))) AS _subquery449)) AND (s_nationkey = n_nationkey) AND (n_name = 'CANADA'). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 2024.12.17 01:27:22.843299 [ 16393 ] {} DDLWorker(test_ijtjgmyn_repl_01111_3): Error on initialization of test_ijtjgmyn_repl_01111_3: Code: 57. DB::Exception: Directory for table data store/71b/71b818b9-98e4-499c-a35d-476eca3fb06b/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1390: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f478e in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:1021: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001bb13e78 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:119: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001bb3ced7 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001bb3b09a in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x000000001bebab98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed6849 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed67cd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed671d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed6635 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed6595 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed6575 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed6555 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed6520 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:24.178546 [ 22003 ] {838b5b0b-0f09-495f-913b-3d690a983e2c} executeQuery: Code: 36. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56720) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: CREATE TABLE test_ijtjgmyn.rmt_2837_32305_32232 (`n` int) ENGINE = ReplicatedMergeTree ORDER BY tuple() SETTINGS index_granularity = 3905, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0.7630879878997803, merge_max_block_size = 6125, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 1116835036, index_granularity_bytes = 27122618, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 10156, primary_key_compress_block_size = 81663), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [126]) @ 0x000000000b199ebe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:101: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x00000000138f3404 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:353: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x000000001e359a36 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:420: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e356041 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:24.180127 [ 22003 ] {838b5b0b-0f09-495f-913b-3d690a983e2c} TCPHandler: Code: 36. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [126]) @ 0x000000000b199ebe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:101: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x00000000138f3404 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:353: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x000000001e359a36 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:420: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e356041 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:25.483190 [ 22001 ] {a85da31d-05db-4696-8ce6-be9695376467} executeQuery: Code: 47. DB::Exception: Missing columns: 'toUInt64(sum(id))' while processing query: 'SELECT toUInt64(sum(id) AS b), b FROM test WHERE `toUInt64(sum(id))` = 3', required columns: 'toUInt64(sum(id))' 'id', maybe you meant: 'id'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56794) (comment: 01076_predicate_optimizer_with_view.sql) (in query: SELECT * FROM (SELECT toUInt64(b), sum(id) AS b FROM test) WHERE `toUInt64(sum(id))` = 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc8ab3 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc232b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/JoinedTables.cpp:202: DB::JoinedTables::makeLeftTableSubquery(DB::SelectQueryOptions const&) @ 0x000000001cc1eb0d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:716: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae43d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 2024.12.17 01:27:25.483232 [ 22003 ] {1b66fc10-8477-42b9-a617-c3d707f623a1} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 8.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56828) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x0000000013911dad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x0000000013911d2a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cb0f8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d493b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f7a66 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cd6bd in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6cd54a in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cd4f5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cd4d9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6cd43d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6cd347 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6cd2b5 in /usr/bin/clickhouse 2024.12.17 01:27:25.484409 [ 22001 ] {a85da31d-05db-4696-8ce6-be9695376467} TCPHandler: Code: 47. DB::Exception: Missing columns: 'toUInt64(sum(id))' while processing query: 'SELECT toUInt64(sum(id) AS b), b FROM test WHERE `toUInt64(sum(id))` = 3', required columns: 'toUInt64(sum(id))' 'id', maybe you meant: 'id'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc8ab3 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc232b4 in /usr/bin/clickhouse 16. /build/src/Interpreters/JoinedTables.cpp:202: DB::JoinedTables::makeLeftTableSubquery(DB::SelectQueryOptions const&) @ 0x000000001cc1eb0d in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:716: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caae43d in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 2024.12.17 01:27:25.485184 [ 22003 ] {1b66fc10-8477-42b9-a617-c3d707f623a1} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 8.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x0000000013911dad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x0000000013911d2a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cb0f8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d493b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f7a66 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cd6bd in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6cd54a in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cd4f5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cd4d9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6cd43d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6cd347 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6cd2b5 in /usr/bin/clickhouse 2024.12.17 01:27:26.270491 [ 22003 ] {0e019fdb-cd03-4057-a1eb-59822e37f389} executeQuery: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56858) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: system sync database replica test_ijtjgmyn), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [83]) @ 0x000000000bc5b8be in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:1052: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x000000001cbe6236 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:586: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdb5a2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:26.272213 [ 22003 ] {0e019fdb-cd03-4057-a1eb-59822e37f389} TCPHandler: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [83]) @ 0x000000000bc5b8be in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:1052: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x000000001cbe6236 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:586: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdb5a2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:26.624643 [ 21999 ] {48183062-ff12-44a5-89b0-df9083d7d070} executeQuery: Code: 253. DB::Exception: Replica 0 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_ijtjgmyn already exists. Replica host ID: '40311433f10a:9000:a18be516-a6a7-4ca3-852f-3a1b4ce3a802', current host ID: '40311433f10a:9000:a64ff850-d18a-4aad-bc5d-0ee68c7476ff'. (REPLICA_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56894) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_ijtjgmyn_repl_01111_0 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_ijtjgmyn', '1', '0')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb2281a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb05170 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb07943 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8abb82 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e488e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7c7f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:26.626373 [ 21999 ] {48183062-ff12-44a5-89b0-df9083d7d070} TCPHandler: Code: 253. DB::Exception: Replica 0 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_ijtjgmyn already exists. Replica host ID: '40311433f10a:9000:a18be516-a6a7-4ca3-852f-3a1b4ce3a802', current host ID: '40311433f10a:9000:a64ff850-d18a-4aad-bc5d-0ee68c7476ff'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb2281a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb05170 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb07943 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8abb82 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e488e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7c7f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:27.864356 [ 16393 ] {} DDLWorker(test_ijtjgmyn_repl_01111_3): Error on initialization of test_ijtjgmyn_repl_01111_3: Code: 57. DB::Exception: Directory for table data store/71b/71b818b9-98e4-499c-a35d-476eca3fb06b/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1390: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f478e in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:1021: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001bb13e78 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:119: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001bb3ced7 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001bb3b09a in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x000000001bebab98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed6849 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed67cd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed671d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed6635 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed6595 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed6575 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed6555 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed6520 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:29.210001 [ 21995 ] {a0f8cb8f-2352-4dbb-918f-d63572776a8e} HedgedConnectionsFactory: Connection failed at try â„–3, reason: Timeout exceeded while reading from socket (socket (127.0.0.2:9000), receive timeout 10000 ms) 2024.12.17 01:27:29.341997 [ 21995 ] {a0f8cb8f-2352-4dbb-918f-d63572776a8e} executeQuery: Code: 519. DB::NetException: All attempts to get table structure failed. Log: Code: 279. DB::NetException: All connection tries failed. Log: Timeout exceeded while reading from socket (socket (127.0.0.2:9000), receive timeout 10000 ms) Timeout exceeded while reading from socket (socket (127.0.0.2:9000), receive timeout 10000 ms) Timeout exceeded while reading from socket (socket (127.0.0.2:9000), receive timeout 10000 ms) . (ALL_CONNECTION_TRIES_FAILED) (version 23.8.16.43.altinitystable (altinity build)) . (NO_REMOTE_SHARD_AVAILABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46826) (comment: 01119_session_log.sql) (in query: SELECT * FROM remote('127.0.0.2', system, one, ' INTERSERVER SECRET ', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001da4d0b3 in /usr/bin/clickhouse 6. /build/src/Storages/getStructureOfRemoteTable.cpp:166: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001da4bc56 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionRemote.cpp:345: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a94af22 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:305: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94a436 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:29.342860 [ 21995 ] {a0f8cb8f-2352-4dbb-918f-d63572776a8e} TCPHandler: Code: 519. DB::NetException: All attempts to get table structure failed. Log: Code: 279. DB::NetException: All connection tries failed. Log: Timeout exceeded while reading from socket (socket (127.0.0.2:9000), receive timeout 10000 ms) Timeout exceeded while reading from socket (socket (127.0.0.2:9000), receive timeout 10000 ms) Timeout exceeded while reading from socket (socket (127.0.0.2:9000), receive timeout 10000 ms) . (ALL_CONNECTION_TRIES_FAILED) (version 23.8.16.43.altinitystable (altinity build)) . (NO_REMOTE_SHARD_AVAILABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001da4d0b3 in /usr/bin/clickhouse 6. /build/src/Storages/getStructureOfRemoteTable.cpp:166: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001da4bc56 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionRemote.cpp:345: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a94af22 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:305: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a94a436 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:29.356345 [ 21999 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: : Authentication failed: Code: 192. DB::Exception: There is no user ` ` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f40d9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f71dd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f6f8f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b181d69 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f6eda in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb0eac in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 13. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf6e09 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e648b9f in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e63f956 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:29.357281 [ 21999 ] {} ServerErrorHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf6e09 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e648b9f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e63f956 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:29.359394 [ 21995 ] {5817fc31-e02b-42c5-ae7b-3889f8c04835} executeQuery: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf6e09 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e648b9f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e63f956 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? . (AUTHENTICATION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46826) (comment: 01119_session_log.sql) (in query: SELECT * FROM remote('127.0.0.2', system, one, ' ', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1364: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013981322 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1150: DB::Connection::receiveException() const @ 0x000000001e4c4c39 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000001e4c46a1 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:191: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001e4c3171 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001e4c4fd3 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:46: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001e4f3f79 in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:128: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001e4f5944 in /usr/bin/clickhouse 13. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x000000001b89c3e1 in /usr/bin/clickhouse 14. /build/src/Common/Fiber.h:70: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x000000001b89c2f8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval())) std::__invoke[abi:v15000]&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89c288 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89c248 in /usr/bin/clickhouse 17. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x000000001b89c17e in /usr/bin/clickhouse 18. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x000000001b89bffd in /usr/bin/clickhouse 2024.12.17 01:27:29.360486 [ 21995 ] {5817fc31-e02b-42c5-ae7b-3889f8c04835} TCPHandler: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name.. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Interpreters/Session.cpp:333: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf6e09 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1362: DB::TCPHandler::receiveHello() @ 0x000000001e648b9f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:247: DB::TCPHandler::runImpl() @ 0x000000001e63f956 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1364: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013981322 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1150: DB::Connection::receiveException() const @ 0x000000001e4c4c39 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000001e4c46a1 in /usr/bin/clickhouse 9. /build/src/Client/Connection.cpp:191: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001e4c3171 in /usr/bin/clickhouse 10. /build/src/Client/Connection.cpp:0: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001e4c4fd3 in /usr/bin/clickhouse 11. /build/src/Client/ConnectionEstablisher.cpp:46: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001e4f3f79 in /usr/bin/clickhouse 12. /build/src/Client/ConnectionEstablisher.cpp:128: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001e4f5944 in /usr/bin/clickhouse 13. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x000000001b89c3e1 in /usr/bin/clickhouse 14. /build/src/Common/Fiber.h:70: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x000000001b89c2f8 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval())) std::__invoke[abi:v15000]&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89c288 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89c248 in /usr/bin/clickhouse 17. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x000000001b89c17e in /usr/bin/clickhouse 18. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x000000001b89bffd in /usr/bin/clickhouse 2024.12.17 01:27:29.515054 [ 8666 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x000000001b0f7451 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:535: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f717d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f6f8f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b181d69 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f6eda in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb0eac in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:29.516515 [ 8666 ] {} DynamicQueryHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:29.520479 [ 8666 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x000000001b0f7451 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:535: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f717d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f6f8f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b181d69 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f6eda in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb0eac in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:29.521272 [ 8666 ] {} DynamicQueryHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:29.645784 [ 21995 ] {23a83731-ed02-4962-9c22-fcc9362c9e14} executeQuery: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=default&password=wrong. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) : While executing LineAsStringRowInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46826) (comment: 01119_session_log.sql) (in query: select * from url('http://127.0.0.1:8123/?query=select+1&user=default&password=wrong', LineAsString, 's String');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cac1a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca03cb in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cabf71 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca026b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca0086 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c641b0 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c67fb0 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c66980 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c68fb6 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::LineAsStringRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e8cd9bb in /usr/bin/clickhouse 16. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 24. /build/src/Storages/StorageURL.cpp:401: DB::StorageURLSource::generate() @ 0x000000001d9fff1c in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 26. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 2024.12.17 01:27:29.645980 [ 16720 ] {} DDLWorker(test_ijtjgmyn_repl_01111_15): Error on initialization of test_ijtjgmyn_repl_01111_15: Code: 57. DB::Exception: Directory for table data store/71b/71b818b9-98e4-499c-a35d-476eca3fb06b/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1390: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f478e in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:1021: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001bb13e78 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:119: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001bb3ced7 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001bb3b09a in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x000000001bebab98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed6849 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed67cd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed671d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed6635 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed6595 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed6575 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed6555 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed6520 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:29.647443 [ 21995 ] {23a83731-ed02-4962-9c22-fcc9362c9e14} TCPHandler: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=default&password=wrong. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) : While executing LineAsStringRowInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cac1a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca03cb in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cabf71 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca026b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca0086 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c641b0 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c67fb0 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c66980 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c68fb6 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::LineAsStringRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e8cd9bb in /usr/bin/clickhouse 16. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 24. /build/src/Storages/StorageURL.cpp:401: DB::StorageURLSource::generate() @ 0x000000001d9fff1c in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 26. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 2024.12.17 01:27:29.664665 [ 8666 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: nonexistsnt_user_1119: Authentication failed: Code: 192. DB::Exception: There is no user `nonexistsnt_user_1119` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f40d9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f71dd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f6f8f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b181d69 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f6eda in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb0eac in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:29.665492 [ 8666 ] {} DynamicQueryHandler: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:29.669219 [ 8666 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: nonexistsnt_user_1119: Authentication failed: Code: 192. DB::Exception: There is no user `nonexistsnt_user_1119` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f40d9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f71dd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f6f8f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b181d69 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f6eda in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb0eac in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:29.669933 [ 8666 ] {} DynamicQueryHandler: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:29.673512 [ 21995 ] {c4153e86-2cab-4452-8b3b-d3d7116314fd} executeQuery: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=nonexistsnt_user_1119. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) : While executing LineAsStringRowInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46826) (comment: 01119_session_log.sql) (in query: select * from url('http://127.0.0.1:8123/?query=select+1&user=nonexistsnt_user_1119', LineAsString, 's String');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cac1a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca03cb in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cabf71 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca026b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca0086 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c641b0 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c67fb0 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c66980 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c68fb6 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::LineAsStringRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e8cd9bb in /usr/bin/clickhouse 16. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 24. /build/src/Storages/StorageURL.cpp:401: DB::StorageURLSource::generate() @ 0x000000001d9fff1c in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 26. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 2024.12.17 01:27:29.675523 [ 21995 ] {c4153e86-2cab-4452-8b3b-d3d7116314fd} TCPHandler: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=nonexistsnt_user_1119. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: nonexistsnt_user_1119: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) : While executing LineAsStringRowInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cac1a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca03cb in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cabf71 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca026b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca0086 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c641b0 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c67fb0 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c66980 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c68fb6 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::LineAsStringRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e8cd9bb in /usr/bin/clickhouse 16. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 24. /build/src/Storages/StorageURL.cpp:401: DB::StorageURLSource::generate() @ 0x000000001d9fff1c in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 26. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 2024.12.17 01:27:29.691450 [ 8666 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: INTERSERVER SECRET : Authentication failed: Code: 192. DB::Exception: There is no user ` INTERSERVER SECRET ` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f40d9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f71dd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f6f8f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b181d69 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f6eda in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb0eac in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:29.692226 [ 8666 ] {} DynamicQueryHandler: Code: 516. DB::Exception: INTERSERVER SECRET : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:29.696009 [ 8666 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: INTERSERVER SECRET : Authentication failed: Code: 192. DB::Exception: There is no user ` INTERSERVER SECRET ` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f40d9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f71dd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f6f8f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b181d69 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f6eda in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb0eac in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:29.696807 [ 8666 ] {} DynamicQueryHandler: Code: 516. DB::Exception: INTERSERVER SECRET : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:29.699999 [ 21995 ] {e9faabc1-83f7-43a6-b2ee-3f3a6d4d3113} executeQuery: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+INTERSERVER+SECRET+. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: INTERSERVER SECRET : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) : While executing LineAsStringRowInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46826) (comment: 01119_session_log.sql) (in query: select * from url('http://127.0.0.1:8123/?query=select+1&user=+INTERSERVER+SECRET+', LineAsString, 's String');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cac1a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca03cb in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cabf71 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca026b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca0086 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c641b0 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c67fb0 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c66980 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c68fb6 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::LineAsStringRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e8cd9bb in /usr/bin/clickhouse 16. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 24. /build/src/Storages/StorageURL.cpp:401: DB::StorageURLSource::generate() @ 0x000000001d9fff1c in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 26. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 2024.12.17 01:27:29.702047 [ 21995 ] {e9faabc1-83f7-43a6-b2ee-3f3a6d4d3113} TCPHandler: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+INTERSERVER+SECRET+. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: INTERSERVER SECRET : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) : While executing LineAsStringRowInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cac1a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca03cb in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cabf71 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca026b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca0086 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c641b0 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c67fb0 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c66980 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c68fb6 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::LineAsStringRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e8cd9bb in /usr/bin/clickhouse 16. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 24. /build/src/Storages/StorageURL.cpp:401: DB::StorageURLSource::generate() @ 0x000000001d9fff1c in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 26. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 2024.12.17 01:27:29.717260 [ 8666 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: : Authentication failed: Code: 192. DB::Exception: There is no user ` ` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f40d9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f71dd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f6f8f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b181d69 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f6eda in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb0eac in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:29.718026 [ 8666 ] {} DynamicQueryHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:29.722042 [ 21999 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: : Authentication failed: Code: 192. DB::Exception: There is no user ` ` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f40d9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f71dd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f6f8f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b181d69 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f6eda in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb0eac in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:29.722946 [ 21999 ] {} DynamicQueryHandler: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:29.726108 [ 21995 ] {d850597d-ac45-4b9c-a8a4-27b0caa591e3} executeQuery: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+++. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) : While executing LineAsStringRowInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46826) (comment: 01119_session_log.sql) (in query: select * from url('http://127.0.0.1:8123/?query=select+1&user=+++', LineAsString, 's String');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cac1a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca03cb in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cabf71 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca026b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca0086 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c641b0 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c67fb0 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c66980 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c68fb6 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::LineAsStringRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e8cd9bb in /usr/bin/clickhouse 16. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 24. /build/src/Storages/StorageURL.cpp:401: DB::StorageURLSource::generate() @ 0x000000001d9fff1c in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 26. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 2024.12.17 01:27:29.727740 [ 21995 ] {d850597d-ac45-4b9c-a8a4-27b0caa591e3} TCPHandler: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=+++. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: : Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) : While executing LineAsStringRowInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cac1a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca03cb in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cabf71 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca026b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca0086 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c641b0 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c67fb0 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c66980 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c68fb6 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::LineAsStringRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e8cd9bb in /usr/bin/clickhouse 16. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 24. /build/src/Storages/StorageURL.cpp:401: DB::StorageURLSource::generate() @ 0x000000001d9fff1c in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 26. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 2024.12.17 01:27:30.386016 [ 11801 ] {576df8af-9d34-4193-a6ea-fb8f8136d079} executeQuery: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57980) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: system sync database replica test_ijtjgmyn), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [83]) @ 0x000000000bc5b8be in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:1052: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x000000001cbe6236 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:586: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdb5a2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:30.388071 [ 11801 ] {576df8af-9d34-4193-a6ea-fb8f8136d079} TCPHandler: Code: 36. DB::Exception: SYSTEM SYNC DATABASE REPLICA query is intended to work only with Replicated engine. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [83]) @ 0x000000000bc5b8be in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:1052: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x000000001cbe6236 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:586: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdb5a2 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:30.609359 [ 21994 ] {2c023403-f1e6-432d-a157-a8d36be00010} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `non_existing_column` to drop. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57990) (comment: 01079_bad_alters_zookeeper_long.sh) (in query: ALTER TABLE table_for_bad_alters MODIFY COLUMN value1 UInt32, DROP COLUMN non_existing_column), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58eeb9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:30.610908 [ 21994 ] {2c023403-f1e6-432d-a157-a8d36be00010} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `non_existing_column` to drop. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58eeb9 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:31.374467 [ 21996 ] {9b07e706-ff28-450f-92c9-36108bfde160} executeQuery: Code: 253. DB::Exception: Replica 0 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_ijtjgmyn already exists. Replica host ID: '40311433f10a:9000:a18be516-a6a7-4ca3-852f-3a1b4ce3a802', current host ID: '40311433f10a:9000:00806fbe-845e-4b37-ae5b-99122084b999'. (REPLICA_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58030) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: create database if not exists test_ijtjgmyn_repl_01111_8 engine=Replicated('/test/01111/01111_create_drop_replicated_db_stress_test_ijtjgmyn', '1', '0')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb2281a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb05170 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb07943 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8abb82 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e488e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7c7f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:31.376023 [ 21996 ] {9b07e706-ff28-450f-92c9-36108bfde160} TCPHandler: Code: 253. DB::Exception: Replica 0 of shard 1 of replicated database at /test/01111/01111_create_drop_replicated_db_stress_test_ijtjgmyn already exists. Replica host ID: '40311433f10a:9000:a18be516-a6a7-4ca3-852f-3a1b4ce3a802', current host ID: '40311433f10a:9000:00806fbe-845e-4b37-ae5b-99122084b999'. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&, String&, String&) @ 0x000000001bb2281a in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicated.cpp:346: DB::DatabaseReplicated::tryConnectToZooKeeperAndInitDatabase(DB::LoadingStrictnessLevel) @ 0x000000001bb05170 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:495: DB::DatabaseReplicated::beforeLoadingMetadata(std::shared_ptr, DB::LoadingStrictnessLevel) @ 0x000000001bb07943 in /usr/bin/clickhouse 8. /build/src/Databases/TablesLoader.cpp:61: DB::TablesLoader::loadTables() @ 0x000000001c8abb82 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:328: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x000000001c7e488e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1728: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7c7f in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:32.881491 [ 16393 ] {} DDLWorker(test_ijtjgmyn_repl_01111_3): Error on initialization of test_ijtjgmyn_repl_01111_3: Code: 57. DB::Exception: Directory for table data store/71b/71b818b9-98e4-499c-a35d-476eca3fb06b/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1390: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f478e in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:1021: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001bb13e78 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:119: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001bb3ced7 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001bb3b09a in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x000000001bebab98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed6849 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed67cd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed671d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed6635 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed6595 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed6575 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed6555 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed6520 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:33.767656 [ 920 ] {} 854bb110-2623-4728-8158-b3f79a3e53e2::all_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/854/854bb110-2623-4728-8158-b3f79a3e53e2/all_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2c2717 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2bd418 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2ab9b9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2aace8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2a9efe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b236a10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2369a6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b236940 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2368e0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b23688b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8394e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d0cf496 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:33.768847 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {854bb110-2623-4728-8158-b3f79a3e53e2::all_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/854/854bb110-2623-4728-8158-b3f79a3e53e2/all_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2c2717 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2bd418 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2ab9b9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2aace8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2a9efe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b236a10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2369a6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b236940 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2368e0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b23688b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8394e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d0cf496 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:34.061732 [ 1331 ] {} DDLWorker(test_ijtjgmyn_repl_01111_0): Error on initialization of test_ijtjgmyn_repl_01111_0: Code: 57. DB::Exception: Directory for table data store/71b/71b818b9-98e4-499c-a35d-476eca3fb06b/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1390: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f478e in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:1021: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001bb13e78 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:119: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001bb3ced7 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001bb3b09a in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x000000001bebab98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed6849 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed67cd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed671d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed6635 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed6595 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed6575 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed6555 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed6520 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:34.509786 [ 21996 ] {bd1a816f-f3aa-407b-ae52-7ce98c766023} executeQuery: Code: 507. DB::Exception: No sharding key. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58164) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: select * from dist_01071;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [16]) @ 0x00000000138d0100 in /usr/bin/clickhouse 5. /build/src/Storages/StorageDistributed.cpp:1325: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d655912 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d654548 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5d1b in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:34.510703 [ 21996 ] {bd1a816f-f3aa-407b-ae52-7ce98c766023} TCPHandler: Code: 507. DB::Exception: No sharding key. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [16]) @ 0x00000000138d0100 in /usr/bin/clickhouse 5. /build/src/Storages/StorageDistributed.cpp:1325: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d655912 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d654548 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5d1b in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:34.698205 [ 21996 ] {4415159e-94f5-440d-9528-43fd84e7ad1f} executeQuery: Code: 507. DB::Exception: Sharding key modulo(key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58164) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: select * from dist_01071;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1329: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d655a40 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d654548 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5d1b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:34.785550 [ 21996 ] {4415159e-94f5-440d-9528-43fd84e7ad1f} TCPHandler: Code: 507. DB::Exception: Sharding key modulo(key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1329: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d655a40 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d654548 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5d1b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:34.785619 [ 16734 ] {} DDLWorker(test_ijtjgmyn_repl_01111_6): Unexpected error, will try to restart main thread: Code: 341. DB::Exception: Replication was stopped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [24]) @ 0x000000000c4afebe in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicatedWorker.cpp:347: DB::DatabaseReplicatedDDLWorker::initAndCheckTask(String const&, String&, std::shared_ptr const&) @ 0x000000001bb40e19 in /usr/bin/clickhouse 7. /build/src/Interpreters/DDLWorker.cpp:363: DB::DDLWorker::scheduleTasks(bool)::$_0::operator()(String const&) const @ 0x000000001bed287e in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__algorithm/find_if.h:25: std::__wrap_iter std::find_if[abi:v15000], DB::DDLWorker::scheduleTasks(bool)::$_0>(std::__wrap_iter, std::__wrap_iter, DB::DDLWorker::scheduleTasks(bool)::$_0) @ 0x000000001bec5527 in /usr/bin/clickhouse 9. /build/src/Interpreters/DDLWorker.cpp:363: DB::DDLWorker::scheduleTasks(bool) @ 0x000000001bec2255 in /usr/bin/clickhouse 10. /build/src/Interpreters/DDLWorker.cpp:1126: DB::DDLWorker::runMainThread() @ 0x000000001bebb1a6 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed6849 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed67cd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed671d in /usr/bin/clickhouse 14. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed6635 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed6595 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed6575 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed6555 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed6520 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:34.785675 [ 16720 ] {} DDLWorker(test_ijtjgmyn_repl_01111_15): Error on initialization of test_ijtjgmyn_repl_01111_15: Code: 57. DB::Exception: Directory for table data store/71b/71b818b9-98e4-499c-a35d-476eca3fb06b/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1390: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f478e in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:1021: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001bb13e78 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:119: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001bb3ced7 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001bb3b09a in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x000000001bebab98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed6849 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed67cd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed671d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed6635 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed6595 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed6575 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed6555 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed6520 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:34.798205 [ 21996 ] {8ffca0fa-48da-40fe-8678-5a51398b9f6d} executeQuery: Code: 507. DB::Exception: Sharding key modulo(key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58164) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: select * from dist_01071;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1329: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d655a40 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d654548 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5d1b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:34.798898 [ 21996 ] {8ffca0fa-48da-40fe-8678-5a51398b9f6d} TCPHandler: Code: 507. DB::Exception: Sharding key modulo(key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1329: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d655a40 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d654548 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5d1b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:34.811727 [ 907 ] {} 854bb110-2623-4728-8158-b3f79a3e53e2::all_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/854/854bb110-2623-4728-8158-b3f79a3e53e2/all_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2c2717 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2bd418 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2ab9b9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2aace8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2a9efe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b236a10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2369a6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b236940 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2368e0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b23688b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8394e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d0cf496 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:34.813410 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {854bb110-2623-4728-8158-b3f79a3e53e2::all_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/854/854bb110-2623-4728-8158-b3f79a3e53e2/all_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2c2717 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2bd418 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2ab9b9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2aace8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2a9efe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b236a10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2369a6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b236940 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2368e0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b23688b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8394e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d0cf496 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:34.963008 [ 21996 ] {f6adaf9d-4eba-4af5-a1c5-6bd64c27ab67} executeQuery: Code: 507. DB::Exception: Sharding key is not deterministic. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58164) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: select * from dist_01071 where key = 0;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91cade in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1327: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d655989 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d654548 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5d1b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:34.964014 [ 21996 ] {f6adaf9d-4eba-4af5-a1c5-6bd64c27ab67} TCPHandler: Code: 507. DB::Exception: Sharding key is not deterministic. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [34]) @ 0x000000000b91cade in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1327: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d655989 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d654548 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5d1b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:35.054291 [ 22004 ] {0a2f7763-39f2-4e7f-91e0-515274a2812d} executeQuery: Code: 507. DB::Exception: Sharding key modulo(sub_key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:49936) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: SELECT `dist2_layer_01071`.`key`, `dist2_layer_01071`.`sub_key` FROM `test_ae1ye0mq`.`dist2_layer_01071` WHERE `key` = 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1329: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d655a40 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d654548 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5d1b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:35.055333 [ 22004 ] {0a2f7763-39f2-4e7f-91e0-515274a2812d} TCPHandler: Code: 507. DB::Exception: Sharding key modulo(sub_key, 2) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1329: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d655a40 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d654548 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5d1b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:35.058349 [ 21996 ] {740cccaf-be00-4406-89c3-2c79ff6670e8} executeQuery: Code: 507. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Sharding key modulo(sub_key, 2) is not used. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1329: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d655a40 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d654548 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5d1b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? : While executing Remote. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58164) (comment: 01071_force_optimize_skip_unused_shards.sql) (in query: select * from dist2_01071 where key = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1364: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013981322 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1150: DB::Connection::receiveException() const @ 0x000000001e4c4c39 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001e4cb231 in /usr/bin/clickhouse 9. /build/src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001e53607c in /usr/bin/clickhouse 10. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x000000001b89c3e1 in /usr/bin/clickhouse 11. /build/src/Common/Fiber.h:70: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x000000001b89c2f8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval())) std::__invoke[abi:v15000]&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89c288 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89c248 in /usr/bin/clickhouse 14. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x000000001b89c17e in /usr/bin/clickhouse 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x000000001b89bffd in /usr/bin/clickhouse 2024.12.17 01:27:35.059640 [ 21996 ] {740cccaf-be00-4406-89c3-2c79ff6670e8} TCPHandler: Code: 507. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Sharding key modulo(sub_key, 2) is not used. Stack trace: 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1329: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001d655a40 in /usr/bin/clickhouse 7. /build/src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d654548 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5d1b in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? : While executing Remote. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1364: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x0000000013981322 in /usr/bin/clickhouse 7. /build/src/Client/Connection.cpp:1150: DB::Connection::receiveException() const @ 0x000000001e4c4c39 in /usr/bin/clickhouse 8. /build/src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001e4cb231 in /usr/bin/clickhouse 9. /build/src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001e53607c in /usr/bin/clickhouse 10. /build/src/Common/AsyncTaskExecutor.cpp:88: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x000000001b89c3e1 in /usr/bin/clickhouse 11. /build/src/Common/Fiber.h:70: Fiber::RoutineImpl::operator()(boost::context::fiber&&) @ 0x000000001b89c2f8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval&>()(std::declval())) std::__invoke[abi:v15000]&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89c288 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:531: std::invoke_result&, boost::context::fiber>::type std::invoke&, boost::context::fiber>(Fiber::RoutineImpl&, boost::context::fiber&&) @ 0x000000001b89c248 in /usr/bin/clickhouse 14. /build/contrib/boost/boost/context/fiber_fcontext.hpp:157: boost::context::detail::fiber_record>::run(void*) @ 0x000000001b89c17e in /usr/bin/clickhouse 15. /build/contrib/boost/boost/context/fiber_fcontext.hpp:97: void boost::context::detail::fiber_entry>>(boost::context::detail::transfer_t) @ 0x000000001b89bffd in /usr/bin/clickhouse 2024.12.17 01:27:35.896616 [ 911 ] {} 854bb110-2623-4728-8158-b3f79a3e53e2::all_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/854/854bb110-2623-4728-8158-b3f79a3e53e2/all_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2c2717 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2bd418 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2ab9b9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2aace8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2a9efe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b236a10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2369a6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b236940 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2368e0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b23688b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8394e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d0cf496 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:35.898153 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {854bb110-2623-4728-8158-b3f79a3e53e2::all_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/854/854bb110-2623-4728-8158-b3f79a3e53e2/all_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2c2717 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2bd418 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2ab9b9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2aace8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2a9efe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b236a10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2369a6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b236940 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2368e0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b23688b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8394e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d0cf496 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:36.630099 [ 21996 ] {515e493b-2438-4938-b730-dabfa9f73554} executeQuery: Code: 36. DB::Exception: ALTER ADD INDEX is not supported for tables with the old syntax. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58228) (comment: 01071_prohibition_secondary_index_with_old_format_merge_tree.sql) (in query: ALTER TABLE old_syntax_01071_test ADD INDEX id_minmax id TYPE minmax GRANULARITY 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [64]) @ 0x000000000bb55cde in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3277: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8f087 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:36.631036 [ 21996 ] {515e493b-2438-4938-b730-dabfa9f73554} TCPHandler: Code: 36. DB::Exception: ALTER ADD INDEX is not supported for tables with the old syntax. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [64]) @ 0x000000000bb55cde in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3277: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8f087 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:36.837635 [ 908 ] {} 854bb110-2623-4728-8158-b3f79a3e53e2::all_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/854/854bb110-2623-4728-8158-b3f79a3e53e2/all_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2c2717 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2bd418 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2ab9b9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2aace8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2a9efe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b236a10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2369a6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b236940 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2368e0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b23688b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8394e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d0cf496 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:36.838948 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {854bb110-2623-4728-8158-b3f79a3e53e2::all_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 2, 'UInt32' :: 3) -> _CAST(value2, 'UInt32') UInt32 : 4': (while reading from part /var/lib/clickhouse/store/854/854bb110-2623-4728-8158-b3f79a3e53e2/all_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2c2717 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2bd418 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2ab9b9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2aace8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2a9efe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b236a10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2369a6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b236940 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2368e0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b23688b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8394e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d0cf496 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:36.851971 [ 912 ] {} test_lex40qpj.table_for_bad_alters (ReplicatedMergeTreeQueue): There are no mutations for partition ID all (trying to mutate part all_0_0_0 to 1) 2024.12.17 01:27:37.900489 [ 16393 ] {} DDLWorker(test_ijtjgmyn_repl_01111_3): Error on initialization of test_ijtjgmyn_repl_01111_3: Code: 57. DB::Exception: Directory for table data store/71b/71b818b9-98e4-499c-a35d-476eca3fb06b/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1390: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f478e in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:1021: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001bb13e78 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:119: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001bb3ced7 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001bb3b09a in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x000000001bebab98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed6849 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed67cd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed671d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed6635 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed6595 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed6575 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed6555 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed6520 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:39.078668 [ 1331 ] {} DDLWorker(test_ijtjgmyn_repl_01111_0): Error on initialization of test_ijtjgmyn_repl_01111_0: Code: 57. DB::Exception: Directory for table data store/71b/71b818b9-98e4-499c-a35d-476eca3fb06b/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1390: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f478e in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:1021: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001bb13e78 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:119: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001bb3ced7 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001bb3b09a in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x000000001bebab98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed6849 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed67cd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed671d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed6635 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed6595 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed6575 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed6555 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed6520 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:39.901430 [ 21994 ] {fa833868-2fee-430b-bd0e-8f1ba4b244f1} executeQuery: Code: 571. DB::Exception: ZooKeeper session expired or replication stopped, try again. (DATABASE_REPLICATION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58052) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: alter table test_ijtjgmyn_repl_01111_6.rmt_6517_10538_16566 update n = n + (select max(n) from merge(REGEXP('test_ijtjgmyn.*'), '.*')) where 1 settings allow_nondeterministic_mutations=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [60]) @ 0x000000000b19a7be in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicatedWorker.cpp:284: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001bb3fdfb in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:705: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001bb0d2e3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:107: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d3619 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:40.027761 [ 21994 ] {fa833868-2fee-430b-bd0e-8f1ba4b244f1} TCPHandler: Code: 571. DB::Exception: ZooKeeper session expired or replication stopped, try again. (DATABASE_REPLICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [60]) @ 0x000000000b19a7be in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseReplicatedWorker.cpp:284: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x000000001bb3fdfb in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseReplicated.cpp:705: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001bb0d2e3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:107: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d3619 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:40.028175 [ 16720 ] {} DDLWorker(test_ijtjgmyn_repl_01111_15): Error on initialization of test_ijtjgmyn_repl_01111_15: Code: 57. DB::Exception: Mapping for table with UUID=71b818b9-98e4-499c-a35d-476eca3fb06b already exists. It happened due to UUID collision, most likely because some not random UUIDs were manually specified in CREATE queries. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception, DB::UUIDTag> const&>(int, FormatStringHelperImpl, DB::UUIDTag> const&>::type>, StrongTypedef, DB::UUIDTag> const&) @ 0x000000001badc0b3 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:767: DB::DatabaseCatalog::addUUIDMapping(StrongTypedef, DB::UUIDTag> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001bee12fe in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:733: DB::DatabaseCatalog::addUUIDMapping(StrongTypedef, DB::UUIDTag> const&) @ 0x000000001bedb77b in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:1581: DB::TemporaryLockForUUIDDirectory::TemporaryLockForUUIDDirectory(StrongTypedef, DB::UUIDTag>) @ 0x000000001bef127e in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterCreateQuery.cpp:1424: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f4bb5 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 12. /build/src/Databases/DatabaseReplicated.cpp:1021: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001bb13e78 in /usr/bin/clickhouse 13. /build/src/Databases/DatabaseReplicatedWorker.cpp:119: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001bb3ced7 in /usr/bin/clickhouse 14. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001bb3b09a in /usr/bin/clickhouse 15. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x000000001bebab98 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed6849 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed67cd in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed671d in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed6635 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed6595 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed6575 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed6555 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed6520 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:40.111704 [ 2885 ] {3189c3cc-bbad-4fde-9986-6cfe2760ea3e} executeQuery: Code: 81. DB::Exception: Database test_ijtjgmyn_repl_01111_6 does not exist. Maybe you meant test_ijtjgmyn_repl_01111_0?. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58198) (comment: 01111_create_drop_replicated_db_stress.sh) (in query: system sync database replica test_ijtjgmyn_repl_01111_6), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:654: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x000000001bee2c63 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:1039: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x000000001cbe5489 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:586: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdb5a2 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:40.116286 [ 2885 ] {3189c3cc-bbad-4fde-9986-6cfe2760ea3e} TCPHandler: Code: 81. DB::Exception: Database test_ijtjgmyn_repl_01111_6 does not exist. Maybe you meant test_ijtjgmyn_repl_01111_0?. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:654: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x000000001bee2c63 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:1039: DB::InterpreterSystemQuery::syncReplicatedDatabase(DB::ASTSystemQuery&) @ 0x000000001cbe5489 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSystemQuery.cpp:586: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdb5a2 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:42.867166 [ 21991 ] {553b92cc-b7f5-4abc-be89-51eec7213c48} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int64, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing ifNotFinite(1234567890123456789, -1234567890123456789). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40146) (comment: 01065_if_not_finite.sql) (in query: SELECT ifNotFinite(1234567890123456789, -1234567890123456789);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119554ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001ba05c06 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:137: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001ba05584 in /usr/bin/clickhouse 8. /build/src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba0a438 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1042: DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000efd2dc5 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 15. /build/src/Functions/ifNotFinite.cpp:40: DB::(anonymous namespace)::FunctionIfNotFinite::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f1b10c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:27:42.868553 [ 21991 ] {553b92cc-b7f5-4abc-be89-51eec7213c48} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int64, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing ifNotFinite(1234567890123456789, -1234567890123456789). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119554ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001ba05c06 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:137: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001ba05584 in /usr/bin/clickhouse 8. /build/src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba0a438 in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1042: DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000efd2dc5 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 15. /build/src/Functions/ifNotFinite.cpp:40: DB::(anonymous namespace)::FunctionIfNotFinite::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f1b10c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:27:43.569700 [ 11801 ] {1d974b77-4691-4c60-8922-7bb3bc85884b} executeQuery: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 0, 'UInt32' :: 1) -> _CAST(value2, 'UInt32') UInt32 : 2': (while reading from part /var/lib/clickhouse/store/854/854bb110-2623-4728-8158-b3f79a3e53e2/all_0_0_0_1/ located on disk default of type local): While executing MergeTreeThread. (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40190) (comment: 01079_bad_alters_zookeeper_long.sh) (in query: SELECT distinct(value2) FROM table_for_bad_alters), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2c2717 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2bd418 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2ab9b9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2aace8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2a9efe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b236a10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2369a6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b236940 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2368e0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b23688b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8394e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d0cf496 in /usr/bin/clickhouse 2024.12.17 01:27:43.572626 [ 11801 ] {1d974b77-4691-4c60-8922-7bb3bc85884b} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value2 :: 0, 'UInt32' :: 1) -> _CAST(value2, 'UInt32') UInt32 : 2': (while reading from part /var/lib/clickhouse/store/854/854bb110-2623-4728-8158-b3f79a3e53e2/all_0_0_0_1/ located on disk default of type local): While executing MergeTreeThread. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b2c2717 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b2bd418 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b2ab9b9 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2aace8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b2a9efe in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b236a10 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2369a6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b236940 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b2368e0 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b23688b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 24. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 27. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionActions.cpp:780: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x000000001bf8394e in /usr/bin/clickhouse 31. /build/src/Interpreters/inplaceBlockConversions.cpp:184: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d0cf496 in /usr/bin/clickhouse 2024.12.17 01:27:44.098431 [ 1331 ] {} DDLWorker(test_ijtjgmyn_repl_01111_0): Error on initialization of test_ijtjgmyn_repl_01111_0: Code: 57. DB::Exception: Directory for table data store/71b/71b818b9-98e4-499c-a35d-476eca3fb06b/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1390: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f478e in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:1021: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001bb13e78 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:119: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001bb3ced7 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001bb3b09a in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x000000001bebab98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed6849 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed67cd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed671d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed6635 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed6595 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed6575 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed6555 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed6520 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:45.051857 [ 16720 ] {} DDLWorker(test_ijtjgmyn_repl_01111_15): Error on initialization of test_ijtjgmyn_repl_01111_15: Code: 57. DB::Exception: Directory for table data store/71b/71b818b9-98e4-499c-a35d-476eca3fb06b/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1390: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f478e in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:1021: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001bb13e78 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:119: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001bb3ced7 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001bb3b09a in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x000000001bebab98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed6849 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed67cd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed671d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed6635 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed6595 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed6575 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed6555 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed6520 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:48.662883 [ 21991 ] {391278de-f616-408e-b070-9ed77f4fd2eb} executeQuery: Code: 457. DB::Exception: Value Hello, World cannot be parsed as Nullable(String) for query parameter 'x' because it isn't parsed completely: only 6 of 12 bytes was parsed: Hello,. (BAD_QUERY_PARAMETER) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:52328) (comment: 01056_prepared_statements_null_and_escaping.sh) (in query: SELECT {x:Nullable(String)}), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x000000001d092c56 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:104: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001d091ec5 in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0918c5 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:731: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0abee8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:48.664035 [ 21991 ] {391278de-f616-408e-b070-9ed77f4fd2eb} DynamicQueryHandler: Code: 457. DB::Exception: Value Hello, World cannot be parsed as Nullable(String) for query parameter 'x' because it isn't parsed completely: only 6 of 12 bytes was parsed: Hello,. (BAD_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x000000001d092c56 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:104: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001d091ec5 in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0918c5 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:731: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0abee8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:48.677548 [ 21991 ] {2f678079-2421-4a54-a064-604fa8dff3d0} executeQuery: Code: 457. DB::Exception: Value Hello, World cannot be parsed as Nullable(String) for query parameter 'x' because it isn't parsed completely: only 6 of 12 bytes was parsed: Hello,. (BAD_QUERY_PARAMETER) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:52332) (comment: 01056_prepared_statements_null_and_escaping.sh) (in query: SELECT {x:Nullable(String)}), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x000000001d092c56 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:104: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001d091ec5 in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0918c5 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:731: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0abee8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:48.678525 [ 21991 ] {2f678079-2421-4a54-a064-604fa8dff3d0} DynamicQueryHandler: Code: 457. DB::Exception: Value Hello, World cannot be parsed as Nullable(String) for query parameter 'x' because it isn't parsed completely: only 6 of 12 bytes was parsed: Hello,. (BAD_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x000000001d092c56 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:104: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001d091ec5 in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0918c5 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:731: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0abee8 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:49.498288 [ 21984 ] {96e25d12-d341-4092-9f08-b813d333774b} executeQuery: Code: 36. DB::Exception: Wrong index name. Cannot find index `idx2` to drop. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40360) (comment: 01079_bad_alters_zookeeper_long.sh) (in query: ALTER TABLE table_for_bad_alters DROP INDEX idx2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000d9ea36c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:555: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d588293 in /usr/bin/clickhouse 7. /build/src/Storages/AlterCommands.cpp:929: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58b065 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8d98c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:49.499832 [ 21984 ] {96e25d12-d341-4092-9f08-b813d333774b} TCPHandler: Code: 36. DB::Exception: Wrong index name. Cannot find index `idx2` to drop. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&) @ 0x000000000d9ea36c in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:555: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d588293 in /usr/bin/clickhouse 7. /build/src/Storages/AlterCommands.cpp:929: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58b065 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8d98c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:27:50.076323 [ 16720 ] {} DDLWorker(test_ijtjgmyn_repl_01111_15): Error on initialization of test_ijtjgmyn_repl_01111_15: Code: 57. DB::Exception: Directory for table data store/71b/71b818b9-98e4-499c-a35d-476eca3fb06b/ already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1390: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f478e in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseReplicated.cpp:1021: DB::DatabaseReplicated::recoverLostReplica(std::shared_ptr const&, unsigned int, unsigned int&) @ 0x000000001bb13e78 in /usr/bin/clickhouse 10. /build/src/Databases/DatabaseReplicatedWorker.cpp:119: DB::DatabaseReplicatedDDLWorker::initializeReplication() @ 0x000000001bb3ced7 in /usr/bin/clickhouse 11. /build/src/Databases/DatabaseReplicatedWorker.cpp:47: DB::DatabaseReplicatedDDLWorker::initializeMainThread() @ 0x000000001bb3b09a in /usr/bin/clickhouse 12. /build/src/Interpreters/DDLWorker.cpp:1120: DB::DDLWorker::runMainThread() @ 0x000000001bebab98 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:359: decltype(*std::declval().*std::declval()()) std::__invoke[abi:v15000](void (DB::DDLWorker::*&)(), DB::DDLWorker*&) @ 0x000000001bed6849 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&, 0ul>(void (DB::DDLWorker::*&)(), std::tuple&, std::__tuple_indices<0ul>) @ 0x000000001bed67cd in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(void (DB::DDLWorker::*&)(), std::tuple&) @ 0x000000001bed671d in /usr/bin/clickhouse 16. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x000000001bed6635 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&) @ 0x000000001bed6595 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()&) @ 0x000000001bed6575 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001bed6555 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001bed6520 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:27:52.759810 [ 21995 ] {8d493567-dcf0-46fb-a795-6e6864595312} executeQuery: Code: 503. DB::Exception: Aggregate function aggThrow has thrown exception successfully: while executing 'FUNCTION arrayReduce('aggThrow(0.0001)' :: 1, range(modulo(number, 10)) :: 2) -> arrayReduce('aggThrow(0.0001)', range(modulo(number, 10))) UInt8 : 3'. (AGGREGATE_FUNCTION_THROW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49260) (comment: 01052_array_reduce_exception.sql) (in query: SELECT arrayReduce('aggThrow(0.0001)', range(number % 10)) FROM system.numbers FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAggThrow.cpp:71: DB::(anonymous namespace)::AggregateFunctionThrow::create(char*) const @ 0x0000000017819d67 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayReduce.cpp:161: DB::FunctionArrayReduce::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000132b5bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 2024.12.17 01:27:52.761084 [ 21995 ] {8d493567-dcf0-46fb-a795-6e6864595312} TCPHandler: Code: 503. DB::Exception: Aggregate function aggThrow has thrown exception successfully: while executing 'FUNCTION arrayReduce('aggThrow(0.0001)' :: 1, range(modulo(number, 10)) :: 2) -> arrayReduce('aggThrow(0.0001)', range(modulo(number, 10))) UInt8 : 3'. (AGGREGATE_FUNCTION_THROW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionAggThrow.cpp:71: DB::(anonymous namespace)::AggregateFunctionThrow::create(char*) const @ 0x0000000017819d67 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayReduce.cpp:161: DB::FunctionArrayReduce::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000132b5bcc in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 2024.12.17 01:27:55.049907 [ 21995 ] {84a4bfea-160c-4277-b8bc-4ba78a07e1fd} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085327 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49312) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:27:55.050983 [ 21995 ] {84a4bfea-160c-4277-b8bc-4ba78a07e1fd} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085327 bytes), maximum: 8.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:27:58.548877 [ 21995 ] {6dd01c02-991e-4eb7-9cae-d1ab714151aa} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49440) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:27:58.549796 [ 21995 ] {6dd01c02-991e-4eb7-9cae-d1ab714151aa} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 16.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:28:00.838704 [ 21995 ] {d0cee1f6-3c72-4107-8e8c-f658a4c8a736} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.047548587 seconds, maximum: 1. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49484) (comment: 01039_mergetree_exec_time.sql) (in query: select sum(sleep(0.1)) from tab settings max_block_size = 1, max_execution_time=1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87926c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b8786b3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b8785c8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b99 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:00.846781 [ 21995 ] {d0cee1f6-3c72-4107-8e8c-f658a4c8a736} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 1.047548587 seconds, maximum: 1. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87926c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b8786b3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b8785c8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b99 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:02.057071 [ 21995 ] {0db65166-27e3-4131-bfbd-2b0ee080a4eb} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52650) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:28:02.058311 [ 21995 ] {0db65166-27e3-4131-bfbd-2b0ee080a4eb} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 32.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:28:03.613856 [ 8666 ] {f6488517-fbdc-4aa7-a7af-fe5fdeb6a166} executeQuery: Code: 15. DB::Exception: Column time specified more than once. (DUPLICATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52678) (comment: 01032_duplicate_column_insert_query.sql) (in query: INSERT INTO sometable (date, time, value, time) VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:163: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7e2a7 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:149: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7e0d2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:393: DB::InterpreterInsertQuery::execute() @ 0x000000001ca80086 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:03.614562 [ 8666 ] {f6488517-fbdc-4aa7-a7af-fe5fdeb6a166} TCPHandler: Code: 15. DB::Exception: Column time specified more than once. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterInsertQuery.cpp:163: DB::InterpreterInsertQuery::getSampleBlock(std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7e2a7 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterInsertQuery.cpp:149: DB::InterpreterInsertQuery::getSampleBlock(DB::ASTInsertQuery const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001ca7e0d2 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:393: DB::InterpreterInsertQuery::execute() @ 0x000000001ca80086 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:05.615731 [ 21995 ] {3dfba750-b728-4eac-bfa7-e37c5955a039} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52780) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:28:05.616899 [ 21995 ] {3dfba750-b728-4eac-bfa7-e37c5955a039} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 64.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:28:05.849994 [ 3551 ] {f427838b-ffde-4869-9cfb-1e178aae560e} executeQuery: Code: 43. DB::Exception: Function __getScalar accepts one const string argument: While processing _CAST(__getScalar(key) AS macro_tmp_alter12044690161704971747, 'String') AS macro: default expression and column type are incompatible. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52792) (comment: 01024__getScalar.sql) (in query: CREATE TABLE foo (key String, macro String MATERIALIZED __getScalar(key)) Engine=Null();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/getScalar.cpp:55: DB::(anonymous namespace)::FunctionGetScalar::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e484b7d in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb7838 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb7ba3 in /usr/bin/clickhouse 25. /build/src/Storages/ColumnsDescription.cpp:847: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d5a7ce5 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:571: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e6efa in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:28:05.850760 [ 3551 ] {f427838b-ffde-4869-9cfb-1e178aae560e} TCPHandler: Code: 43. DB::Exception: Function __getScalar accepts one const string argument: While processing _CAST(__getScalar(key) AS macro_tmp_alter12044690161704971747, 'String') AS macro: default expression and column type are incompatible. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/getScalar.cpp:55: DB::(anonymous namespace)::FunctionGetScalar::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e484b7d in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb7838 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb7ba3 in /usr/bin/clickhouse 25. /build/src/Storages/ColumnsDescription.cpp:847: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001d5a7ce5 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:571: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e6efa in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:28:08.915178 [ 21995 ] {5d2ccc59-dc4e-417f-a696-6daa952db27f} executeQuery: Code: 403. DB::Exception: JOIN system.one AS l ALL INNER JOIN system.one AS r ON l.dummy = l.dummy cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52868) (comment: 01018_ambiguous_column.sql) (in query: SELECT dummy FROM one l JOIN one r ON l.dummy = dummy;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerJoins.cpp:443: DB::(anonymous namespace)::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::vector> const&, DB::JoinNode const&, std::shared_ptr const&) @ 0x000000001cba4f1e in /usr/bin/clickhouse 7. /build/src/Planner/PlannerJoins.cpp:511: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cba3c64 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerJoinTree.cpp:936: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001cb8c7ed in /usr/bin/clickhouse 9. /build/src/Planner/PlannerJoinTree.cpp:1504: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001cb87785 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:1253: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb692c3 in /usr/bin/clickhouse 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb67519 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6593d in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af152 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:08.916184 [ 21995 ] {5d2ccc59-dc4e-417f-a696-6daa952db27f} TCPHandler: Code: 403. DB::Exception: JOIN system.one AS l ALL INNER JOIN system.one AS r ON l.dummy = l.dummy cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerJoins.cpp:443: DB::(anonymous namespace)::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::vector> const&, DB::JoinNode const&, std::shared_ptr const&) @ 0x000000001cba4f1e in /usr/bin/clickhouse 7. /build/src/Planner/PlannerJoins.cpp:511: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cba3c64 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerJoinTree.cpp:936: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001cb8c7ed in /usr/bin/clickhouse 9. /build/src/Planner/PlannerJoinTree.cpp:1504: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001cb87785 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:1253: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb692c3 in /usr/bin/clickhouse 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb67519 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6593d in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af152 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:08.951523 [ 21995 ] {3f6b1c12-4098-4456-bacf-a64a95fb96ad} executeQuery: Code: 403. DB::Exception: JOIN system.one AS l ALL INNER JOIN system.one AS r ON l.dummy = l.dummy cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52868) (comment: 01018_ambiguous_column.sql) (in query: SELECT dummy FROM one l JOIN one r ON l.dummy = one.dummy;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerJoins.cpp:443: DB::(anonymous namespace)::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::vector> const&, DB::JoinNode const&, std::shared_ptr const&) @ 0x000000001cba4f1e in /usr/bin/clickhouse 7. /build/src/Planner/PlannerJoins.cpp:511: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cba3c64 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerJoinTree.cpp:936: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001cb8c7ed in /usr/bin/clickhouse 9. /build/src/Planner/PlannerJoinTree.cpp:1504: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001cb87785 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:1253: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb692c3 in /usr/bin/clickhouse 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb67519 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6593d in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af152 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:08.952288 [ 21995 ] {3f6b1c12-4098-4456-bacf-a64a95fb96ad} TCPHandler: Code: 403. DB::Exception: JOIN system.one AS l ALL INNER JOIN system.one AS r ON l.dummy = l.dummy cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Planner/PlannerJoins.cpp:443: DB::(anonymous namespace)::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::vector> const&, DB::JoinNode const&, std::shared_ptr const&) @ 0x000000001cba4f1e in /usr/bin/clickhouse 7. /build/src/Planner/PlannerJoins.cpp:511: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001cba3c64 in /usr/bin/clickhouse 8. /build/src/Planner/PlannerJoinTree.cpp:936: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001cb8c7ed in /usr/bin/clickhouse 9. /build/src/Planner/PlannerJoinTree.cpp:1504: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x000000001cb87785 in /usr/bin/clickhouse 10. /build/src/Planner/Planner.cpp:1253: DB::Planner::buildPlanForQueryNode() @ 0x000000001cb692c3 in /usr/bin/clickhouse 11. /build/src/Planner/Planner.cpp:0: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001cb67519 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:234: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001cb6593d in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1039: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af152 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:09.227190 [ 21995 ] {1549ee19-3870-43cc-bcc8-dd852d481630} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1086127 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52906) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:28:09.230777 [ 21995 ] {1549ee19-3870-43cc-bcc8-dd852d481630} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1086127 bytes), maximum: 128.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:28:10.032932 [ 21995 ] {13036606-3c6a-4edf-bafc-1a8c29acca61} executeQuery: Code: 36. DB::Exception: Dictionary (`test_e2zvvceh.dict1`) not found: While processing dictGetUInt8(concat('test_e2zvvceh', '.dict1'), 'second_column', toUInt64(11)). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52918) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGetUInt8(concat('test_e2zvvceh', '.dict1'), 'second_column', toUInt64(11))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c531952 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c531de0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc61098 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc59a4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:736: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc6f448 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:28:10.033874 [ 21995 ] {13036606-3c6a-4edf-bafc-1a8c29acca61} TCPHandler: Code: 36. DB::Exception: Dictionary (`test_e2zvvceh.dict1`) not found: While processing dictGetUInt8(concat('test_e2zvvceh', '.dict1'), 'second_column', toUInt64(11)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c531952 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c531de0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc61098 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc59a4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:736: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc6f448 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:28:10.100681 [ 21995 ] {fb0f78dc-f15e-4e64-8f1d-893cb0c5bcb8} executeQuery: Code: 36. DB::Exception: Dictionary (`test_e2zvvceh.dict1`) not found: While processing dictGetUInt8(concat('test_e2zvvceh', '.dict1'), 'second_column', toUInt64(11)). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52918) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGetUInt8(concat('test_e2zvvceh', '.dict1'), 'second_column', toUInt64(11))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c531952 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c531de0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc61098 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc59a4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:736: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc6f448 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:28:10.101550 [ 21995 ] {fb0f78dc-f15e-4e64-8f1d-893cb0c5bcb8} TCPHandler: Code: 36. DB::Exception: Dictionary (`test_e2zvvceh.dict1`) not found: While processing dictGetUInt8(concat('test_e2zvvceh', '.dict1'), 'second_column', toUInt64(11)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c531952 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c531de0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc61098 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc59a4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:736: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc6f448 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:28:10.323606 [ 21995 ] {f440c1b5-7014-4ab0-b47a-77e780f3d984} executeQuery: Code: 36. DB::Exception: Dictionary (`test_e2zvvceh.dict1`) not found: While processing dictGetUInt8(concat('test_e2zvvceh', '.dict1'), 'second_column', (toUInt64(11), '121')). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52918) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGetUInt8(concat('test_e2zvvceh', '.dict1'), 'second_column', (toUInt64(11), '121'))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c531952 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c531de0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc61098 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc59a4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:736: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc6f448 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:28:10.324532 [ 21995 ] {f440c1b5-7014-4ab0-b47a-77e780f3d984} TCPHandler: Code: 36. DB::Exception: Dictionary (`test_e2zvvceh.dict1`) not found: While processing dictGetUInt8(concat('test_e2zvvceh', '.dict1'), 'second_column', (toUInt64(11), '121')). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c531952 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c531de0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc61098 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc59a4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:736: DB::FunctionDictGetImpl, DB::NameDictGetUInt8, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc6f448 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:28:10.750458 [ 21995 ] {c6e0e99d-0953-4092-9235-63eeb13f3721} executeQuery: Code: 36. DB::Exception: Dictionary (`default.dict3`) not found: While processing dictGetString(default.dict3, 'some_column', toUInt64(12)). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52918) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGetString(default.dict3, 'some_column', toUInt64(12));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c531952 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c531de0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc61098 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc59a4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:736: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc80d08 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:28:10.751440 [ 21995 ] {c6e0e99d-0953-4092-9235-63eeb13f3721} TCPHandler: Code: 36. DB::Exception: Dictionary (`default.dict3`) not found: While processing dictGetString(default.dict3, 'some_column', toUInt64(12)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c531952 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c531de0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc61098 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc59a4a in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:736: DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc80d08 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 12. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 2024.12.17 01:28:10.903950 [ 21995 ] {e1cab5ef-86c2-4b2e-9305-043e67f39477} executeQuery: Code: 36. DB::Exception: Dictionary (`default.dict3`) not found: While processing dictGet(default.dict3, 'some_column', toUInt64(12)). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52918) (comment: 01018_ddl_dictionaries_select.sql) (in query: SELECT dictGet(default.dict3, 'some_column', toUInt64(12));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c531952 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c531de0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc61098 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc59a4a in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:28:10.904810 [ 21995 ] {e1cab5ef-86c2-4b2e-9305-043e67f39477} TCPHandler: Code: 36. DB::Exception: Dictionary (`default.dict3`) not found: While processing dictGet(default.dict3, 'some_column', toUInt64(12)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c531952 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c531de0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc61098 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc59a4a in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:28:11.081813 [ 16542 ] {7ec20f75-6194-4b7f-b9f6-a18d93578fcb} ExternalDictionariesLoader: Could not update external dictionary 'd4ace09f-6c00-4f7b-8bb2-8d3e9e7f55f9', leaving the previous version: Code: 60. DB::Exception: Table test_e2zvvceh.table_for_dict does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:171: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x0000000017c20b11 in /usr/bin/clickhouse 20. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:113: DB::ClickHouseDictionarySource::loadAll() @ 0x0000000017c209ea in /usr/bin/clickhouse 21. /build/src/Dictionaries/HashedDictionary.cpp:935: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x0000000017dcbee8 in /usr/bin/clickhouse 22. /build/src/Dictionaries/HashedDictionary.cpp:214: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x0000000017dcb99c in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if>::__unique_single std::make_unique[abi:v15000], DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::HashedDictionaryConfiguration&) @ 0x0000000018361a66 in /usr/bin/clickhouse 24. /build/src/Dictionaries/HashedDictionary.cpp:1213: DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x0000000017dca5c6 in /usr/bin/clickhouse 25. /build/src/Dictionaries/HashedDictionary.cpp:1238: auto DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000017dc9212 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017dc913b in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017dc9056 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017dc8fd6 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x0000000017dc8f62 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x000000001abd45c2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000001abd195b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:28:11.083529 [ 16673 ] {7ec20f75-6194-4b7f-b9f6-a18d93578fcb} ExternalDictionariesLoader: Could not update external dictionary 'dbaf9276-e29d-4b49-b0c3-4b9064963bf4', leaving the previous version, next update is scheduled at 2024-12-17 01:28:17: Code: 60. DB::Exception: Table test_e2zvvceh.table_for_dict does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:171: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x0000000017c20b11 in /usr/bin/clickhouse 20. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:113: DB::ClickHouseDictionarySource::loadAll() @ 0x0000000017c209ea in /usr/bin/clickhouse 21. /build/src/Dictionaries/HashedDictionary.cpp:935: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x0000000017dcbee8 in /usr/bin/clickhouse 22. /build/src/Dictionaries/HashedDictionary.cpp:214: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x0000000017dcb99c in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if>::__unique_single std::make_unique[abi:v15000], DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::HashedDictionaryConfiguration&) @ 0x0000000018361a66 in /usr/bin/clickhouse 24. /build/src/Dictionaries/HashedDictionary.cpp:1213: DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x0000000017dca5c6 in /usr/bin/clickhouse 25. /build/src/Dictionaries/HashedDictionary.cpp:1238: auto DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000017dc9212 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017dc913b in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017dc9056 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017dc8fd6 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x0000000017dc8f62 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x000000001abd45c2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000001abd195b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:28:11.085276 [ 21995 ] {7ec20f75-6194-4b7f-b9f6-a18d93578fcb} ExternalDictionariesLoader: Code: 60. DB::Exception: Table test_e2zvvceh.table_for_dict does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:171: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x0000000017c20b11 in /usr/bin/clickhouse 20. /build/src/Dictionaries/ClickHouseDictionarySource.cpp:113: DB::ClickHouseDictionarySource::loadAll() @ 0x0000000017c209ea in /usr/bin/clickhouse 21. /build/src/Dictionaries/HashedDictionary.cpp:935: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x0000000017dcbee8 in /usr/bin/clickhouse 22. /build/src/Dictionaries/HashedDictionary.cpp:214: DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x0000000017dcb99c in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if>::__unique_single std::make_unique[abi:v15000], DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::HashedDictionaryConfiguration&) @ 0x0000000018361a66 in /usr/bin/clickhouse 24. /build/src/Dictionaries/HashedDictionary.cpp:1213: DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x0000000017dca5c6 in /usr/bin/clickhouse 25. /build/src/Dictionaries/HashedDictionary.cpp:1238: auto DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000017dc9212 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017dc913b in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017dc9056 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017dc8fd6 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x0000000017dc8f62 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x000000001abd45c2 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000001abd195b in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:28:11.187847 [ 21995 ] {7ec20f75-6194-4b7f-b9f6-a18d93578fcb} executeQuery: Code: 60. DB::Exception: Code: 60. DB::Exception: Table test_e2zvvceh.table_for_dict does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52918) (comment: 01018_ddl_dictionaries_select.sql) (in query: SYSTEM RELOAD DICTIONARIES;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:138: DB::(anonymous namespace)::executeCommandsAndThrowIfError(std::vector, std::allocator>>) @ 0x000000001cbddc5b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:479: DB::InterpreterSystemQuery::execute() @ 0x000000001cbda983 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:11.324026 [ 21995 ] {7ec20f75-6194-4b7f-b9f6-a18d93578fcb} TCPHandler: Code: 60. DB::Exception: Code: 60. DB::Exception: Table test_e2zvvceh.table_for_dict does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterSystemQuery.cpp:138: DB::(anonymous namespace)::executeCommandsAndThrowIfError(std::vector, std::allocator>>) @ 0x000000001cbddc5b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:479: DB::InterpreterSystemQuery::execute() @ 0x000000001cbda983 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:11.324074 [ 21994 ] {4c1d964d-f98c-4813-b26e-bb9b3ab9fce0} executeQuery: Code: 53. DB::Exception: Cannot convert string a to type UInt8: While processing toUInt8(1) IN ('a'). (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41328) (comment: 01017_in_unconvertible_complex_type.sql) (in query: -- When left and right element types are not compatible, we should get an error. select (toUInt8(1)) in ('a');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:508: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06c882 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d068fbd in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:582: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001d06d17d in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:117: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x000000001bfee16f in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:317: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfe30fa in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:427: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x000000001bfe271d in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfec7ee in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6a81 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:28:11.325101 [ 21994 ] {4c1d964d-f98c-4813-b26e-bb9b3ab9fce0} TCPHandler: Code: 53. DB::Exception: Cannot convert string a to type UInt8: While processing toUInt8(1) IN ('a'). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:508: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06c882 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d068fbd in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:582: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001d06d17d in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:117: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x000000001bfee16f in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:317: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfe30fa in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:427: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x000000001bfe271d in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfec7ee in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6a81 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:28:11.463730 [ 21994 ] {a98bb1ad-84cc-4be9-96c8-301034690d9a} executeQuery: Code: 53. DB::Exception: Cannot convert string a to type UInt8: While processing [toUInt8(1)] IN ['a']. (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41328) (comment: 01017_in_unconvertible_complex_type.sql) (in query: select [toUInt8(1)] in ['a'];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:508: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06c882 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d068fbd in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:338: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06aac5 in /usr/bin/clickhouse 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d068fbd in /usr/bin/clickhouse 10. /build/src/Interpreters/convertFieldToType.cpp:582: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001d06d17d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:117: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x000000001bfee16f in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:317: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfe30fa in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:427: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x000000001bfe271d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfec7ee in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6a81 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:28:11.464554 [ 21994 ] {a98bb1ad-84cc-4be9-96c8-301034690d9a} TCPHandler: Code: 53. DB::Exception: Cannot convert string a to type UInt8: While processing [toUInt8(1)] IN ['a']. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:508: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06c882 in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d068fbd in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:338: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06aac5 in /usr/bin/clickhouse 9. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d068fbd in /usr/bin/clickhouse 10. /build/src/Interpreters/convertFieldToType.cpp:582: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001d06d17d in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:117: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x000000001bfee16f in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:317: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfe30fa in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:427: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x000000001bfe271d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfec7ee in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6a81 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:28:12.716482 [ 22003 ] {d8b0e452-305b-4b3b-bfb0-83276e85d076} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41384) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:28:12.717435 [ 22003 ] {d8b0e452-305b-4b3b-bfb0-83276e85d076} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 256.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:28:16.280919 [ 21993 ] {2d114b41-94e8-4cef-8e13-9c7f817e058d} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41540) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:28:16.281845 [ 21993 ] {2d114b41-94e8-4cef-8e13-9c7f817e058d} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 512.00 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:28:17.005169 [ 8668 ] {a31ad5ef-201b-43c9-b062-3dbfc80d3cf9} executeQuery: Code: 131. DB::Exception: Too many times to repeat (1000001), maximum is: 1000000: While processing length(repeat('x', 1000001)). (TOO_LARGE_STRING_SIZE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41544) (comment: 01014_function_repeat_corner_cases.sql) (in query: SELECT length(repeat('x', 1000001));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000c4b06cc in /usr/bin/clickhouse 6. /build/src/Functions/repeat.cpp:29: DB::(anonymous namespace)::RepeatImpl::checkRepeatTime(unsigned long) @ 0x00000000124a3798 in /usr/bin/clickhouse 7. /build/src/Functions/repeat.cpp:91: void DB::(anonymous namespace)::RepeatImpl::vectorStrVectorRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&) @ 0x00000000124a65bb in /usr/bin/clickhouse 8. /build/src/Functions/repeat.cpp:227: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)::operator()>(auto const&) const @ 0x00000000124a535e in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)&&) @ 0x00000000124a4a87 in /usr/bin/clickhouse 10. /build/src/Functions/repeat.cpp:172: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, auto&&) @ 0x00000000124a2c3d in /usr/bin/clickhouse 11. /build/src/Functions/repeat.cpp:221: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124a24e1 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 2024.12.17 01:28:17.006172 [ 8668 ] {a31ad5ef-201b-43c9-b062-3dbfc80d3cf9} TCPHandler: Code: 131. DB::Exception: Too many times to repeat (1000001), maximum is: 1000000: While processing length(repeat('x', 1000001)). (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x000000000c4b06cc in /usr/bin/clickhouse 6. /build/src/Functions/repeat.cpp:29: DB::(anonymous namespace)::RepeatImpl::checkRepeatTime(unsigned long) @ 0x00000000124a3798 in /usr/bin/clickhouse 7. /build/src/Functions/repeat.cpp:91: void DB::(anonymous namespace)::RepeatImpl::vectorStrVectorRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&) @ 0x00000000124a65bb in /usr/bin/clickhouse 8. /build/src/Functions/repeat.cpp:227: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)::operator()>(auto const&) const @ 0x00000000124a535e in /usr/bin/clickhouse 9. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)&&) @ 0x00000000124a4a87 in /usr/bin/clickhouse 10. /build/src/Functions/repeat.cpp:172: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, auto&&) @ 0x00000000124a2c3d in /usr/bin/clickhouse 11. /build/src/Functions/repeat.cpp:221: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124a24e1 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 2024.12.17 01:28:17.126074 [ 8668 ] {2c46f0b7-1cd3-4f55-9e86-4d9da7009f06} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 144.05 MiB (attempt to allocate chunk of 134223144 bytes), maximum: 95.37 MiB.: While processing length(repeat(repeat('Hello, world!', 1000000), 10)). (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41544) (comment: 01014_function_repeat_corner_cases.sql) (in query: SELECT length(repeat(repeat('Hello, world!', 1000000), 10));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Functions/repeat.cpp:87: void DB::(anonymous namespace)::RepeatImpl::vectorStrVectorRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&) @ 0x00000000124a6052 in /usr/bin/clickhouse 15. /build/src/Functions/repeat.cpp:227: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)::operator()>(auto const&) const @ 0x00000000124a50de in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)&&) @ 0x00000000124a4a07 in /usr/bin/clickhouse 17. /build/src/Functions/repeat.cpp:172: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, auto&&) @ 0x00000000124a2c3d in /usr/bin/clickhouse 18. /build/src/Functions/repeat.cpp:221: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124a24e1 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 2024.12.17 01:28:17.127319 [ 8668 ] {2c46f0b7-1cd3-4f55-9e86-4d9da7009f06} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 144.05 MiB (attempt to allocate chunk of 134223144 bytes), maximum: 95.37 MiB.: While processing length(repeat(repeat('Hello, world!', 1000000), 10)). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1fee25 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1fecb9 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:0: void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x000000000b1feaa6 in /usr/bin/clickhouse 14. /build/src/Functions/repeat.cpp:87: void DB::(anonymous namespace)::RepeatImpl::vectorStrVectorRepeat(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&) @ 0x00000000124a6052 in /usr/bin/clickhouse 15. /build/src/Functions/repeat.cpp:227: auto DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)::operator()>(auto const&) const @ 0x00000000124a50de in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:11: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)&&) @ 0x00000000124a4a07 in /usr/bin/clickhouse 17. /build/src/Functions/repeat.cpp:172: bool DB::(anonymous namespace)::FunctionRepeat::castType> const&, std::shared_ptr const&, unsigned long) const::'lambda0'(auto const&)>(DB::IDataType const*, auto&&) @ 0x00000000124a2c3d in /usr/bin/clickhouse 18. /build/src/Functions/repeat.cpp:221: DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000124a24e1 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 20. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 2024.12.17 01:28:17.854337 [ 21993 ] {5f0bd75d-a5ad-4916-b140-8095b3bdc527} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41588) (comment: 01017_mutations_with_nondeterministic_functions_zookeeper.sh) (in query: ALTER TABLE table_1017_1 DELETE WHERE ignore(rand())), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc6f120 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47e3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:17.855992 [ 21993 ] {5f0bd75d-a5ad-4916-b140-8095b3bdc527} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc6f120 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47e3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:19.717638 [ 21993 ] {2c9b3c97-2715-443f-abb4-1f9080a90e1d} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41672) (comment: 01017_mutations_with_nondeterministic_functions_zookeeper.sh) (in query: ALTER TABLE table_1017_1 UPDATE y = y + rand() % 1 WHERE not ignore()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc6f120 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47e3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:19.719219 [ 21993 ] {2c9b3c97-2715-443f-abb4-1f9080a90e1d} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc6f120 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47e3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:19.798674 [ 11801 ] {8b8efbf9-858b-4828-88fe-78dc290ad10c} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41674) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:28:19.799773 [ 11801 ] {8b8efbf9-858b-4828-88fe-78dc290ad10c} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.04 MiB (attempt to allocate chunk of 1085311 bytes), maximum: 1.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Common/FileChecker.cpp:141: DB::FileChecker::save() const @ 0x000000001d742eea in /usr/bin/clickhouse 20. /build/src/Storages/StorageLog.cpp:727: DB::StorageLog::saveFileSizes(std::unique_lock const&) @ 0x000000001da507c4 in /usr/bin/clickhouse 21. /build/src/Storages/StorageLog.cpp:285: DB::LogSink::LogSink(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d8df in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::LogSink* std::construct_at[abi:v15000] const&, std::unique_lock, DB::LogSink*>(DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d6f4 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, std::unique_lock, void, void>(std::allocator&, DB::LogSink*, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d4b1 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&, std::unique_lock>(std::allocator, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d1b7 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageLog&, std::shared_ptr const&, std::unique_lock, void>(std::allocator const&, DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da6d02a in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, std::unique_lock, void>(DB::StorageLog&, std::shared_ptr const&, std::unique_lock&&) @ 0x000000001da5af56 in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:866: DB::StorageLog::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001da5333d in /usr/bin/clickhouse 28. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:28:22.090471 [ 11801 ] {25b4c1e3-cdfd-43cc-8495-b2392a39c7e4} executeQuery: Code: 191. DB::Exception: Limit for JOIN exceeded, max rows: 1.00 thousand, current rows: 4.00 thousand: While executing FillingRightJoinSide. (SET_SIZE_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47794) (comment: 01010_pmj_on_disk.sql) (in query: SELECT n, j FROM (SELECT number AS n FROM numbers(4)) nums ANY LEFT JOIN ( SELECT number * 2 AS n, number + 10 AS j FROM numbers(4000) ) js2 USING n ORDER BY n;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a0808 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a032c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a0679 in /usr/bin/clickhouse 8. /build/src/Interpreters/HashJoin.cpp:882: DB::HashJoin::addBlockToJoin(DB::Block const&, bool) @ 0x000000001c585950 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:307: DB::FillingRightJoinSideTransform::work() @ 0x000000001ebd5acf in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 2024.12.17 01:28:22.092689 [ 11801 ] {25b4c1e3-cdfd-43cc-8495-b2392a39c7e4} TCPHandler: Code: 191. DB::Exception: Limit for JOIN exceeded, max rows: 1.00 thousand, current rows: 4.00 thousand: While executing FillingRightJoinSide. (SET_SIZE_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a0808 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a032c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a0679 in /usr/bin/clickhouse 8. /build/src/Interpreters/HashJoin.cpp:882: DB::HashJoin::addBlockToJoin(DB::Block const&, bool) @ 0x000000001c585950 in /usr/bin/clickhouse 9. /build/src/Processors/Transforms/JoiningTransform.cpp:307: DB::FillingRightJoinSideTransform::work() @ 0x000000001ebd5acf in /usr/bin/clickhouse 10. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 21. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 2024.12.17 01:28:23.170738 [ 2885 ] {6e4f5ace-3f66-434d-b8fe-d1d89481fd57} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47824) (comment: 01017_mutations_with_nondeterministic_functions_zookeeper.sh) (in query: ALTER TABLE table_1017_1 UPDATE y = x + arrayCount(x -> (rand() + x) % 2, range(y)) WHERE not ignore()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc6f120 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47e3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:23.173262 [ 2885 ] {6e4f5ace-3f66-434d-b8fe-d1d89481fd57} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'rand' is non-deterministic. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc6f120 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47e3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:23.241282 [ 8668 ] {4889d5ad-869d-4cb6-a5aa-ad38dd39891c} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 2.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47838) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x0000000013911dad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x0000000013911d2a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cb0f8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d493b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f7a66 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cd6bd in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6cd54a in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cd4f5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cd4d9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6cd43d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6cd347 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6cd2b5 in /usr/bin/clickhouse 2024.12.17 01:28:23.242962 [ 8668 ] {4889d5ad-869d-4cb6-a5aa-ad38dd39891c} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 2.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x0000000013911dad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x0000000013911d2a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cb0f8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d493b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f7a66 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cd6bd in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6cd54a in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cd4f5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cd4d9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6cd43d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6cd347 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6cd2b5 in /usr/bin/clickhouse 2024.12.17 01:28:26.791494 [ 8668 ] {53ec099f-4701-4492-bb44-234459551c6e} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 4.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47958) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x0000000013911dad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x0000000013911d2a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cb0f8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d493b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f7a66 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cd6bd in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6cd54a in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cd4f5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cd4d9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6cd43d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6cd347 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6cd2b5 in /usr/bin/clickhouse 2024.12.17 01:28:26.793470 [ 8668 ] {53ec099f-4701-4492-bb44-234459551c6e} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.67 MiB (attempt to allocate chunk of 8005536 bytes), maximum: 4.00 MiB.: While executing Numbers. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:126: DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc_for_num_elements(unsigned long) @ 0x0000000013911dad in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:341: DB::PODArray, 63ul, 64ul>::PODArray(unsigned long) @ 0x0000000013911d2a in /usr/bin/clickhouse 14. /build/src/Columns/ColumnVector.h:137: DB::ColumnVector::ColumnVector(unsigned long) @ 0x000000001d3cb0f8 in /usr/bin/clickhouse 15. /build/src/Common/COW.h:284: COW::mutable_ptr> COWHelper>::create(unsigned long&) @ 0x000000000b2d493b in /usr/bin/clickhouse 16. /build/src/Storages/System/StorageSystemNumbers.cpp:29: DB::(anonymous namespace)::NumbersSource::generate() @ 0x000000001a9f7a66 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cd6bd in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6cd54a in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cd4f5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cd4d9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6cd43d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6cd347 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6cd2b5 in /usr/bin/clickhouse 2024.12.17 01:28:28.435494 [ 21981 ] {1fae0912-a647-4201-80ba-5d8e71202429} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'joinGet' is non-deterministic. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48042) (comment: 01017_mutations_with_nondeterministic_functions_zookeeper.sh) (in query: ALTER TABLE table_1017_1 UPDATE y = joinGet('test_rf1ddcyq.lookup_table', 'y_new', y) WHERE x=1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc6f120 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47e3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:28.437165 [ 21981 ] {1fae0912-a647-4201-80ba-5d8e71202429} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'joinGet' is non-deterministic. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc6f120 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47e3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:30.287964 [ 2885 ] {22d4d803-a726-4f47-acb1-4f60f7b14273} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'dictHas' is non-deterministic. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48094) (comment: 01017_mutations_with_nondeterministic_functions_zookeeper.sh) (in query: ALTER TABLE table_1017_1 DELETE WHERE dictHas('test_rf1ddcyq.dict1', toUInt64(x))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc6f120 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47e3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:30.289640 [ 2885 ] {22d4d803-a726-4f47-acb1-4f60f7b14273} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statements must use only deterministic functions. Function 'dictHas' is non-deterministic. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:1289: DB::MutationsInterpreter::validate() @ 0x000000001cc6f120 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47e3 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:30.317160 [ 8668 ] {dfb051d0-cfa1-431b-a0d2-e0f8578ae59a} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.67 MiB (attempt to allocate chunk of 1050031 bytes), maximum: 8.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48110) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageLog.cpp:326: DB::LogSink::Stream::Stream(std::shared_ptr const&, String const&, unsigned long, std::shared_ptr, unsigned long) @ 0x000000001da67961 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1775: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&, 0ul, 0ul, 1ul, 2ul, 3ul, 4ul>(std::piecewise_construct_t, std::tuple&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&, std::__tuple_indices<0ul>, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul>) @ 0x000000001da677ce in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:259: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>(std::piecewise_construct_t, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>) @ 0x000000001da67701 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::pair* std::construct_at[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, std::pair*>(std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da676c7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, void*>>>::construct[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, void, void>(std::allocator, void*>>&, std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da67491 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__tree:2133: std::unique_ptr, void*>, std::__tree_node_destructor, void*>>>> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__construct_node, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da67169 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__tree:2096: std::pair, std::__tree_node, void*>*, long>, bool> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__emplace_unique_key_args, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(String const&, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da66dee in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/map:1281: std::pair, std::__tree_node, void*>*, long>>, bool> std::map, std::allocator>>::try_emplace[abi:v15000] const&, String const&, unsigned long, std::shared_ptr, unsigned long const&>(String const&, std::shared_ptr const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&) @ 0x000000001da668ef in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:455: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001da5717b in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56dfd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56dbd in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001da56d7d in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56d45 in /usr/bin/clickhouse 2024.12.17 01:28:30.319051 [ 8668 ] {dfb051d0-cfa1-431b-a0d2-e0f8578ae59a} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.67 MiB (attempt to allocate chunk of 1050031 bytes), maximum: 8.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageLog.cpp:326: DB::LogSink::Stream::Stream(std::shared_ptr const&, String const&, unsigned long, std::shared_ptr, unsigned long) @ 0x000000001da67961 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1775: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&, 0ul, 0ul, 1ul, 2ul, 3ul, 4ul>(std::piecewise_construct_t, std::tuple&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&, std::__tuple_indices<0ul>, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul>) @ 0x000000001da677ce in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:259: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>(std::piecewise_construct_t, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>) @ 0x000000001da67701 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::pair* std::construct_at[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, std::pair*>(std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da676c7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, void*>>>::construct[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, void, void>(std::allocator, void*>>&, std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da67491 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__tree:2133: std::unique_ptr, void*>, std::__tree_node_destructor, void*>>>> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__construct_node, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da67169 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__tree:2096: std::pair, std::__tree_node, void*>*, long>, bool> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__emplace_unique_key_args, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(String const&, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da66dee in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/map:1281: std::pair, std::__tree_node, void*>*, long>>, bool> std::map, std::allocator>>::try_emplace[abi:v15000] const&, String const&, unsigned long, std::shared_ptr, unsigned long const&>(String const&, std::shared_ptr const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&) @ 0x000000001da668ef in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:455: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001da5717b in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56dfd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56dbd in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001da56d7d in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56d45 in /usr/bin/clickhouse 2024.12.17 01:28:34.299201 [ 21993 ] {f2b24ddf-d16f-4fc9-ad06-6828634529f7} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 16.67 MiB (attempt to allocate chunk of 1049487 bytes), maximum: 16.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41684) (comment: 01383_log_broken_table.sh) (in query: INSERT INTO log SELECT number, number, number FROM numbers(1000000)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageLog.cpp:326: DB::LogSink::Stream::Stream(std::shared_ptr const&, String const&, unsigned long, std::shared_ptr, unsigned long) @ 0x000000001da67961 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1775: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&, 0ul, 0ul, 1ul, 2ul, 3ul, 4ul>(std::piecewise_construct_t, std::tuple&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&, std::__tuple_indices<0ul>, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul>) @ 0x000000001da677ce in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:259: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>(std::piecewise_construct_t, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>) @ 0x000000001da67701 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::pair* std::construct_at[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, std::pair*>(std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da676c7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, void*>>>::construct[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, void, void>(std::allocator, void*>>&, std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da67491 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__tree:2133: std::unique_ptr, void*>, std::__tree_node_destructor, void*>>>> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__construct_node, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da67169 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__tree:2096: std::pair, std::__tree_node, void*>*, long>, bool> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__emplace_unique_key_args, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(String const&, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da66dee in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/map:1281: std::pair, std::__tree_node, void*>*, long>>, bool> std::map, std::allocator>>::try_emplace[abi:v15000] const&, String const&, unsigned long, std::shared_ptr, unsigned long const&>(String const&, std::shared_ptr const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&) @ 0x000000001da668ef in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:455: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001da5717b in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56dfd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56dbd in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001da56d7d in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56d45 in /usr/bin/clickhouse 2024.12.17 01:28:34.301478 [ 21993 ] {f2b24ddf-d16f-4fc9-ad06-6828634529f7} FileChecker: Will truncate file store/203/203c2763-9c31-4dda-b33b-9a40a267226e/x.bin that has size 4001641 to size 0 2024.12.17 01:28:34.302317 [ 21993 ] {f2b24ddf-d16f-4fc9-ad06-6828634529f7} FileChecker: Will truncate file store/203/203c2763-9c31-4dda-b33b-9a40a267226e/y.bin that has size 4001641 to size 0 2024.12.17 01:28:34.304030 [ 21993 ] {f2b24ddf-d16f-4fc9-ad06-6828634529f7} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 16.67 MiB (attempt to allocate chunk of 1049487 bytes), maximum: 16.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/IO/WriteBufferFromFileBase.cpp:7: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000001399a951 in /usr/bin/clickhouse 15. /build/src/IO/WriteBufferFromFileDescriptor.cpp:98: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x00000000139999a4 in /usr/bin/clickhouse 16. /build/src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x0000000013b1933c in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x000000001bb81595 in /usr/bin/clickhouse 18. /build/src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x000000001bb79f1e in /usr/bin/clickhouse 19. /build/src/Storages/StorageLog.cpp:326: DB::LogSink::Stream::Stream(std::shared_ptr const&, String const&, unsigned long, std::shared_ptr, unsigned long) @ 0x000000001da67961 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1775: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&, 0ul, 0ul, 1ul, 2ul, 3ul, 4ul>(std::piecewise_construct_t, std::tuple&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&, std::__tuple_indices<0ul>, std::__tuple_indices<0ul, 1ul, 2ul, 3ul, 4ul>) @ 0x000000001da677ce in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__utility/pair.h:259: std::pair::pair[abi:v15000] const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>(std::piecewise_construct_t, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>) @ 0x000000001da67701 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::pair* std::construct_at[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, std::pair*>(std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da676c7 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits, void*>>>::construct[abi:v15000], std::piecewise_construct_t const&, std::tuple, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>, void, void>(std::allocator, void*>>&, std::pair*, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da67491 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__tree:2133: std::unique_ptr, void*>, std::__tree_node_destructor, void*>>>> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__construct_node, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da67169 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__tree:2096: std::pair, std::__tree_node, void*>*, long>, bool> std::__tree, std::__map_value_compare, std::less, true>, std::allocator>>::__emplace_unique_key_args, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>>(String const&, std::piecewise_construct_t const&, std::tuple&&, std::tuple const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&>&&) @ 0x000000001da66dee in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/map:1281: std::pair, std::__tree_node, void*>*, long>>, bool> std::map, std::allocator>>::try_emplace[abi:v15000] const&, String const&, unsigned long, std::shared_ptr, unsigned long const&>(String const&, std::shared_ptr const&, String const&, unsigned long&&, std::shared_ptr&&, unsigned long const&) @ 0x000000001da668ef in /usr/bin/clickhouse 27. /build/src/Storages/StorageLog.cpp:455: DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001da5717b in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56dfd in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::LogSink::writeData(DB::NameAndTypePair const&, DB::IColumn const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56dbd in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001da56d7d in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001da56d45 in /usr/bin/clickhouse 2024.12.17 01:28:41.275262 [ 21991 ] {9e404004-c170-496c-83bc-745489afbe2b} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::1]:9000 -> [::1]:41986). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41986) (comment: 01007_r1r2_w_r2r1_deadlock.sh) (in query: SELECT x FROM a WHERE x IN (SELECT toUInt8(count()) FROM system.tables);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000013ced8e8 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000013cecc64 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b2026cd in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1090: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x000000001e64d78d in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:966: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001e64a25c in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:518: DB::TCPHandler::runImpl() @ 0x000000001e6423d1 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:41.363968 [ 21984 ] {9b065802-4c24-4b8e-873b-469e850eea61} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:41956). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41956) (comment: 01007_r1r2_w_r2r1_deadlock.sh) (in query: SELECT x FROM b WHERE x IN (SELECT toUInt8(count()) FROM system.tables);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000013ced8e8 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000013cecf04 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b2026cd in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1090: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x000000001e64d78d in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:966: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001e64a25c in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:518: DB::TCPHandler::runImpl() @ 0x000000001e6423d1 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:41.443474 [ 21991 ] {9e404004-c170-496c-83bc-745489afbe2b} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:41986). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000013ced8e8 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000013cecf04 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b2026cd in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:2073: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001e6546d5 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2150: DB::TCPHandler::sendLogs() @ 0x000000001e64ad7f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:672: DB::TCPHandler::runImpl() @ 0x000000001e643377 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:28:41.443542 [ 21984 ] {9b065802-4c24-4b8e-873b-469e850eea61} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:41956). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000013ced8e8 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000013cecf04 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b2026cd in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:2073: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001e6546d5 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2150: DB::TCPHandler::sendLogs() @ 0x000000001e64ad7f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:672: DB::TCPHandler::runImpl() @ 0x000000001e643377 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:28:41.443932 [ 21991 ] {9e404004-c170-496c-83bc-745489afbe2b} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::1]:9000 -> [::1]:41986). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000013ced8e8 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:96: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000013cecc64 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b2026cd in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1090: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x000000001e64d78d in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:966: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001e64a25c in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:518: DB::TCPHandler::runImpl() @ 0x000000001e6423d1 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:41.444012 [ 21984 ] {9b065802-4c24-4b8e-873b-469e850eea61} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:41956). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000013ced8e8 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000013cecf04 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b2026cd in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1090: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x000000001e64d78d in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:966: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001e64a25c in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:518: DB::TCPHandler::runImpl() @ 0x000000001e6423d1 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:41.444527 [ 21991 ] {9e404004-c170-496c-83bc-745489afbe2b} TCPHandler: Client has gone away. 2024.12.17 01:28:41.444660 [ 21984 ] {9b065802-4c24-4b8e-873b-469e850eea61} TCPHandler: Client has gone away. 2024.12.17 01:28:45.477134 [ 21984 ] {25b0e052-5cc1-4e30-bfd4-1fae4a75ddef} executeQuery: Code: 469. DB::Exception: Constraint `a_constraint` for table test_14na3plg.replicated_constraints1 (ab995d45-054e-4f90-a97c-43b73c52487f) is violated at row 1. Expression: (a < 10). Column values: a = 10. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48804) (comment: 00988_constraints_replication_zookeeper_long.sql) (in query: INSERT INTO replicated_constraints1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:45.478272 [ 21984 ] {25b0e052-5cc1-4e30-bfd4-1fae4a75ddef} TCPHandler: Code: 469. DB::Exception: Constraint `a_constraint` for table test_14na3plg.replicated_constraints1 (ab995d45-054e-4f90-a97c-43b73c52487f) is violated at row 1. Expression: (a < 10). Column values: a = 10. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:45.857191 [ 21984 ] {5b82399a-3e57-452d-8cb8-da8d54a36514} executeQuery: Code: 469. DB::Exception: Constraint `a_constraint` for table test_14na3plg.replicated_constraints1 (ab995d45-054e-4f90-a97c-43b73c52487f) is violated at row 1. Expression: (a < 10). Column values: a = 10. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48804) (comment: 00988_constraints_replication_zookeeper_long.sql) (in query: INSERT INTO replicated_constraints1 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:45.858235 [ 21984 ] {5b82399a-3e57-452d-8cb8-da8d54a36514} TCPHandler: Code: 469. DB::Exception: Constraint `a_constraint` for table test_14na3plg.replicated_constraints1 (ab995d45-054e-4f90-a97c-43b73c52487f) is violated at row 1. Expression: (a < 10). Column values: a = 10. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:45.873301 [ 21984 ] {a05021d7-a5cc-4494-9f9c-15ce26668620} executeQuery: Code: 469. DB::Exception: Constraint `b_constraint` for table test_14na3plg.replicated_constraints2 (11158de3-fbbc-4c7e-ac3e-8e9b98773ca6) is violated at row 1. Expression: (b > 10). Column values: b = 10. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48804) (comment: 00988_constraints_replication_zookeeper_long.sql) (in query: INSERT INTO replicated_constraints2 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:45.874408 [ 21984 ] {a05021d7-a5cc-4494-9f9c-15ce26668620} TCPHandler: Code: 469. DB::Exception: Constraint `b_constraint` for table test_14na3plg.replicated_constraints2 (11158de3-fbbc-4c7e-ac3e-8e9b98773ca6) is violated at row 1. Expression: (b > 10). Column values: b = 10. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:47.430228 [ 21984 ] {f48bb4f1-4466-4294-ad91-80c7ab7f42c3} executeQuery: Code: 36. DB::Exception: Cannot alter settings, because table engine doesn't support settings changes. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48870) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE log_for_alter MODIFY SETTING aaa=123;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [77]) @ 0x000000000bc3d5be in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1268: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58f1a7 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:47.430910 [ 21984 ] {f48bb4f1-4466-4294-ad91-80c7ab7f42c3} TCPHandler: Code: 36. DB::Exception: Cannot alter settings, because table engine doesn't support settings changes. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [77]) @ 0x000000000bc3d5be in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1268: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58f1a7 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:47.559476 [ 21984 ] {2ff53c70-1363-4da7-b44a-2f7c66e217f0} executeQuery: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48870) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE table_for_alter MODIFY SETTING index_granularity=555;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3433: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de90cdd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:47.560107 [ 21984 ] {2ff53c70-1363-4da7-b44a-2f7c66e217f0} TCPHandler: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3433: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de90cdd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:48.133230 [ 21984 ] {446efbd2-f29d-4b4e-a2f5-4b8128772f66} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 320.00 B) in table 'test_bc3b1byk.table_for_alter (bf7b173b-e05a-4ea2-9411-874b9f26d4dd)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48870) (comment: 00980_merge_alter_settings.sql) (in query: INSERT INTO table_for_alter VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001def2608 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001dea4b04 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000001e3a64ac in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001ebc7db9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc7d95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc7d75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7d55 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7d1d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc7135 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001e6fa196 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:841: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bcca in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:28:48.134214 [ 21984 ] {446efbd2-f29d-4b4e-a2f5-4b8128772f66} TCPHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 320.00 B) in table 'test_bc3b1byk.table_for_alter (bf7b173b-e05a-4ea2-9411-874b9f26d4dd)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001def2608 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001dea4b04 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000001e3a64ac in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001ebc7db9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc7d95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc7d75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7d55 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7d1d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc7135 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001e6fa196 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:841: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bcca in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:28:48.178103 [ 21984 ] {ecaf3307-745d-4453-ba0f-554ceeeee8bb} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 320.00 B) in table 'test_bc3b1byk.table_for_alter (bf7b173b-e05a-4ea2-9411-874b9f26d4dd)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48870) (comment: 00980_merge_alter_settings.sql) (in query: INSERT INTO table_for_alter VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001def2608 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001dea4b04 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000001e3a64ac in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001ebc7db9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc7d95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc7d75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7d55 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7d1d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc7135 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001e6fa196 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:841: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bcca in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:28:48.179025 [ 21984 ] {ecaf3307-745d-4453-ba0f-554ceeeee8bb} TCPHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 320.00 B) in table 'test_bc3b1byk.table_for_alter (bf7b173b-e05a-4ea2-9411-874b9f26d4dd)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001def2608 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001dea4b04 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000001e3a64ac in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001ebc7db9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc7d95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc7d75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7d55 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7d1d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc7135 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001e6fa196 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:841: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bcca in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:28:48.305283 [ 21984 ] {975eefb2-f5a9-48d6-b2f8-c33cb3a4edae} executeQuery: Code: 115. DB::Exception: Unknown setting xxx_yyy. (UNKNOWN_SETTING) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48870) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE table_for_alter MODIFY SETTING xxx_yyy=124;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Core/BaseSettings.cpp:44: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x000000001b3df907 in /usr/bin/clickhouse 7. ? @ 0x000000001b2099d3 in /usr/bin/clickhouse 8. /build/src/Access/SettingsConstraints.cpp:233: bool DB::getNewValueToCheck(DB::MergeTreeSettings const&, DB::SettingChange&, DB::Field&, bool) @ 0x000000001b208a0b in /usr/bin/clickhouse 9. /build/src/Access/SettingsConstraints.cpp:294: DB::SettingsConstraints::checkImpl(DB::MergeTreeSettings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x000000001b204134 in /usr/bin/clickhouse 10. /build/src/Access/SettingsConstraints.cpp:204: DB::SettingsConstraints::check(DB::MergeTreeSettings const&, DB::SettingChange const&) const @ 0x000000001b2040c7 in /usr/bin/clickhouse 11. /build/src/Access/SettingsConstraints.cpp:208: DB::SettingsConstraints::check(DB::MergeTreeSettings const&, DB::SettingsChanges const&) const @ 0x000000001b2042d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1914: DB::Context::checkMergeTreeSettingsConstraints(DB::MergeTreeSettings const&, DB::SettingsChanges const&) const @ 0x000000001bdca2be in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeData.cpp:3421: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de90aa4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:48.306090 [ 21984 ] {975eefb2-f5a9-48d6-b2f8-c33cb3a4edae} TCPHandler: Code: 115. DB::Exception: Unknown setting xxx_yyy. (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Core/BaseSettings.cpp:44: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x000000001b3df907 in /usr/bin/clickhouse 7. ? @ 0x000000001b2099d3 in /usr/bin/clickhouse 8. /build/src/Access/SettingsConstraints.cpp:233: bool DB::getNewValueToCheck(DB::MergeTreeSettings const&, DB::SettingChange&, DB::Field&, bool) @ 0x000000001b208a0b in /usr/bin/clickhouse 9. /build/src/Access/SettingsConstraints.cpp:294: DB::SettingsConstraints::checkImpl(DB::MergeTreeSettings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation) const @ 0x000000001b204134 in /usr/bin/clickhouse 10. /build/src/Access/SettingsConstraints.cpp:204: DB::SettingsConstraints::check(DB::MergeTreeSettings const&, DB::SettingChange const&) const @ 0x000000001b2040c7 in /usr/bin/clickhouse 11. /build/src/Access/SettingsConstraints.cpp:208: DB::SettingsConstraints::check(DB::MergeTreeSettings const&, DB::SettingsChanges const&) const @ 0x000000001b2042d6 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1914: DB::Context::checkMergeTreeSettingsConstraints(DB::MergeTreeSettings const&, DB::SettingsChanges const&) const @ 0x000000001bdca2be in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/MergeTreeData.cpp:3421: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de90aa4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:48.513521 [ 21984 ] {87183965-47b8-41da-bb0a-ec03cf09a88b} executeQuery: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48870) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE table_for_reset_setting MODIFY SETTING index_granularity=555;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3433: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de90cdd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:48.514436 [ 21984 ] {87183965-47b8-41da-bb0a-ec03cf09a88b} TCPHandler: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3433: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de90cdd in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:48.624634 [ 21984 ] {37f3823b-cccb-4d33-a3d6-dc2c6313a4c2} executeQuery: Code: 252. DB::Exception: Too many parts (2 with average size of 320.00 B) in table 'test_bc3b1byk.table_for_reset_setting (cab51739-57a2-4674-a38d-51990af01b3d)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48870) (comment: 00980_merge_alter_settings.sql) (in query: INSERT INTO table_for_reset_setting VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001def2608 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001dea4b04 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000001e3a64ac in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001ebc7db9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc7d95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc7d75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7d55 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7d1d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc7135 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001e6fa196 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:841: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bcca in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:28:48.626097 [ 21984 ] {37f3823b-cccb-4d33-a3d6-dc2c6313a4c2} TCPHandler: Code: 252. DB::Exception: Too many parts (2 with average size of 320.00 B) in table 'test_bc3b1byk.table_for_reset_setting (cab51739-57a2-4674-a38d-51990af01b3d)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001def2608 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001dea4b04 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000001e3a64ac in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001ebc7db9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc7d95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc7d75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7d55 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7d1d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc7135 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001e6fa196 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:841: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bcca in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:28:48.870139 [ 21984 ] {90729e70-c4c6-4b04-a044-1ccf170e7215} executeQuery: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48870) (comment: 00980_merge_alter_settings.sql) (in query: ALTER TABLE table_for_reset_setting RESET SETTING index_granularity;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3457: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de9133d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:48.870827 [ 21984 ] {90729e70-c4c6-4b04-a044-1ccf170e7215} TCPHandler: Code: 472. DB::Exception: Setting 'index_granularity' is readonly for storage 'MergeTree'. (READONLY_SETTING), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3457: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de9133d in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:48.984002 [ 21984 ] {0d1986a4-8d2a-482c-88b7-caa5ab19dd04} executeQuery: Code: 36. DB::Exception: Cannot reset setting 'unknown_setting' because it doesn't exist for MergeTree engines family. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48870) (comment: 00980_merge_alter_settings.sql) (in query: -- don't execute alter with incorrect setting ALTER TABLE table_for_reset_setting RESET SETTING merge_with_ttl_timeout, unknown_setting;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3347: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8fc47 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:48.984628 [ 21984 ] {0d1986a4-8d2a-482c-88b7-caa5ab19dd04} TCPHandler: Code: 36. DB::Exception: Cannot reset setting 'unknown_setting' because it doesn't exist for MergeTree engines family. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3347: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8fc47 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:55.657687 [ 22004 ] {2f84b80a-a432-4b86-b649-d9360f0e480d} executeQuery: Code: 20. DB::Exception: Number of columns in section IN doesn't match. 3 at left, 2 at right. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38090) (comment: 00981_in_subquery_with_tuple.sh) (in query: SELECT * FROM bug WHERE (s, d, s) IN (SELECT s, max(d) FROM bug GROUP BY s)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b666c8c in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:440: DB::Set::checkColumnsNumber(unsigned long) const @ 0x000000001ce16b28 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1273: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x000000001ddcd8e0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1546: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001ddceedc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:859: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001dddd448 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&>()(std::declval(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddd405 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddd3c5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddd385 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddd34d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001de03986 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001de037c5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x000000001de034d8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:207: DB::RPNBuilder::RPNBuilder(DB::ActionsDAG::Node const*, std::shared_ptr, std::function const&) @ 0x000000001ddf534a in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:857: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x000000001ddca879 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000]&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>, DB::KeyCondition*>(DB::KeyCondition*, std::shared_ptr&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>&&) @ 0x000000001eeb8b1b in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000]&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>>(std::shared_ptr&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>&&) @ 0x000000001eeb8a0a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000]&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>, void>(std::shared_ptr&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>&&) @ 0x000000001eeb6faa in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1267: DB::buildIndexes(std::optional&, std::shared_ptr, DB::MergeTreeData const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) @ 0x000000001ee9e083 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1348: DB::ReadFromMergeTree::applyFilters() @ 0x000000001ee9d5dd in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:205: DB::QueryPlanOptimizations::optimizeTreeThirdPass(DB::QueryPlan&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001ef28fe8 in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/QueryPlan.cpp:484: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001ee76eb1 in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/QueryPlan.cpp:169: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee769b7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:28:55.660046 [ 22004 ] {2f84b80a-a432-4b86-b649-d9360f0e480d} TCPHandler: Code: 20. DB::Exception: Number of columns in section IN doesn't match. 3 at left, 2 at right. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b666c8c in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:440: DB::Set::checkColumnsNumber(unsigned long) const @ 0x000000001ce16b28 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1273: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x000000001ddcd8e0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1546: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001ddceedc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:859: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001dddd448 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&>()(std::declval(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddd405 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddd3c5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddd385 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddd34d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001de03986 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001de037c5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x000000001de034d8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:207: DB::RPNBuilder::RPNBuilder(DB::ActionsDAG::Node const*, std::shared_ptr, std::function const&) @ 0x000000001ddf534a in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:857: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x000000001ddca879 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::KeyCondition* std::construct_at[abi:v15000]&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>, DB::KeyCondition*>(DB::KeyCondition*, std::shared_ptr&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>&&) @ 0x000000001eeb8b1b in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/optional:374: void std::__optional_storage_base::__construct[abi:v15000]&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>>(std::shared_ptr&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>&&) @ 0x000000001eeb8a0a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/optional:898: DB::KeyCondition& std::optional::emplace[abi:v15000]&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>, void>(std::shared_ptr&, std::shared_ptr const&, std::vector>&, std::shared_ptr&, std::unordered_set, std::equal_to, std::allocator>&&) @ 0x000000001eeb6faa in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1267: DB::buildIndexes(std::optional&, std::shared_ptr, DB::MergeTreeData const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) @ 0x000000001ee9e083 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1348: DB::ReadFromMergeTree::applyFilters() @ 0x000000001ee9d5dd in /usr/bin/clickhouse 24. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:205: DB::QueryPlanOptimizations::optimizeTreeThirdPass(DB::QueryPlan&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001ef28fe8 in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/QueryPlan.cpp:484: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001ee76eb1 in /usr/bin/clickhouse 26. /build/src/Processors/QueryPlan/QueryPlan.cpp:169: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee769b7 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:28:55.873734 [ 21994 ] {1cb201f8-26b4-4f88-9851-982702520d1e} executeQuery: Code: 403. DB::Exception: No inequality in ASOF JOIN ON section. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38076) (comment: 00976_asof_join_on.sql) (in query: SELECT count() FROM A ASOF JOIN B ON A.a == B.b AND A.t == B.t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [39]) @ 0x000000000c57707e in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:80: DB::CollectJoinOnKeysMatcher::Data::asofToJoinKeys() @ 0x000000001d015c91 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:666: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa0026 in /usr/bin/clickhouse 8. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:55.874672 [ 21994 ] {1cb201f8-26b4-4f88-9851-982702520d1e} TCPHandler: Code: 403. DB::Exception: No inequality in ASOF JOIN ON section. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [39]) @ 0x000000000c57707e in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:80: DB::CollectJoinOnKeysMatcher::Data::asofToJoinKeys() @ 0x000000001d015c91 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:666: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cfa0026 in /usr/bin/clickhouse 8. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:55.886175 [ 21994 ] {7d25d952-5d79-4428-ba5d-fafcd6dc78c8} executeQuery: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 't != B.t': While processing t != B.t. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38076) (comment: 00976_asof_join_on.sql) (in query: SELECT count() FROM A ASOF JOIN B ON A.a == B.b AND A.t != B.t;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d016f96 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb0924 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb0720 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b21 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb0565 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fd1c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:28:55.887147 [ 21994 ] {7d25d952-5d79-4428-ba5d-fafcd6dc78c8} TCPHandler: Code: 403. DB::Exception: Unsupported JOIN ON conditions. Unexpected 't != B.t': While processing t != B.t. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/CollectJoinOnKeysVisitor.cpp:151: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001d016f96 in /usr/bin/clickhouse 7. /build/src/Interpreters/CollectJoinOnKeysVisitor.h:68: DB::CollectJoinOnKeysMatcher::visit(std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x000000001cfb0924 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001cfb0720 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b21 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001cfb0bc6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001cfb0b2e in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001cfb06aa in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001cfb0565 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:650: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9fd1c in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:28:56.016854 [ 21994 ] {e9d7eb34-4256-4545-bc1b-46755091fc26} executeQuery: Code: 48. DB::Exception: ASOF join doesn't support multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38076) (comment: 00976_asof_join_on.sql) (in query: SELECT A.a, A.t, B.b, B.t FROM A ASOF JOIN B ON A.a == B.b AND A.t < B.t OR A.a == B.b + 1 ORDER BY (A.a, A.t);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001254101e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:665: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9ffd9 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:56.017859 [ 21994 ] {e9d7eb34-4256-4545-bc1b-46755091fc26} TCPHandler: Code: 48. DB::Exception: ASOF join doesn't support multiple ORs for keys in JOIN ON section. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [67]) @ 0x000000001254101e in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:665: DB::(anonymous namespace)::collectJoinedColumns(DB::TableJoin&, DB::ASTTableJoin&, std::vector> const&, std::unordered_map, std::hash, std::equal_to, std::allocator>>> const&, std::shared_ptr) @ 0x000000001cf9ffd9 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1252: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c332 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:57.806391 [ 21999 ] {f2032cae-3b43-4fde-a7bb-fc6d196687f5} executeQuery: Code: 20. DB::Exception: Number of columns in section IN doesn't match. 2 at left, 3 at right. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38140) (comment: 00981_in_subquery_with_tuple.sh) (in query: SELECT * FROM bug WHERE (s, d) IN (SELECT s, max(d), s FROM bug GROUP BY s)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b666c8c in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:440: DB::Set::checkColumnsNumber(unsigned long) const @ 0x000000001ce16b28 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1273: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x000000001ddcd8e0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1546: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001ddceedc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:859: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001dddd448 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&>()(std::declval(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddd405 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddd3c5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddd385 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddd34d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001de03986 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001de037c5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x000000001de034d8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:207: DB::RPNBuilder::RPNBuilder(DB::ActionsDAG::Node const*, std::shared_ptr, std::function const&) @ 0x000000001ddf534a in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:857: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x000000001ddca879 in /usr/bin/clickhouse 19. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1245: DB::buildIndexes(std::optional&, std::shared_ptr, DB::MergeTreeData const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) @ 0x000000001ee9dd13 in /usr/bin/clickhouse 20. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1348: DB::ReadFromMergeTree::applyFilters() @ 0x000000001ee9d5dd in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:205: DB::QueryPlanOptimizations::optimizeTreeThirdPass(DB::QueryPlan&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001ef28fe8 in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/QueryPlan.cpp:484: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001ee76eb1 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/QueryPlan.cpp:169: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee769b7 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 2024.12.17 01:28:57.808422 [ 21999 ] {f2032cae-3b43-4fde-a7bb-fc6d196687f5} TCPHandler: Code: 20. DB::Exception: Number of columns in section IN doesn't match. 2 at left, 3 at right. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&&) @ 0x000000000b666c8c in /usr/bin/clickhouse 6. /build/src/Interpreters/Set.cpp:440: DB::Set::checkColumnsNumber(unsigned long) const @ 0x000000001ce16b28 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/KeyCondition.cpp:1273: DB::KeyCondition::tryPrepareSetIndex(DB::RPNBuilderFunctionTreeNode const&, DB::KeyCondition::RPNElement&, unsigned long&) @ 0x000000001ddcd8e0 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/KeyCondition.cpp:1546: DB::KeyCondition::extractAtomFromTree(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001ddceedc in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/KeyCondition.cpp:859: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001dddd448 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&>()(std::declval(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddd405 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper::__call, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&>(DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0&, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddd3c5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddd385 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker::__call_impl, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool)::$_0, bool (DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&)>>(std::__function::__policy_storage const*, DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) @ 0x000000001dddd34d in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001de03986 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::RPNBuilderTreeNode const&, DB::KeyCondition::RPNElement&) const @ 0x000000001de037c5 in /usr/bin/clickhouse 16. /build/src/Storages/MergeTree/RPNBuilder.h:252: DB::RPNBuilder::traverseTree(DB::RPNBuilderTreeNode const&) @ 0x000000001de034d8 in /usr/bin/clickhouse 17. /build/src/Storages/MergeTree/RPNBuilder.h:207: DB::RPNBuilder::RPNBuilder(DB::ActionsDAG::Node const*, std::shared_ptr, std::function const&) @ 0x000000001ddf534a in /usr/bin/clickhouse 18. /build/src/Storages/MergeTree/KeyCondition.cpp:857: DB::KeyCondition::KeyCondition(std::shared_ptr, std::shared_ptr, std::vector> const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator>, bool, bool) @ 0x000000001ddca879 in /usr/bin/clickhouse 19. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1245: DB::buildIndexes(std::optional&, std::shared_ptr, DB::MergeTreeData const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) @ 0x000000001ee9dd13 in /usr/bin/clickhouse 20. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1348: DB::ReadFromMergeTree::applyFilters() @ 0x000000001ee9d5dd in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:205: DB::QueryPlanOptimizations::optimizeTreeThirdPass(DB::QueryPlan&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001ef28fe8 in /usr/bin/clickhouse 22. /build/src/Processors/QueryPlan/QueryPlan.cpp:484: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001ee76eb1 in /usr/bin/clickhouse 23. /build/src/Processors/QueryPlan/QueryPlan.cpp:169: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee769b7 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 26. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 2024.12.17 01:28:59.039023 [ 3551 ] {e7306c77-8872-43df-8e79-8c03d94ee007} executeQuery: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38168) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001194f7be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7415: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec8a56 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a5b77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:59.039724 [ 3551 ] {e7306c77-8872-43df-8e79-8c03d94ee007} TCPHandler: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001194f7be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7415: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec8a56 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a5b77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:59.660111 [ 22004 ] {c920c02b-231a-4ec8-b0c7-e0157b4d5d64} executeQuery: Code: 159. DB::Exception: Timeout exceeded: elapsed 3.000781327 seconds, maximum: 3. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38118) (comment: 00976_max_execution_speed.sql) (in query: SELECT count() FROM system.numbers;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87926c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b8786b3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b8785c8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b99 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:28:59.664298 [ 22004 ] {c920c02b-231a-4ec8-b0c7-e0157b4d5d64} TCPHandler: Code: 159. DB::Exception: Timeout exceeded: elapsed 3.000781327 seconds, maximum: 3. (TIMEOUT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b87926c in /usr/bin/clickhouse 6. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:110: bool DB::handleOverflowMode(DB::OverflowMode, int, FormatStringHelperImpl::type, std::type_identity::type>, double&&, double&&) @ 0x000000001b8786b3 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ExecutionSpeedLimits.cpp:126: DB::ExecutionSpeedLimits::checkTimeLimit(Stopwatch const&, DB::OverflowMode) const @ 0x000000001b8785c8 in /usr/bin/clickhouse 8. /build/src/Interpreters/ProcessList.cpp:465: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b99 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 17. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:02.012809 [ 21999 ] {b9f758a7-e9f2-4e7b-8d78-638b35f78721} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 900.00 thousand, current rows: 1.00 million. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42318) (comment: 00971_merge_tree_uniform_read_distribution_and_max_rows_to_read.sql) (in query: -- constant ignore will be pruned by part pruner. ignore(*) is used. SELECT count() FROM merge_tree WHERE not ignore(*);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a0808 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a032c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a0679 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:234: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001ee94a43 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea3326 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:02.013868 [ 21999 ] {b9f758a7-e9f2-4e7b-8d78-638b35f78721} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 900.00 thousand, current rows: 1.00 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a0808 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a032c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a0679 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:234: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001ee94a43 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea3326 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:02.034521 [ 21999 ] {c387a1a0-a233-4358-b1de-ae93d3e8b288} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 900.00 thousand, current rows: 1.00 million. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42318) (comment: 00971_merge_tree_uniform_read_distribution_and_max_rows_to_read.sql) (in query: SELECT count() FROM merge_tree WHERE not ignore(*);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a0808 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a032c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a0679 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:234: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001ee94a43 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea3326 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:02.051038 [ 21999 ] {c387a1a0-a233-4358-b1de-ae93d3e8b288} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 900.00 thousand, current rows: 1.00 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a0808 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a032c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a0679 in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:234: DB::ReadFromMergeTree::AnalysisResult::checkLimits(DB::Settings const&, DB::SelectQueryInfo const&) const @ 0x000000001ee94a43 in /usr/bin/clickhouse 9. /build/src/Processors/QueryPlan/ReadFromMergeTree.cpp:1786: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001eea3326 in /usr/bin/clickhouse 10. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 11. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:03.722118 [ 21999 ] {d9dd58fa-b22c-47b6-a036-c9edaf3d923b} executeQuery: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42378) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001194f7be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7415: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec8a56 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a5b77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:03.723004 [ 21999 ] {d9dd58fa-b22c-47b6-a036-c9edaf3d923b} TCPHandler: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001194f7be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7415: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec8a56 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a5b77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:06.435937 [ 22003 ] {1c1b247f-82c5-4b46-b8e6-6493463cd10a} executeQuery: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 0, should be from 2 to 3: While processing neighbor(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42452) (comment: 00957_neighbor.sql) (in query: -- no arguments select neighbor();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000bc9b84c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011501df1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:06.436979 [ 22003 ] {1c1b247f-82c5-4b46-b8e6-6493463cd10a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 0, should be from 2 to 3: While processing neighbor(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000bc9b84c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011501df1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:06.445556 [ 22003 ] {18231986-5cd2-4196-9248-aca210ae0cdf} executeQuery: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 1, should be from 2 to 3: While processing neighbor(1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42452) (comment: 00957_neighbor.sql) (in query: -- single argument select neighbor(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000bc9b84c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011501df1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:06.446321 [ 22003 ] {18231986-5cd2-4196-9248-aca210ae0cdf} TCPHandler: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 1, should be from 2 to 3: While processing neighbor(1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000bc9b84c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011501df1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:06.454089 [ 22003 ] {a3046c67-f2e1-4798-bc63-d975c91d9fd9} executeQuery: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 4, should be from 2 to 3: While processing neighbor(1, 2, 3, 4). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42452) (comment: 00957_neighbor.sql) (in query: -- greater than 3 arguments select neighbor(1,2,3,4);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000bc9b84c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011501df1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:06.454933 [ 22003 ] {a3046c67-f2e1-4798-bc63-d975c91d9fd9} TCPHandler: Code: 42. DB::Exception: Number of arguments for function neighbor doesn't match: passed 4, should be from 2 to 3: While processing neighbor(1, 2, 3, 4). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000bc9b84c in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:64: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011501df1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:06.576417 [ 22003 ] {5d36acdd-f50c-4327-b701-a2f758af558a} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt8, String because some of them are String/FixedString and some of them are not: While processing neighbor(dummy, 1, 'hello'). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42452) (comment: 00957_neighbor.sql) (in query: -- bad default value select neighbor(dummy, 1, 'hello');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119554ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001ba050c6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba0934f in /usr/bin/clickhouse 8. /build/src/Functions/neighbor.cpp:78: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011502231 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:29:06.577511 [ 22003 ] {5d36acdd-f50c-4327-b701-a2f758af558a} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt8, String because some of them are String/FixedString and some of them are not: While processing neighbor(dummy, 1, 'hello'). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119554ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001ba050c6 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:454: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba0934f in /usr/bin/clickhouse 8. /build/src/Functions/neighbor.cpp:78: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011502231 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:29:06.693623 [ 22003 ] {8cb1ac09-a1e3-4a33-820f-1fb3ba27b73c} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int8, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing number, neighbor(number, 1, -10). (NO_COMMON_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42452) (comment: 00957_neighbor.sql) (in query: -- types without common supertype (UInt64 and Int8) select number, neighbor(number, 1, -10) from numbers(3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119554ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001ba05c06 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:137: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001ba05584 in /usr/bin/clickhouse 8. /build/src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba0a438 in /usr/bin/clickhouse 9. /build/src/Functions/neighbor.cpp:78: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011502231 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:29:06.694798 [ 22003 ] {8cb1ac09-a1e3-4a33-820f-1fb3ba27b73c} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int8, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing number, neighbor(number, 1, -10). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x00000000119554ec in /usr/bin/clickhouse 6. /build/src/DataTypes/getLeastSupertype.cpp:67: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001ba05c06 in /usr/bin/clickhouse 7. /build/src/DataTypes/getLeastSupertype.cpp:137: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001ba05584 in /usr/bin/clickhouse 8. /build/src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001ba0a438 in /usr/bin/clickhouse 9. /build/src/Functions/neighbor.cpp:78: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011502231 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 11. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:29:06.836268 [ 22003 ] {91768304-4fdc-4ee1-ad80-fd4f0da2074a} executeQuery: Code: 43. DB::Exception: Illegal type Nullable(UInt64) of second argument of function neighbor - should be an integer: While processing number, if(number > 1, number, NULL) AS offset, neighbor(number, offset). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42452) (comment: 00957_neighbor.sql) (in query: -- nullable offset is not allowed select number, if(number > 1, number, null) as offset, neighbor(number, offset) from numbers(3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:70: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011501f44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:06.837356 [ 22003 ] {91768304-4fdc-4ee1-ad80-fd4f0da2074a} TCPHandler: Code: 43. DB::Exception: Illegal type Nullable(UInt64) of second argument of function neighbor - should be an integer: While processing number, if(number > 1, number, NULL) AS offset, neighbor(number, offset). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/neighbor.cpp:70: DB::(anonymous namespace)::FunctionNeighbor::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011501f44 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:08.330562 [ 21999 ] {f685c2d0-0655-411b-8881-29203c20f7b7} executeQuery: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42492) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001194f7be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7415: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec8a56 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a5b77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:08.331129 [ 21999 ] {f685c2d0-0655-411b-8881-29203c20f7b7} TCPHandler: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001194f7be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7415: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec8a56 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a5b77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:12.896088 [ 22003 ] {b3b9c7c1-6dc8-4f80-a623-e2702e0c23d1} executeQuery: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39304) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001194f7be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7415: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec8a56 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a5b77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:12.896811 [ 22003 ] {b3b9c7c1-6dc8-4f80-a623-e2702e0c23d1} TCPHandler: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001194f7be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7415: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec8a56 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a5b77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:17.465049 [ 2669 ] {} InterserverIOHTTPHandler: Code: 221. DB::Exception: No interserver IO endpoint named DataPartsExchange:/clickhouse/tables/01-01/visits/replicas/some.server.com. (NO_SUCH_INTERSERVER_IO_ENDPOINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterserverIOHandler.h:80: DB::InterserverIOHandler::getEndpoint(String const&) const @ 0x000000001e5ec0f2 in /usr/bin/clickhouse 7. /build/src/Server/InterserverIOHTTPHandler.cpp:62: DB::InterserverIOHTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::InterserverIOHTTPHandler::Output&) @ 0x000000001e5e9d38 in /usr/bin/clickhouse 8. /build/src/Server/InterserverIOHTTPHandler.cpp:120: DB::InterserverIOHTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5ea3ce in /usr/bin/clickhouse 9. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 15. ? @ 0x00007f3559e74ac3 in ? 16. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:29:17.490642 [ 21999 ] {015dc82d-b206-4000-8dac-d2d0a981bf95} executeQuery: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39400) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001194f7be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7415: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec8a56 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a5b77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:17.491340 [ 21999 ] {015dc82d-b206-4000-8dac-d2d0a981bf95} TCPHandler: Code: 122. DB::Exception: Tables have different structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [32]) @ 0x000000001194f7be in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7415: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec8a56 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a5b77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:26.597421 [ 8668 ] {91a385ad-ae5c-43fb-9ea8-3dd700132569} executeQuery: Code: 456. DB::Exception: Substitution `s` is not set. (UNKNOWN_QUERY_PARAMETER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40296) (comment: 00954_client_prepared_statements.sh) (in query: SELECT {s:String}), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:70: DB::ReplaceQueryParameterVisitor::getParamValue(String const&) @ 0x000000001d0926cd in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:79: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001d091a2a in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0918c5 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:731: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0abee8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:26.598951 [ 8668 ] {91a385ad-ae5c-43fb-9ea8-3dd700132569} TCPHandler: Code: 456. DB::Exception: Substitution `s` is not set. (UNKNOWN_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:70: DB::ReplaceQueryParameterVisitor::getParamValue(String const&) @ 0x000000001d0926cd in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:79: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001d091a2a in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0918c5 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:731: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0abee8 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:27.722892 [ 11801 ] {6b270132-8119-4172-8e76-a915ca3bfdae} executeQuery: Code: 457. DB::Exception: Value [1] OR 1 cannot be parsed as Array(UInt32) for query parameter 'injection' because it isn't parsed completely: only 3 of 8 bytes was parsed: [1]. (BAD_QUERY_PARAMETER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40324) (comment: 00955_complex_prepared_statements.sh) (in query: SELECT * FROM ps WHERE a = {injection:Array(UInt32)}), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x000000001d092c56 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:104: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001d091ec5 in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0918c5 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:731: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0abee8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:27.724400 [ 11801 ] {6b270132-8119-4172-8e76-a915ca3bfdae} TCPHandler: Code: 457. DB::Exception: Value [1] OR 1 cannot be parsed as Array(UInt32) for query parameter 'injection' because it isn't parsed completely: only 3 of 8 bytes was parsed: [1]. (BAD_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&, unsigned long&&, unsigned long&&, String&&) @ 0x000000001d092c56 in /usr/bin/clickhouse 6. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:104: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x000000001d091ec5 in /usr/bin/clickhouse 7. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0918c5 in /usr/bin/clickhouse 8. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 9. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 10. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 11. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 12. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 13. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 14. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 15. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 16. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:57: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x000000001d092573 in /usr/bin/clickhouse 17. /build/src/Interpreters/ReplaceQueryParameterVisitor.cpp:46: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x000000001d0919bb in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:731: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0abee8 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:29.935854 [ 11801 ] {b3321fd4-514c-4967-be9d-a09eedc83992} executeQuery: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has Int32. (BAD_TTL_EXPRESSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40368) (comment: 00933_alter_ttl.sql) (in query: alter table ttl modify ttl a;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/TTLDescription.cpp:77: DB::(anonymous namespace)::checkTTLExpression(std::shared_ptr const&, String const&) @ 0x000000001da310f6 in /usr/bin/clickhouse 7. /build/src/Storages/TTLDescription.cpp:292: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001da30ce1 in /usr/bin/clickhouse 8. /build/src/Storages/TTLDescription.cpp:341: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001da315cc in /usr/bin/clickhouse 9. /build/src/Storages/AlterCommands.cpp:613: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d588a98 in /usr/bin/clickhouse 10. /build/src/Storages/AlterCommands.cpp:929: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58b065 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8d98c in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:29.936712 [ 11801 ] {b3321fd4-514c-4967-be9d-a09eedc83992} TCPHandler: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has Int32. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/TTLDescription.cpp:77: DB::(anonymous namespace)::checkTTLExpression(std::shared_ptr const&, String const&) @ 0x000000001da310f6 in /usr/bin/clickhouse 7. /build/src/Storages/TTLDescription.cpp:292: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001da30ce1 in /usr/bin/clickhouse 8. /build/src/Storages/TTLDescription.cpp:341: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001da315cc in /usr/bin/clickhouse 9. /build/src/Storages/AlterCommands.cpp:613: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d588a98 in /usr/bin/clickhouse 10. /build/src/Storages/AlterCommands.cpp:929: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58b065 in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8d98c in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:30.141891 [ 11801 ] {c5e2eefc-06dd-424c-af50-77993d691b6b} executeQuery: Code: 43. DB::Exception: Illegal type Int32 of argument of function toDayOfMonth. Should be Date, Date32, DateTime or DateTime64: While processing toDayOfMonth(d). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40368) (comment: 00933_alter_ttl.sql) (in query: alter table ttl modify column d Int ttl d + interval 1 day;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001263d8f1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:60: DB::FunctionDateOrDateTimeToSomething, DB::ToDayOfMonthImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001263bf9f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb7838 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb7ba3 in /usr/bin/clickhouse 24. /build/src/Storages/KeyDescription.cpp:142: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001d5fb705 in /usr/bin/clickhouse 25. /build/src/Storages/KeyDescription.cpp:75: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001d5fb246 in /usr/bin/clickhouse 26. /build/src/Storages/AlterCommands.cpp:946: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58b28f in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8d98c in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:29:30.142755 [ 11801 ] {c5e2eefc-06dd-424c-af50-77993d691b6b} TCPHandler: Code: 43. DB::Exception: Illegal type Int32 of argument of function toDayOfMonth. Should be Date, Date32, DateTime or DateTime64: While processing toDayOfMonth(d). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001263d8f1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:60: DB::FunctionDateOrDateTimeToSomething, DB::ToDayOfMonthImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001263bf9f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1696: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x000000001bfb7838 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x000000001bfb7ba3 in /usr/bin/clickhouse 24. /build/src/Storages/KeyDescription.cpp:142: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001d5fb705 in /usr/bin/clickhouse 25. /build/src/Storages/KeyDescription.cpp:75: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001d5fb246 in /usr/bin/clickhouse 26. /build/src/Storages/AlterCommands.cpp:946: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001d58b28f in /usr/bin/clickhouse 27. /build/src/Storages/MergeTree/MergeTreeData.cpp:3145: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8d98c in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:29:30.240804 [ 11801 ] {6556616d-3014-4448-b1ca-8be8219a32a3} executeQuery: Code: 524. DB::Exception: ALTER of key column d is forbidden. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40368) (comment: 00933_alter_ttl.sql) (in query: alter table ttl modify column d DateTime ttl d + interval 1 day;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3357: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8fe0b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:30.241535 [ 11801 ] {6556616d-3014-4448-b1ca-8be8219a32a3} TCPHandler: Code: 524. DB::Exception: ALTER of key column d is forbidden. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3357: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8fe0b in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:34.951558 [ 11801 ] {26dc1ca5-8d25-4c7e-a83b-0178c62056a9} executeQuery: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('abc', 3, ['a1c']). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39486) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny('abc', 3, ['a1c']) from system.numbers limit 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113d02b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113cb01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113cab5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ca75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ca35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ca00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000011137ed6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x0000000011137dd5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112d621 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113b5e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113a18c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 2024.12.17 01:29:34.952553 [ 11801 ] {26dc1ca5-8d25-4c7e-a83b-0178c62056a9} TCPHandler: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('abc', 3, ['a1c']). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113d02b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113cb01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113cab5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ca75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ca35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ca00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000011137ed6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x0000000011137dd5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112d621 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113b5e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113a18c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 2024.12.17 01:29:34.964112 [ 11801 ] {a89323a9-258a-4028-8a8b-4f1281003102} executeQuery: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('abc', 4, ['a1c']). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39486) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny('abc', 4, ['a1c']) from system.numbers limit 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113d02b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113cb01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113cab5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ca75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ca35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ca00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000011137ed6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x0000000011137dd5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112d621 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113b5e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113a18c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 2024.12.17 01:29:34.965029 [ 11801 ] {a89323a9-258a-4028-8a8b-4f1281003102} TCPHandler: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('abc', 4, ['a1c']). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113d02b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113cb01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113cab5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ca75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ca35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ca00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000011137ed6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x0000000011137dd5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112d621 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113b5e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113a18c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 2024.12.17 01:29:36.974062 [ 11801 ] {a6c8c9cb-981f-4d7e-a167-3cb6c7e8beae} executeQuery: Code: 36. DB::Exception: Pattern '^hello.*world$' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('hello some world', 10, ['^hello.*world$']). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39486) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny('hello some world', 10, ['^hello.*world$']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113d02b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113cb01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113cab5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ca75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ca35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ca00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000011137ed6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x0000000011137dd5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112d621 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113b5e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113a18c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 2024.12.17 01:29:36.974907 [ 11801 ] {a6c8c9cb-981f-4d7e-a167-3cb6c7e8beae} TCPHandler: Code: 36. DB::Exception: Pattern '^hello.*world$' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': While processing multiFuzzyMatchAny('hello some world', 10, ['^hello.*world$']). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113d02b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113cb01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113cab5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ca75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ca35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ca00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000011137ed6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x0000000011137dd5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112d621 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113b5e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113a18c in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 2024.12.17 01:29:37.093301 [ 11801 ] {9735656e-eff7-44dc-bd1c-239e438a140c} executeQuery: Code: 43. DB::Exception: Illegal type Int8 of argument of function multiFuzzyMatchAny: While processing multiFuzzyMatchAny('hello some world', -1, ['^hello.*world$']). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39486) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny('hello some world', -1, ['^hello.*world$']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:64: DB::FunctionsMultiStringFuzzySearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001113a52d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:37.094482 [ 11801 ] {9735656e-eff7-44dc-bd1c-239e438a140c} TCPHandler: Code: 43. DB::Exception: Illegal type Int8 of argument of function multiFuzzyMatchAny: While processing multiFuzzyMatchAny('hello some world', -1, ['^hello.*world$']). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:64: DB::FunctionsMultiStringFuzzySearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001113a52d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:37.214797 [ 11801 ] {a4190976-d8bd-4ee3-a37c-5d14d62757d8} executeQuery: Code: 44. DB::Exception: Illegal column Const(UInt64). The number is not const or does not fit in UInt32: While processing multiFuzzyMatchAny('hello some world', 10000000000, ['^hello.*world$']). (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39486) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny('hello some world', 10000000000, ['^hello.*world$']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:91: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011139cb0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:29:37.215762 [ 11801 ] {a4190976-d8bd-4ee3-a37c-5d14d62757d8} TCPHandler: Code: 44. DB::Exception: Illegal column Const(UInt64). The number is not const or does not fit in UInt32: While processing multiFuzzyMatchAny('hello some world', 10000000000, ['^hello.*world$']). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:91: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011139cb0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:29:39.620661 [ 21993 ] {c7844507-c641-458c-bb5c-346ca464de95} executeQuery: Code: 48. DB::Exception: Alter of type 'MODIFY_ORDER_BY' is not supported by storage Distributed. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39634) (comment: 00910_crash_when_distributed_modify_order_by.sql) (in query: ALTER TABLE union2 MODIFY ORDER BY a;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::AlterCommand::Type const&, String&&) @ 0x000000001af4570c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1078: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d65c93c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:39.621439 [ 21993 ] {c7844507-c641-458c-bb5c-346ca464de95} TCPHandler: Code: 48. DB::Exception: Alter of type 'MODIFY_ORDER_BY' is not supported by storage Distributed. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::AlterCommand::Type const&, String&&) @ 0x000000001af4570c in /usr/bin/clickhouse 6. /build/src/Storages/StorageDistributed.cpp:1078: DB::StorageDistributed::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001d65c93c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:42.042036 [ 11801 ] {57a00e46-35a4-4bf7-a329-fd007940e595} executeQuery: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('abc') :: 3, 3 :: 1, materialize(['a1c']) :: 0) -> multiFuzzyMatchAny(materialize('abc'), 3, materialize(['a1c'])) UInt8 : 2'. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39486) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny(materialize('abc'), 3, materialize(['a1c'])) from system.numbers limit 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113d02b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113cb01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113cab5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ca75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ca35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ca00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000011137ed6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x0000000011137dd5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112d621 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113b5e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113a18c in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 2024.12.17 01:29:42.043217 [ 11801 ] {57a00e46-35a4-4bf7-a329-fd007940e595} TCPHandler: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('abc') :: 3, 3 :: 1, materialize(['a1c']) :: 0) -> multiFuzzyMatchAny(materialize('abc'), 3, materialize(['a1c'])) UInt8 : 2'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113d02b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113cb01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113cab5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ca75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ca35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ca00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000011137ed6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x0000000011137dd5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112d621 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113b5e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113a18c in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 2024.12.17 01:29:42.062605 [ 11801 ] {fe56c158-b0ae-448a-8efb-c629427be2d2} executeQuery: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('abc') :: 3, 4 :: 1, materialize(['a1c']) :: 0) -> multiFuzzyMatchAny(materialize('abc'), 4, materialize(['a1c'])) UInt8 : 2'. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39486) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny(materialize('abc'), 4, materialize(['a1c'])) from system.numbers limit 3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113d02b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113cb01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113cab5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ca75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ca35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ca00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000011137ed6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x0000000011137dd5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112d621 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113b5e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113a18c in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 2024.12.17 01:29:42.063825 [ 11801 ] {fe56c158-b0ae-448a-8efb-c629427be2d2} TCPHandler: Code: 36. DB::Exception: Pattern 'a1c' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('abc') :: 3, 4 :: 1, materialize(['a1c']) :: 0) -> multiFuzzyMatchAny(materialize('abc'), 4, materialize(['a1c'])) UInt8 : 2'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113d02b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113cb01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113cab5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ca75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ca35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ca00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000011137ed6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x0000000011137dd5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112d621 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113b5e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113a18c in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 2024.12.17 01:29:42.209345 [ 11801 ] {a3e9456f-8037-41b2-b6ea-b678a7cbbd7e} executeQuery: Code: 36. DB::Exception: Pattern '^hello.*world$' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('hello some world') :: 3, 10 :: 1, materialize(['^hello.*world$']) :: 0) -> multiFuzzyMatchAny(materialize('hello some world'), 10, materialize(['^hello.*world$'])) UInt8 : 2'. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39486) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny(materialize('hello some world'), 10, materialize(['^hello.*world$']));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113d02b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113cb01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113cab5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ca75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ca35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ca00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000011137ed6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x0000000011137dd5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112d621 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113b5e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113a18c in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 2024.12.17 01:29:42.210328 [ 11801 ] {a3e9456f-8037-41b2-b6ea-b678a7cbbd7e} TCPHandler: Code: 36. DB::Exception: Pattern '^hello.*world$' failed with error 'Approximate matching patterns that reduce to vacuous patterns are disallowed.': while executing 'FUNCTION multiFuzzyMatchAny(materialize('hello some world') :: 3, 10 :: 1, materialize(['^hello.*world$']) :: 0) -> multiFuzzyMatchAny(materialize('hello some world'), 10, materialize(['^hello.*world$'])) UInt8 : 2'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Functions/Regexps.h:245: DB::MultiRegexps::Regexps DB::MultiRegexps::constructRegexps(std::vector> const&, std::optional) @ 0x000000001113d02b in /usr/bin/clickhouse 7. /build/src/Functions/Regexps.h:324: std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()::operator()() const @ 0x000000001113cb01 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>()()) std::__invoke[abi:v15000] DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113cab5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: DB::MultiRegexps::Regexps std::__invoke_void_return_wrapper::__call DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&>(std::shared_ptr DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'()&) @ 0x000000001113ca75 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>::operator()[abi:v15000]() @ 0x000000001113ca35 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: DB::MultiRegexps::Regexps std::__function::__policy_invoker::__call_impl DB::MultiRegexps::getOrSet(std::vector>, std::allocator>>> const&, std::optional)::'lambda'(), DB::MultiRegexps::Regexps ()>>(std::__function::__policy_storage const*) @ 0x000000001113ca00 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x0000000011137ed6 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x0000000011137dd5 in /usr/bin/clickhouse 14. /build/src/Functions/Regexps.h:146: DB::MultiRegexps::DeferredConstructedRegexps::get() @ 0x000000001112d621 in /usr/bin/clickhouse 15. /build/src/Functions/MultiMatchAnyImpl.h:245: DB::MultiMatchAnyImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::IColumn const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, std::optional, bool, unsigned long, unsigned long, bool) @ 0x000000001113b5e9 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:118: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000001113a18c in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 24. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 25. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 2024.12.17 01:29:42.220956 [ 11801 ] {3ce11847-da78-495c-a603-6c15af70469a} executeQuery: Code: 43. DB::Exception: Illegal type Int8 of argument of function multiFuzzyMatchAny: While processing multiFuzzyMatchAny(materialize('hello some world'), -1, materialize(['^hello.*world$'])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39486) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny(materialize('hello some world'), -1, materialize(['^hello.*world$']));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:64: DB::FunctionsMultiStringFuzzySearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001113a52d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:42.221881 [ 11801 ] {3ce11847-da78-495c-a603-6c15af70469a} TCPHandler: Code: 43. DB::Exception: Illegal type Int8 of argument of function multiFuzzyMatchAny: While processing multiFuzzyMatchAny(materialize('hello some world'), -1, materialize(['^hello.*world$'])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:64: DB::FunctionsMultiStringFuzzySearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001113a52d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:42.355309 [ 11801 ] {82610e10-3ab8-41dc-88ad-5bfbbe556f13} executeQuery: Code: 44. DB::Exception: Illegal column Const(UInt64). The number is not const or does not fit in UInt32. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39486) (comment: 00929_multi_match_edit_distance.sql) (in query: select multiFuzzyMatchAny(materialize('hello some world'), 10000000000, materialize(['^hello.*world$']));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:91: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011139cb0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:29:42.356041 [ 11801 ] {82610e10-3ab8-41dc-88ad-5bfbbe556f13} TCPHandler: Code: 44. DB::Exception: Illegal column Const(UInt64). The number is not const or does not fit in UInt32. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsMultiStringFuzzySearch.h:91: DB::FunctionsMultiStringFuzzySearch>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000011139cb0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 15. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:29:43.745806 [ 21996 ] {57c9fe97-28da-49a4-9fde-05025b924374} executeQuery: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47470) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57131e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7423: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec8c11 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a5b77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:43.746506 [ 21996 ] {57c9fe97-28da-49a4-9fde-05025b924374} TCPHandler: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57131e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7423: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec8c11 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a5b77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:46.803124 [ 11801 ] {380e553b-a103-4bfb-a206-ac4984b7f3cd} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayEnumerateUniqRanked doesn't match: passed 0, should be at least 1.: While processing arrayEnumerateUniqRanked(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:104: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x0000000013202169 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:29:46.804352 [ 11801 ] {380e553b-a103-4bfb-a206-ac4984b7f3cd} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayEnumerateUniqRanked doesn't match: passed 0, should be at least 1.: While processing arrayEnumerateUniqRanked(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:104: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x0000000013202169 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:29:46.970872 [ 11801 ] {6143788c-f4fa-4470-bd32-f678990eaa4f} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked: At least one array should be passed: While processing arrayEnumerateUniqRanked(1). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:100: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e53ea in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:46.971860 [ 11801 ] {6143788c-f4fa-4470-bd32-f678990eaa4f} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked: At least one array should be passed: While processing arrayEnumerateUniqRanked(1). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:100: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e53ea in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.106873 [ 11801 ] {7b200db8-6ec3-4bcc-b51a-01a86034bd06} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked: clear_depth (2) can't be larger than max_array_depth (1): While processing arrayEnumerateUniqRanked(2, []). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(2,[]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, unsigned int&, unsigned int&) @ 0x00000000131e6028 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:108: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e556b in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.108006 [ 11801 ] {7b200db8-6ec3-4bcc-b51a-01a86034bd06} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked: clear_depth (2) can't be larger than max_array_depth (1): While processing arrayEnumerateUniqRanked(2, []). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, unsigned int&, unsigned int&) @ 0x00000000131e6028 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:108: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e556b in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.230910 [ 11801 ] {a16c9175-132d-492f-b894-301639856c51} executeQuery: Code: 36. DB::Exception: Incorrect argument 3 of function arrayEnumerateUniqRanked. Required depth '2' is larger than the array depth (1): While processing arrayEnumerateUniqRanked(2, [], 2). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(2,[],2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e5d84 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e52cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.231872 [ 11801 ] {a16c9175-132d-492f-b894-301639856c51} TCPHandler: Code: 36. DB::Exception: Incorrect argument 3 of function arrayEnumerateUniqRanked. Required depth '2' is larger than the array depth (1): While processing arrayEnumerateUniqRanked(2, [], 2). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e5d84 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e52cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.242594 [ 11801 ] {2a8b7692-7dd5-412a-9e14-7d8f1768e213} executeQuery: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked: clear_depth (2) can't be larger than max_array_depth (1): While processing arrayEnumerateUniqRanked(2, [], []). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(2,[],[]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, unsigned int&, unsigned int&) @ 0x00000000131e6028 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:108: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e556b in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.243440 [ 11801 ] {2a8b7692-7dd5-412a-9e14-7d8f1768e213} TCPHandler: Code: 36. DB::Exception: Incorrect arguments for function arrayEnumerateUniqRanked: clear_depth (2) can't be larger than max_array_depth (1): While processing arrayEnumerateUniqRanked(2, [], []). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, unsigned int&, unsigned int&) @ 0x00000000131e6028 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:108: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e556b in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.255476 [ 11801 ] {44920e7b-ecf8-44f3-be46-545302ae1e6c} executeQuery: Code: 36. DB::Exception: Incorrect argument 4 of function arrayEnumerateUniqRanked. Required depth '3' is larger than the array depth (1): While processing arrayEnumerateUniqRanked(2, [], [], 3). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(2,[],[],3);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e5d84 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e52cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.256481 [ 11801 ] {44920e7b-ecf8-44f3-be46-545302ae1e6c} TCPHandler: Code: 36. DB::Exception: Incorrect argument 4 of function arrayEnumerateUniqRanked. Required depth '3' is larger than the array depth (1): While processing arrayEnumerateUniqRanked(2, [], [], 3). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e5d84 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e52cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.267529 [ 11801 ] {99d83022-11c7-40df-bf1f-ddfb17af2ea6} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateUniqRanked. Required depth '2' is larger than the array depth (1): While processing arrayEnumerateUniqRanked([], 2). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([],2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e5d84 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e52cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.268439 [ 11801 ] {99d83022-11c7-40df-bf1f-ddfb17af2ea6} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateUniqRanked. Required depth '2' is larger than the array depth (1): While processing arrayEnumerateUniqRanked([], 2). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e5d84 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e52cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.280087 [ 11801 ] {d266a8ef-7e79-4449-98b8-e74f7d21f3d2} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateUniqRanked. Required depth '2' is larger than the array depth (1): While processing arrayEnumerateUniqRanked([], 2, []). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([],2,[]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e5d84 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e52cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.280969 [ 11801 ] {d266a8ef-7e79-4449-98b8-e74f7d21f3d2} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateUniqRanked. Required depth '2' is larger than the array depth (1): While processing arrayEnumerateUniqRanked([], 2, []). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e5d84 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e52cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.408004 [ 11801 ] {5184cc15-fe3e-4cdd-9ca1-38fdf72c62c3} executeQuery: Code: 36. DB::Exception: First argument of arrayEnumerateUniqRanked must be a positive integer: While processing arrayEnumerateUniqRanked(0, [], 0). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(0,[],0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e4ba2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.409069 [ 11801 ] {5184cc15-fe3e-4cdd-9ca1-38fdf72c62c3} TCPHandler: Code: 36. DB::Exception: First argument of arrayEnumerateUniqRanked must be a positive integer: While processing arrayEnumerateUniqRanked(0, [], 0). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e4ba2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.421118 [ 11801 ] {08a476ff-937c-4671-aa17-933a4a97fec3} executeQuery: Code: 36. DB::Exception: First argument of arrayEnumerateUniqRanked must be a positive integer: While processing arrayEnumerateUniqRanked(0, 0, 0). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(0,0,0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e4ba2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.422259 [ 11801 ] {08a476ff-937c-4671-aa17-933a4a97fec3} TCPHandler: Code: 36. DB::Exception: First argument of arrayEnumerateUniqRanked must be a positive integer: While processing arrayEnumerateUniqRanked(0, 0, 0). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e4ba2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.553552 [ 11801 ] {58e40865-943a-45f9-a235-25725bc383b9} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 type of function arrayEnumerateUniqRanked. Expected an Array, got UInt8: While processing arrayEnumerateUniqRanked(1, 1, 1). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1,1,1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x00000000131e58c8 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:47: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e4d67 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.554426 [ 11801 ] {58e40865-943a-45f9-a235-25725bc383b9} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 type of function arrayEnumerateUniqRanked. Expected an Array, got UInt8: While processing arrayEnumerateUniqRanked(1, 1, 1). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x00000000131e58c8 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:47: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e4d67 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.678862 [ 11801 ] {80c8cf63-493f-43c2-8f65-dafed1c623f9} executeQuery: Code: 36. DB::Exception: Incorrect argument 3 of function arrayEnumerateDenseRanked. Expected a positive integer: While processing arrayEnumerateDenseRanked(1, [10, 20, 10, 30], 0). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(1, [10,20,10,30], 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e5b4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e5187 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e0393 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.679706 [ 11801 ] {80c8cf63-493f-43c2-8f65-dafed1c623f9} TCPHandler: Code: 36. DB::Exception: Incorrect argument 3 of function arrayEnumerateDenseRanked. Expected a positive integer: While processing arrayEnumerateDenseRanked(1, [10, 20, 10, 30], 0). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e5b4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e5187 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e0393 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.800165 [ 11801 ] {1da9e57d-e109-4fec-a9db-71387ba58297} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [[7, 8, 9, 10], [10, 11, 12]], 2, [[14, 15, 16], [17, 18, 19], [20], [21]], 2). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [[7,8,9,10],[10,11,12]], 2, [[14,15,16],[17,18,19],[20],[21]], 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013201644 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:29:47.801127 [ 11801 ] {1da9e57d-e109-4fec-a9db-71387ba58297} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [[7, 8, 9, 10], [10, 11, 12]], 2, [[14, 15, 16], [17, 18, 19], [20], [21]], 2). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013201644 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:29:47.812943 [ 11801 ] {482e7045-c64a-4703-902d-207030317616} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 2], 1, ['a', 'b', 'c', 'd'], 1). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [1,2], 1, ['a', 'b', 'c', 'd'],1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013201644 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:29:47.813805 [ 11801 ] {482e7045-c64a-4703-902d-207030317616} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 2], 1, ['a', 'b', 'c', 'd'], 1). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013201644 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:29:47.824762 [ 11801 ] {8a768720-3995-49be-a790-79b7de8eab7e} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 2], 1, [14, 15, 16, 17, 18, 19], 1). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [1,2], 1, [14,15,16,17,18,19], 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013201644 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:29:47.825613 [ 11801 ] {8a768720-3995-49be-a790-79b7de8eab7e} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 2], 1, [14, 15, 16, 17, 18, 19], 1). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013201644 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:29:47.837083 [ 11801 ] {50dd0943-dd97-4799-8b1b-cce73619153a} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [14, 15, 16, 17, 18, 19], 1, [1, 2], 1). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [14,15,16,17,18,19], 1, [1,2], 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013201644 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:29:47.837942 [ 11801 ] {50dd0943-dd97-4799-8b1b-cce73619153a} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [14, 15, 16, 17, 18, 19], 1, [1, 2], 1). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013201644 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:29:47.848320 [ 11801 ] {78fc8683-0eea-414a-ad2b-623c4c91a65d} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 1, 1, 1, 1, 1], 1, [1, 1], 1). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [1,1,1,1,1,1], 1, [1,1], 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013201644 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:29:47.849246 [ 11801 ] {78fc8683-0eea-414a-ad2b-623c4c91a65d} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 1, 1, 1, 1, 1], 1, [1, 1], 1). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013201644 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:29:47.867871 [ 11801 ] {b05909d9-41c1-488e-98b4-d51a453edfbe} executeQuery: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 1, [1, 1], 1). (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1], 1, [1,1], 1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013201644 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:29:47.868777 [ 11801 ] {b05909d9-41c1-488e-98b4-d51a453edfbe} TCPHandler: Code: 190. DB::Exception: Lengths and effective depths of all arrays passed to arrayEnumerateUniqRanked must be equal.: While processing arrayEnumerateUniqRanked(1, [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 1, [1, 1], 1). (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.h:193: DB::FunctionArrayEnumerateRankedExtended::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000013201644 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:29:47.953713 [ 11801 ] {e1e26856-a9b0-48ea-bb73-9980df41c884} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateUniqRanked. Required depth '3' is larger than the array depth (1): While processing arrayEnumerateUniqRanked([1, 2], 3, 4, 5). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([1,2], 3, 4, 5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e5d84 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e52cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.954903 [ 11801 ] {e1e26856-a9b0-48ea-bb73-9980df41c884} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateUniqRanked. Required depth '3' is larger than the array depth (1): While processing arrayEnumerateUniqRanked([1, 2], 3, 4, 5). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e5d84 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e52cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.967673 [ 11801 ] {1af8b4d8-d70f-4ce0-958a-272f12771cf2} executeQuery: Code: 36. DB::Exception: Incorrect argument 3 type of function arrayEnumerateUniqRanked. Expected an Array, got UInt8: While processing arrayEnumerateUniqRanked([1, 2], 1, 2). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([1,2], 1, 2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x00000000131e58c8 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:47: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e4d67 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.969154 [ 11801 ] {1af8b4d8-d70f-4ce0-958a-272f12771cf2} TCPHandler: Code: 36. DB::Exception: Incorrect argument 3 type of function arrayEnumerateUniqRanked. Expected an Array, got UInt8: While processing arrayEnumerateUniqRanked([1, 2], 1, 2). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x00000000131e58c8 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:47: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e4d67 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.982147 [ 11801 ] {a67e6e34-2332-4102-8238-cfc68a598e17} executeQuery: Code: 36. DB::Exception: Incorrect argument 3 type of function arrayEnumerateUniqRanked. Expected an Array, got UInt8: While processing arrayEnumerateUniqRanked([1, 2], 1, 3, 4, 5). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([1,2], 1, 3, 4, 5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x00000000131e58c8 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:47: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e4d67 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.983431 [ 11801 ] {a67e6e34-2332-4102-8238-cfc68a598e17} TCPHandler: Code: 36. DB::Exception: Incorrect argument 3 type of function arrayEnumerateUniqRanked. Expected an Array, got UInt8: While processing arrayEnumerateUniqRanked([1, 2], 1, 3, 4, 5). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x00000000131e58c8 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:47: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e4d67 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.996849 [ 11801 ] {1882c761-f82d-4722-b9f7-aba19b112060} executeQuery: Code: 36. DB::Exception: Incorrect argument 3 type of function arrayEnumerateUniqRanked. Expected an Array, got UInt8: While processing arrayEnumerateUniqRanked([1, 2], 1, 3, [4], 5). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked([1,2], 1, 3, [4], 5);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x00000000131e58c8 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:47: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e4d67 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:47.998073 [ 11801 ] {1882c761-f82d-4722-b9f7-aba19b112060} TCPHandler: Code: 36. DB::Exception: Incorrect argument 3 type of function arrayEnumerateUniqRanked. Expected an Array, got UInt8: While processing arrayEnumerateUniqRanked([1, 2], 1, 3, [4], 5). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x00000000131e58c8 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:47: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e4d67 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:48.030496 [ 11801 ] {64226672-c377-4483-b2bc-925e23e842ad} executeQuery: Code: 36. DB::Exception: First argument of arrayEnumerateUniqRanked must be a positive integer: While processing arrayEnumerateUniqRanked('wat', [1, 2]). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked('wat', [1,2]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e4ba2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:48.031292 [ 11801 ] {64226672-c377-4483-b2bc-925e23e842ad} TCPHandler: Code: 36. DB::Exception: First argument of arrayEnumerateUniqRanked must be a positive integer: While processing arrayEnumerateUniqRanked('wat', [1, 2]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e4ba2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:48.153740 [ 11801 ] {5fde0ac0-873e-47c4-870d-7e7ba0ddeaa7} executeQuery: Code: 36. DB::Exception: Incorrect argument 3 of function arrayEnumerateUniqRanked. Expected a positive integer: While processing arrayEnumerateUniqRanked(1, [1, 2], 'boom'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [1,2], 'boom');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e5b4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e5187 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:48.154754 [ 11801 ] {5fde0ac0-873e-47c4-870d-7e7ba0ddeaa7} TCPHandler: Code: 36. DB::Exception: Incorrect argument 3 of function arrayEnumerateUniqRanked. Expected a positive integer: While processing arrayEnumerateUniqRanked(1, [1, 2], 'boom'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e5b4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e5187 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:48.164867 [ 11801 ] {8fcf9c6f-8a28-4021-9db8-458fcec68ace} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateDenseRanked. Expected a positive integer: While processing arrayEnumerateDenseRanked(['\0'], -8363126). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(['\0'], -8363126);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e5b4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e5187 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e0393 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:48.165642 [ 11801 ] {8fcf9c6f-8a28-4021-9db8-458fcec68ace} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateDenseRanked. Expected a positive integer: While processing arrayEnumerateDenseRanked(['\0'], -8363126). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e5b4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e5187 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e0393 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:48.284053 [ 11801 ] {e1beea36-dea6-4445-a755-79177c98bbf6} executeQuery: Code: 36. DB::Exception: First argument of arrayEnumerateDenseRanked must be a positive integer: While processing arrayEnumerateDenseRanked(-10, ['\0'], -8363126). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(-10, ['\0'], -8363126);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e4ba2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e0393 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:48.285014 [ 11801 ] {e1beea36-dea6-4445-a755-79177c98bbf6} TCPHandler: Code: 36. DB::Exception: First argument of arrayEnumerateDenseRanked must be a positive integer: While processing arrayEnumerateDenseRanked(-10, ['\0'], -8363126). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e4ba2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e0393 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:48.295733 [ 11801 ] {e16eee04-69c4-4ac3-8c45-16530e237796} executeQuery: Code: 36. DB::Exception: Incorrect argument 3 of function arrayEnumerateDenseRanked. Expected a positive integer: While processing arrayEnumerateDenseRanked(1, ['\0'], -8363126). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(1, ['\0'], -8363126);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e5b4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e5187 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e0393 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:48.296490 [ 11801 ] {e16eee04-69c4-4ac3-8c45-16530e237796} TCPHandler: Code: 36. DB::Exception: Incorrect argument 3 of function arrayEnumerateDenseRanked. Expected a positive integer: While processing arrayEnumerateDenseRanked(1, ['\0'], -8363126). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e5b4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e5187 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e0393 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:48.306403 [ 11801 ] {c86b0e98-619f-4e2d-bb88-7cb2d7a72896} executeQuery: Code: 36. DB::Exception: First argument of arrayEnumerateDenseRanked must be a positive integer: While processing arrayEnumerateDenseRanked(-101, ['\0']). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(-101, ['\0']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e4ba2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e0393 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:48.307200 [ 11801 ] {c86b0e98-619f-4e2d-bb88-7cb2d7a72896} TCPHandler: Code: 36. DB::Exception: First argument of arrayEnumerateDenseRanked must be a positive integer: While processing arrayEnumerateDenseRanked(-101, ['\0']). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e4ba2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e0393 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:48.317069 [ 11801 ] {10143dc6-e6ea-4d7a-8ebf-b7394e0024ab} executeQuery: Code: 36. DB::Exception: First argument of arrayEnumerateDenseRanked must be a positive integer: While processing arrayEnumerateDenseRanked(1.1, [10, 20, 10, 30]). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked(1.1, [10,20,10,30]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e4ba2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e0393 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:48.317869 [ 11801 ] {10143dc6-e6ea-4d7a-8ebf-b7394e0024ab} TCPHandler: Code: 36. DB::Exception: First argument of arrayEnumerateDenseRanked must be a positive integer: While processing arrayEnumerateDenseRanked(1.1, [10, 20, 10, 30]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&) @ 0x000000000b8eecd3 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:31: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e4ba2 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e0393 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:48.327549 [ 11801 ] {f4d08bed-4b5a-447c-b1e5-070febcd0c59} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateDenseRanked. Expected a positive integer: While processing arrayEnumerateDenseRanked([10, 20, 10, 30], 0.4). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked([10,20,10,30], 0.4);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e5b4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e5187 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e0393 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:48.341620 [ 11801 ] {f4d08bed-4b5a-447c-b1e5-070febcd0c59} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateDenseRanked. Expected a positive integer: While processing arrayEnumerateDenseRanked([10, 20, 10, 30], 0.4). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e5b4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e5187 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e0393 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:48.353280 [ 11801 ] {9cb5c258-db23-4daa-9380-5003aaffa6d4} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateDenseRanked. Expected a positive integer: While processing arrayEnumerateDenseRanked([10, 20, 10, 30], 1.8). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateDenseRanked([10,20,10,30], 1.8);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e5b4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e5187 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e0393 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:48.354313 [ 11801 ] {9cb5c258-db23-4daa-9380-5003aaffa6d4} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 of function arrayEnumerateDenseRanked. Expected a positive integer: While processing arrayEnumerateDenseRanked([10, 20, 10, 30], 1.8). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, char const*&) @ 0x00000000131e5b4c in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:79: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e5187 in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000131e0393 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:48.364913 [ 11801 ] {6320fafd-079d-4217-860c-d47a41428170} executeQuery: Code: 36. DB::Exception: Incorrect argument 3 of function arrayEnumerateUniqRanked. Required depth '1000000000' is larger than the array depth (1): While processing arrayEnumerateUniqRanked(1, [], 1000000000). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47506) (comment: 00909_arrayEnumerateUniq.sql) (in query: SELECT arrayEnumerateUniqRanked(1, [], 1000000000);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e5d84 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e52cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:48.365944 [ 11801 ] {6320fafd-079d-4217-860c-d47a41428170} TCPHandler: Code: 36. DB::Exception: Incorrect argument 3 of function arrayEnumerateUniqRanked. Required depth '1000000000' is larger than the array depth (1): While processing arrayEnumerateUniqRanked(1, [], 1000000000). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, unsigned long&, unsigned long&) @ 0x00000000131e5d84 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayEnumerateRanked.cpp:87: DB::getArraysDepths(std::vector> const&, char const*) @ 0x00000000131e52cb in /usr/bin/clickhouse 7. /build/src/Functions/array/arrayEnumerateRanked.h:112: DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x00000000132021f3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:29:48.433190 [ 22004 ] {a053f5d6-3a0f-4020-bc31-01f48dc1ef95} executeQuery: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47578) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57131e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7423: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec8c11 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a5b77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:48.433877 [ 22004 ] {a053f5d6-3a0f-4020-bc31-01f48dc1ef95} TCPHandler: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57131e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7423: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec8c11 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a5b77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:52.998582 [ 22004 ] {574dfe25-079b-4806-a31e-84bb37d469e7} executeQuery: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48774) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57131e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7423: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec8c11 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a5b77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:52.999151 [ 22004 ] {574dfe25-079b-4806-a31e-84bb37d469e7} TCPHandler: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57131e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7423: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec8c11 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a5b77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:55.856045 [ 22004 ] {12af67eb-12f3-4d6d-a764-343427c669dc} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48836) (comment: 00909_kill_not_initialized_query.sh) (in query: SELECT sum(1) FROM cannot_kill_query WHERE NOT ignore(sleep(1)) SETTINGS max_threads = 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b3b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:55.858615 [ 22004 ] {12af67eb-12f3-4d6d-a764-343427c669dc} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b3b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:57.599898 [ 11801 ] {990f9dc7-6433-4446-a511-5d14dab40704} executeQuery: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48912) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57131e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7423: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec8c11 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a5b77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:29:57.600498 [ 11801 ] {990f9dc7-6433-4446-a511-5d14dab40704} TCPHandler: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57131e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7423: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec8c11 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a5b77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:30:02.192518 [ 22004 ] {6c282bc4-852e-492f-b42d-3b6048db8be5} executeQuery: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53640) (comment: 01034_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57131e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7423: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec8c11 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a5b77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:30:02.193102 [ 22004 ] {6c282bc4-852e-492f-b42d-3b6048db8be5} TCPHandler: Code: 36. DB::Exception: Tables have different ordering. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57131e in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:7423: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001dec8c11 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:7782: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001d8a5b77 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:30:18.481895 [ 8668 ] {86d9c6c6-1e7b-46f3-b8b0-329a3aae7b49} executeQuery: Code: 60. DB::Exception: Table test_56lptrvm.test1_00843 does not exist. Maybe you meant test2_00843?. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57304) (comment: 00843_optimize_predicate_and_rename_table.sql) (in query: SELECT * FROM view_00843;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb52113 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc8ab3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageView.cpp:169: DB::StorageView::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001da268ea in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:30:18.482647 [ 8668 ] {86d9c6c6-1e7b-46f3-b8b0-329a3aae7b49} TCPHandler: Code: 60. DB::Exception: Table test_56lptrvm.test1_00843 does not exist. Maybe you meant test2_00843?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb52113 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:41: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc8ab3 in /usr/bin/clickhouse 16. /build/src/Storages/StorageView.cpp:169: DB::StorageView::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001da268ea in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:30:20.613349 [ 21999 ] {8bb48544-0688-4adf-bd68-382af5e056a4} executeQuery: Code: 160. DB::Exception: The maximum sleep time is 3000000 microseconds. Requested: 4295.967296: while executing 'FUNCTION sleep(4295.967296 :: 0) -> sleep(4295.967296) UInt8 : 1'. (TOO_SLOW) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59672) (comment: 00833_sleep_overflow.sql) (in query: SELECT sleep(4295.967296);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, double&) @ 0x000000001254122c in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:116: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x0000000012540cdd in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:94: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012540697 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 2024.12.17 01:30:20.614454 [ 21999 ] {8bb48544-0688-4adf-bd68-382af5e056a4} TCPHandler: Code: 160. DB::Exception: The maximum sleep time is 3000000 microseconds. Requested: 4295.967296: while executing 'FUNCTION sleep(4295.967296 :: 0) -> sleep(4295.967296) UInt8 : 1'. (TOO_SLOW), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, double&) @ 0x000000001254122c in /usr/bin/clickhouse 6. /build/src/Functions/sleep.h:116: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::execute(std::vector> const&, std::shared_ptr const&, bool) const @ 0x0000000012540cdd in /usr/bin/clickhouse 7. /build/src/Functions/sleep.h:94: DB::FunctionSleep<(DB::FunctionSleepVariant)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012540697 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 2024.12.17 01:30:22.436166 [ 21981 ] {dbebda73-6c70-4d71-8c9d-fb47ee44d7a5} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/store/805/805facd6-05ed-4c71-893e-8e217e45318b//data.TSV doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59738) (comment: 00832_storage_file_lock.sql) (in query: SELECT * FROM file;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:30:22.437200 [ 21981 ] {dbebda73-6c70-4d71-8c9d-fb47ee44d7a5} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/store/805/805facd6-05ed-4c71-893e-8e217e45318b//data.TSV doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:30:38.211491 [ 21981 ] {2640bfa2-9e7b-4d06-961f-165c3af0eb63} executeQuery: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal128, expected const Integer, got UInt64: While processing toDecimal128([], rowNumberInBlock()): While processing (SELECT toDecimal128([], rowNumberInBlock())) AS _subquery725. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41626) (comment: 00811_garbage.sql) (in query: SELECT ( SELECT toDecimal128([], rowNumberInBlock()) ) , lcm('', [[(CAST(('>A') AS String))]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e40 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1861: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ba905cc in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ba90420 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000ba903dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000ba9039d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000ba9035d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000ba90325 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b266abe in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b26577d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ba9015b in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ba737fa in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 2024.12.17 01:30:38.212646 [ 21981 ] {2640bfa2-9e7b-4d06-961f-165c3af0eb63} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal128, expected const Integer, got UInt64: While processing toDecimal128([], rowNumberInBlock()): While processing (SELECT toDecimal128([], rowNumberInBlock())) AS _subquery725. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e40 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1861: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ba905cc in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ba90420 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000ba903dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000ba9039d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000ba9035d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000ba90325 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b266abe in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b26577d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ba9015b in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ba737fa in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 2024.12.17 01:30:40.382293 [ 21993 ] {db1a2bce-2767-47cc-a71f-1ee59c4fbfe5} executeQuery: Code: 43. DB::Exception: Elements of array of second argument of function roundDown must be numeric type.: While processing 1 AS x, roundDown(x, []). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41730) (comment: 00805_round_down.sql) (in query: SELECT 1 as x, roundDown(x, []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:664: DB::FunctionRoundDown::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000c2ed22c in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:30:40.383518 [ 21993 ] {db1a2bce-2767-47cc-a71f-1ee59c4fbfe5} TCPHandler: Code: 43. DB::Exception: Elements of array of second argument of function roundDown must be numeric type.: While processing 1 AS x, roundDown(x, []). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:664: DB::FunctionRoundDown::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000c2ed22c in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:30:40.397534 [ 21993 ] {4f643d52-5e67-401b-8818-5bd4353ee657} executeQuery: Code: 44. DB::Exception: Argument at index 1 for function roundDown must be constant. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41730) (comment: 00805_round_down.sql) (in query: SELECT 1 as x, roundDown(x, emptyArrayUInt8());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5def0c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeaac5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:30:40.399159 [ 21993 ] {4f643d52-5e67-401b-8818-5bd4353ee657} TCPHandler: Code: 44. DB::Exception: Argument at index 1 for function roundDown must be constant. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5def0c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeaac5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:30:40.409251 [ 21993 ] {26e74ed3-e0c7-4176-b8f2-e2ae81a5f611} executeQuery: Code: 44. DB::Exception: Argument at index 1 for function roundDown must be constant. (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41730) (comment: 00805_round_down.sql) (in query: SELECT roundDown(number, [number]) FROM system.numbers LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5def0c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeaac5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:30:40.409979 [ 21993 ] {26e74ed3-e0c7-4176-b8f2-e2ae81a5f611} TCPHandler: Code: 44. DB::Exception: Argument at index 1 for function roundDown must be constant. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x000000000b5def0c in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:124: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeaac5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 13. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:30:41.635215 [ 11801 ] {0dc96fa6-fb18-4fd6-b364-5c13f1bc393c} executeQuery: Code: 432. DB::Exception: Unknown codec family: adssadads. (UNKNOWN_CODEC) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47518) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE bad_codec(id UInt64 CODEC(adssadads)) ENGINE = MergeTree() order by tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dbfb7 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b1f7a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e9d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e5d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e1d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1de8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b08de in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7848 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:30:41.636098 [ 11801 ] {0dc96fa6-fb18-4fd6-b364-5c13f1bc393c} TCPHandler: Code: 432. DB::Exception: Unknown codec family: adssadads. (UNKNOWN_CODEC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dbfb7 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b1f7a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e9d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e5d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e1d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1de8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b08de in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7848 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:30:41.758679 [ 11801 ] {fbd43064-f390-4d62-a59e-412ea5b8e396} executeQuery: Code: 431. DB::Exception: ZSTD codec must have 1 or 2 parameters, given 4. (ILLEGAL_SYNTAX_FOR_CODEC_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47518) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE too_many_params(id UInt64 CODEC(ZSTD(2,3,4,5))) ENGINE = MergeTree() order by tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91bd33 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecZSTD.cpp:118: DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&) const @ 0x000000001b7eb4f3 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x000000001b7eb3dd in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x000000001b7eb39d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b7eb35d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b7eb325 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b7e645e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b7e641d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dcfc5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7dcf88 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7dcf45 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7dcf05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7dceb0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e2769 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7de7a5 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dc010 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b1f7a in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e9d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e5d in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e1d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1de8 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b08de in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7848 in /usr/bin/clickhouse 2024.12.17 01:30:41.759787 [ 11801 ] {fbd43064-f390-4d62-a59e-412ea5b8e396} TCPHandler: Code: 431. DB::Exception: ZSTD codec must have 1 or 2 parameters, given 4. (ILLEGAL_SYNTAX_FOR_CODEC_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91bd33 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecZSTD.cpp:118: DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&) const @ 0x000000001b7eb4f3 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x000000001b7eb3dd in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x000000001b7eb39d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b7eb35d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b7eb325 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b7e645e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b7e641d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dcfc5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7dcf88 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7dcf45 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7dcf05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7dceb0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e2769 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7de7a5 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dc010 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b1f7a in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e9d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e5d in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e1d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1de8 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b08de in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7848 in /usr/bin/clickhouse 2024.12.17 01:30:41.877710 [ 11801 ] {423bb475-e663-4ec3-857d-0e5646e8136c} executeQuery: Code: 378. DB::Exception: Compression codec LZ4 cannot have arguments. (DATA_TYPE_CANNOT_HAVE_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47518) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE params_when_no_params(id UInt64 CODEC(LZ4(1))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:160: DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_0::operator()(std::shared_ptr const&) const @ 0x000000001b7dd5c8 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function ()>)::$_0&>()(std::declval const&>())) std::__invoke[abi:v15000], std::function ()>)::$_0&, std::shared_ptr const&>(DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_0&, std::shared_ptr const&) @ 0x000000001b7dd51d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function ()>)::$_0&, std::shared_ptr const&>(DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_0&, std::shared_ptr const&) @ 0x000000001b7dd4dd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function ()>)::$_0, std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b7dd49d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl, std::function ()>)::$_0, std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b7dd468 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b7e645e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b7e641d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dcfc5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7dcf88 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7dcf45 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7dcf05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7dceb0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e2769 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7de7a5 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dc010 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b1f7a in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e9d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e5d in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e1d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1de8 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b08de in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7848 in /usr/bin/clickhouse 2024.12.17 01:30:41.878847 [ 11801 ] {423bb475-e663-4ec3-857d-0e5646e8136c} TCPHandler: Code: 378. DB::Exception: Compression codec LZ4 cannot have arguments. (DATA_TYPE_CANNOT_HAVE_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:160: DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_0::operator()(std::shared_ptr const&) const @ 0x000000001b7dd5c8 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function ()>)::$_0&>()(std::declval const&>())) std::__invoke[abi:v15000], std::function ()>)::$_0&, std::shared_ptr const&>(DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_0&, std::shared_ptr const&) @ 0x000000001b7dd51d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function ()>)::$_0&, std::shared_ptr const&>(DB::CompressionCodecFactory::registerSimpleCompressionCodec(String const&, std::optional, std::function ()>)::$_0&, std::shared_ptr const&) @ 0x000000001b7dd4dd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function ()>)::$_0, std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b7dd49d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl, std::function ()>)::$_0, std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b7dd468 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b7e645e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b7e641d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dcfc5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7dcf88 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7dcf45 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7dcf05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7dceb0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e2769 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7de7a5 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dc010 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b1f7a in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e9d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e5d in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e1d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1de8 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b08de in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7848 in /usr/bin/clickhouse 2024.12.17 01:30:41.888584 [ 11801 ] {0deaa4b5-e001-48d6-a55a-dbf047ec4100} executeQuery: Code: 432. DB::Exception: Unknown codec family: MULTIPLE. (UNKNOWN_CODEC) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47518) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE codec_multiple_direct_specification_1(id UInt64 CODEC(MULTIPLE(LZ4, ZSTD))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dbfb7 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b1f7a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e9d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e5d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e1d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1de8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b08de in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7848 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:30:41.889351 [ 11801 ] {0deaa4b5-e001-48d6-a55a-dbf047ec4100} TCPHandler: Code: 432. DB::Exception: Unknown codec family: MULTIPLE. (UNKNOWN_CODEC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dbfb7 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b1f7a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e9d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e5d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e1d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1de8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b08de in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7848 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:30:41.897751 [ 11801 ] {868c90b3-a59f-4de8-b41a-f59021c216bb} executeQuery: Code: 432. DB::Exception: Unknown codec family: multiple. (UNKNOWN_CODEC) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47518) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE codec_multiple_direct_specification_2(id UInt64 CODEC(multiple(LZ4, ZSTD))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dbfb7 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b1f7a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e9d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e5d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e1d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1de8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b08de in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7848 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:30:41.898540 [ 11801 ] {868c90b3-a59f-4de8-b41a-f59021c216bb} TCPHandler: Code: 432. DB::Exception: Unknown codec family: multiple. (UNKNOWN_CODEC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dbfb7 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b1f7a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e9d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e5d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e1d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1de8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b08de in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7848 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:30:42.023463 [ 11801 ] {3c3eef8d-499e-4b41-bfb7-2346450b288e} executeQuery: Code: 433. DB::Exception: Delta value for delta codec can be 1, 2, 4 or 8, given 3. (ILLEGAL_CODEC_PARAMETER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47518) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE delta_bad_params1(id UInt64 CODEC(Delta(3))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bba33 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:211: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7f1475 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f1128 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f10e5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f10a5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7f104d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e2769 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7de7a5 in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dc010 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b1f7a in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e9d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e5d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e1d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1de8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 21. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 23. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b08de in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7848 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:30:42.024509 [ 11801 ] {3c3eef8d-499e-4b41-bfb7-2346450b288e} TCPHandler: Code: 433. DB::Exception: Delta value for delta codec can be 1, 2, 4 or 8, given 3. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bba33 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:211: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7f1475 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f1128 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f10e5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f10a5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7f104d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e2769 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7de7a5 in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dc010 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b1f7a in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e9d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e5d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e1d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1de8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 21. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 23. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b08de in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7848 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:30:42.034681 [ 11801 ] {7ea9c21c-e346-4e7e-9f21-d42f158dec26} executeQuery: Code: 433. DB::Exception: Delta value for delta codec can be 1, 2, 4 or 8, given 16. (ILLEGAL_CODEC_PARAMETER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47518) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE delta_bad_params2(id UInt64 CODEC(Delta(16))) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bba33 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:211: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7f1475 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f1128 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f10e5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f10a5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7f104d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e2769 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7de7a5 in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dc010 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b1f7a in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e9d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e5d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e1d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1de8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 21. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 23. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b08de in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7848 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:30:42.035523 [ 11801 ] {7ea9c21c-e346-4e7e-9f21-d42f158dec26} TCPHandler: Code: 433. DB::Exception: Delta value for delta codec can be 1, 2, 4 or 8, given 16. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bba33 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:211: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7f1475 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f1128 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f10e5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f10a5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7f104d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e2769 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7de7a5 in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dc010 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b1f7a in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e9d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e5d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e1d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1de8 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 21. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 23. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b08de in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7848 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:30:42.649560 [ 11801 ] {1085eb3a-834e-4303-a025-95b945efccdf} executeQuery: Code: 36. DB::Exception: Codec Delta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type FixedString(12). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47518) (comment: 00804_test_custom_compression_codecs.sql) (in query: CREATE TABLE compression_codec_multiple_more_types ( id Decimal128(13) CODEC(ZSTD, LZ4, ZSTD, ZSTD, Delta(2), Delta(4), Delta(1), LZ4HC), data FixedString(12) CODEC(ZSTD, ZSTD, Delta, Delta, Delta, NONE, NONE, NONE, LZ4HC), ddd Nested (age UInt8, Name String) CODEC(LZ4, LZ4HC, NONE, NONE, NONE, ZSTD, Delta(8)) ) ENGINE = MergeTree() ORDER BY tuple();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:185: DB::(anonymous namespace)::getDeltaBytesSize(DB::IDataType const*) @ 0x000000001b7f1749 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionCodecDelta.cpp:216: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7f14f9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f1128 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f10e5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f10a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7f104d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e2769 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7de7a5 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dc010 in /usr/bin/clickhouse 15. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b1f7a in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e9d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e5d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e1d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1de8 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 23. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 24. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b08de in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7848 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:30:42.650742 [ 11801 ] {1085eb3a-834e-4303-a025-95b945efccdf} TCPHandler: Code: 36. DB::Exception: Codec Delta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type FixedString(12). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecDelta.cpp:185: DB::(anonymous namespace)::getDeltaBytesSize(DB::IDataType const*) @ 0x000000001b7f1749 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionCodecDelta.cpp:216: DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7f14f9 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000] const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f1128 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&, DB::IDataType const*>(DB::registerCodecDelta(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f10e5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7f10a5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7f104d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e2769 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7de7a5 in /usr/bin/clickhouse 14. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dc010 in /usr/bin/clickhouse 15. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b1f7a in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e9d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e5d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e1d in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1de8 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 22. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 23. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 24. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b08de in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterCreateQuery.cpp:635: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001c7e7848 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterCreateQuery.cpp:693: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001c7e8028 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterCreateQuery.cpp:1200: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7ef144 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:30:44.075228 [ 21991 ] {0339d5b6-1678-4dc4-ae7d-f9ca90f41dc7} executeQuery: Code: 432. DB::Exception: Unknown codec family: gbdgkjsdh. (UNKNOWN_CODEC) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47592) (comment: 00804_test_alter_compression_codecs.sql) (in query: ALTER TABLE alter_bad_codec ADD COLUMN alter_column DateTime DEFAULT '2019-01-01 00:00:00' CODEC(gbdgkjsdh);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dbfb7 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b1f7a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e9d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e5d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e1d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1de8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b08de in /usr/bin/clickhouse 17. /build/src/Storages/AlterCommands.cpp:1104: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58cbb3 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:30:44.075970 [ 21991 ] {0339d5b6-1678-4dc4-ae7d-f9ca90f41dc7} TCPHandler: Code: 432. DB::Exception: Unknown codec family: gbdgkjsdh. (UNKNOWN_CODEC), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Compression/CompressionFactory.cpp:120: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dbfb7 in /usr/bin/clickhouse 7. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b1f7a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e9d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e5d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e1d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1de8 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 14. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 15. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 16. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b08de in /usr/bin/clickhouse 17. /build/src/Storages/AlterCommands.cpp:1104: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58cbb3 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:30:44.206576 [ 21991 ] {a8500ec9-c325-4ff8-a098-b5323b3045e6} executeQuery: Code: 433. DB::Exception: ZSTD codec can't have level more than 22, given 100. (ILLEGAL_CODEC_PARAMETER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47592) (comment: 00804_test_alter_compression_codecs.sql) (in query: ALTER TABLE alter_bad_codec ADD COLUMN alter_column DateTime DEFAULT '2019-01-01 00:00:00' CODEC(ZSTD(100));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&&, int&) @ 0x000000001b7ed0ac in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecZSTD.cpp:129: DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&) const @ 0x000000001b7eb726 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x000000001b7eb3dd in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x000000001b7eb39d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b7eb35d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b7eb325 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b7e645e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b7e641d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dcfc5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7dcf88 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7dcf45 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7dcf05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7dceb0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e2769 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7de7a5 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dc010 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b1f7a in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e9d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e5d in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e1d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1de8 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b08de in /usr/bin/clickhouse 31. /build/src/Storages/AlterCommands.cpp:1104: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58cbb3 in /usr/bin/clickhouse 2024.12.17 01:30:44.207698 [ 21991 ] {a8500ec9-c325-4ff8-a098-b5323b3045e6} TCPHandler: Code: 433. DB::Exception: ZSTD codec can't have level more than 22, given 100. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&&, int&) @ 0x000000001b7ed0ac in /usr/bin/clickhouse 6. /build/src/Compression/CompressionCodecZSTD.cpp:129: DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0::operator()(std::shared_ptr const&) const @ 0x000000001b7eb726 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x000000001b7eb3dd in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call const&>(DB::registerCodecZSTD(DB::CompressionCodecFactory&)::$_0&, std::shared_ptr const&) @ 0x000000001b7eb39d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b7eb35d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b7eb325 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b7e645e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b7e641d in /usr/bin/clickhouse 13. /build/src/Compression/CompressionFactory.cpp:148: DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dcfc5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, std::function (std::shared_ptr const&)>)::$_0&>()(std::declval const&>(), std::declval())) std::__invoke[abi:v15000], std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7dcf88 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*>(DB::CompressionCodecFactory::registerCompressionCodec(String const&, std::optional, std::function (std::shared_ptr const&)>)::$_0&, std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7dcf45 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) @ 0x000000001b7dcf05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001b7dceb0 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&, DB::IDataType const*)>::operator()[abi:v15000](std::shared_ptr const&, DB::IDataType const*&&) const @ 0x000000001b7e2769 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&, DB::IDataType const*)>::operator()(std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7de7a5 in /usr/bin/clickhouse 20. /build/src/Compression/CompressionFactory.cpp:122: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001b7dc010 in /usr/bin/clickhouse 21. /build/src/Compression/CompressionFactoryAdditions.cpp:135: auto DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001c8b1f7a in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&, std::shared_ptr const&, bool, bool, bool) const::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e9d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&>(DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e5d in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1e1d in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001c8b1de8 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 30. /build/src/Compression/CompressionFactoryAdditions.cpp:146: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001c8b08de in /usr/bin/clickhouse 31. /build/src/Storages/AlterCommands.cpp:1104: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d58cbb3 in /usr/bin/clickhouse 2024.12.17 01:31:00.716927 [ 21995 ] {c3ab3f8c-d48a-4872-a685-be61d3db3e8f} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:00.959064 [ 21995 ] {8a79737a-83b5-46cc-beee-1c254cd40081} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:01.027106 [ 21995 ] {bcac5527-cb1f-47cf-815e-bd24aa687699} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:01.141269 [ 21995 ] {87800435-01e6-46d4-86af-8679d5c1c177} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:01.199336 [ 21995 ] {a6db0031-aa90-46ef-940e-0c7bd63e2886} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:01.312228 [ 21995 ] {14ea340d-aefe-4c04-985c-06148425c74b} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:01.436108 [ 21995 ] {9d245601-7109-49b5-98a8-faa0fe4f833e} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:01.544887 [ 21995 ] {dadd6302-2f85-43dd-ab1e-cfdd221bc02d} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:01.668841 [ 21995 ] {0c0c1162-9fca-4d76-973a-6583b03a15d4} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:01.795872 [ 21995 ] {263c7dff-e318-4417-9958-d5c20a90c58e} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:01.860730 [ 21995 ] {a36077c1-17f4-4688-9b8a-7a3746738d6a} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:01.979293 [ 21995 ] {cbbf6cdf-e3f6-4f30-8b9b-881d025dc551} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:02.104874 [ 21995 ] {38e7e251-f73e-4ed0-b185-26a602e0165a} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:02.226646 [ 21995 ] {3abf17df-280b-4f1f-8d1d-96b800160571} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:02.347015 [ 21995 ] {27fbe7ec-4ea7-4831-a0a9-78689c5c82e2} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:02.470422 [ 21995 ] {92fb4af5-5100-4056-b435-3aa110eeead3} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:02.589778 [ 21995 ] {c75d7f32-649a-4328-9cc1-12007285aae6} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:02.702446 [ 21995 ] {349926a8-a33d-49a9-948d-58b8b69ff8e0} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:02.816330 [ 21995 ] {a33bbe92-890f-44e7-92a9-09b97262ee48} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:02.934812 [ 21995 ] {8dde6f2f-c762-421d-92a2-f29fbd6300ff} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:03.058994 [ 21995 ] {c9bd789c-e824-4f01-8b1f-2f6b730c240e} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:03.185629 [ 21995 ] {2689794e-9510-404a-bf04-b13092fc2191} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:03.305785 [ 21995 ] {fe1682eb-1d21-441f-b69f-ad5db09b2342} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:03.364245 [ 21995 ] {330727e5-60c9-417d-8393-9510c99ab8c7} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:03.492288 [ 21995 ] {dc6f8191-91d2-4711-a9e3-8da33a8371fa} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:03.607729 [ 21995 ] {41d2170c-eac1-45e2-8f37-8922661b7473} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:03.733261 [ 21995 ] {cafeab2d-447a-4dea-a595-2c471696c32e} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:03.861417 [ 21995 ] {7a69463d-ea58-410c-ad4f-81b33abf18d8} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:03.973697 [ 21995 ] {87c8ec9b-b637-4b34-b7dd-95a9928ad5d7} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:04.043811 [ 21995 ] {0c9b1655-2d7a-4262-bf48-e447a1c52d92} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:04.162365 [ 21995 ] {dd6bc1aa-80a7-4ffe-bffd-de0ef3182661} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:04.275950 [ 21995 ] {537dfbca-8489-4c61-8d40-ac2ac34b99bb} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:04.393293 [ 21995 ] {1c9f73c5-a74c-4810-8e06-357f1f3bd4ef} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:04.509501 [ 21995 ] {c55b57df-0095-4342-a7ae-7f6e0b243d7a} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:04.584500 [ 21995 ] {419638bb-26f4-4935-a199-ccde272ffc13} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:04.641886 [ 21995 ] {50284798-10da-48e0-adab-e84dd9da71d1} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:04.703474 [ 21995 ] {d7a5f221-2bb3-45db-9070-543c1fd441d0} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:04.845830 [ 21995 ] {360aa691-b9eb-4ce8-be80-a7267a757f66} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:04.960774 [ 21995 ] {55b2c7f7-85fb-452b-9fd3-d5602eef788e} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:05.075532 [ 21995 ] {e3ebf45b-9c2b-4653-8c92-d81dc4c15654} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:05.259572 [ 21995 ] {08bb1bf7-5b16-406d-9f49-4743e0195512} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:05.322193 [ 21999 ] {a00e5c5a-57d9-4e2d-a0ab-ecdbadabae8c} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing [CAST(CAST(NULL, 'String'), 'Date')]. (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cluster([(CAST(((CAST((NULL) AS String))) AS Date))], NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1f92be in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3831: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b78cba3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b78c65c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc842e9 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb7ccd in /usr/bin/clickhouse 24. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089ecb in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a5dd in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a6f2 in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionRemote.cpp:138: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a948957 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 29. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 30. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 2024.12.17 01:31:05.323741 [ 21999 ] {a00e5c5a-57d9-4e2d-a0ab-ecdbadabae8c} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing [CAST(CAST(NULL, 'String'), 'Date')]. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1f92be in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3831: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b78cba3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b78c65c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc842e9 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb7ccd in /usr/bin/clickhouse 24. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089ecb in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a5dd in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a6f2 in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionRemote.cpp:138: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a948957 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 29. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 30. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 2024.12.17 01:31:05.389956 [ 21995 ] {52ceeb90-7fb1-4042-b884-e2c36f2eae71} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:05.508172 [ 21995 ] {9e0250ed-9b0e-44fe-912e-dc19893e3c7b} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:05.625778 [ 21995 ] {316c8a17-7cac-4325-b114-6fdf9fd88487} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:05.692548 [ 21995 ] {327728a6-2ef3-484a-8044-0c170692b0a6} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:05.761757 [ 21999 ] {bd8e3eae-aefe-4bd2-b7b0-27314f1c6c12} executeQuery: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM odbc();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9beb48 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:05.763472 [ 21999 ] {bd8e3eae-aefe-4bd2-b7b0-27314f1c6c12} TCPHandler: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9beb48 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:05.820123 [ 21995 ] {000c9d63-897f-4285-836e-b968404b0424} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:05.910498 [ 21999 ] {53cfe7a9-5794-46b8-8370-558937994926} executeQuery: Code: 43. DB::Exception: Illegal type Tuple(String, UInt16) of argument of function simpleJSONExtractUInt: While processing visitParamExtractUInt(__getScalar('6543773033222374971_18151930693199767003') AS enn, _CAST(NULL, 'Nullable(UInt8)') AS tfa). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT visitParamExtractUInt(( SELECT '', 2368 ) AS enn, ( SELECT * FROM null() ) AS tfa);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch>, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001281d25d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedee3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:05.912399 [ 21999 ] {53cfe7a9-5794-46b8-8370-558937994926} TCPHandler: Code: 43. DB::Exception: Illegal type Tuple(String, UInt16) of argument of function simpleJSONExtractUInt: While processing visitParamExtractUInt(__getScalar('6543773033222374971_18151930693199767003') AS enn, _CAST(NULL, 'Nullable(UInt8)') AS tfa). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:109: DB::FunctionsStringSearch>, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001281d25d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:484: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedee3 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:05.947229 [ 21995 ] {e285125d-87ff-428f-8102-a9b7e21bbe4b} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:06.050855 [ 21999 ] {559dc3f2-4369-4adf-96cd-924e212f4240} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiMatchAllIndices doesn't match: passed 1, should be 2: While processing multiMatchAllIndices('%8MJVY'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM s3(multiMatchAllIndices('%8MJVY'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb7ccd in /usr/bin/clickhouse 21. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089ecb in /usr/bin/clickhouse 22. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a5dd in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a6f2 in /usr/bin/clickhouse 24. /build/src/Storages/StorageURL.cpp:1249: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x000000001da05cff in /usr/bin/clickhouse 25. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995c49 in /usr/bin/clickhouse 26. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 28. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 29. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:31:06.052485 [ 21999 ] {559dc3f2-4369-4adf-96cd-924e212f4240} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiMatchAllIndices doesn't match: passed 1, should be 2: While processing multiMatchAllIndices('%8MJVY'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb7ccd in /usr/bin/clickhouse 21. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089ecb in /usr/bin/clickhouse 22. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a5dd in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a6f2 in /usr/bin/clickhouse 24. /build/src/Storages/StorageURL.cpp:1249: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x000000001da05cff in /usr/bin/clickhouse 25. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995c49 in /usr/bin/clickhouse 26. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 28. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 29. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:31:06.068950 [ 21995 ] {9bd92ebe-5106-45ac-9506-e0e74620f94e} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:06.194379 [ 21995 ] {e069a8a9-54bf-4534-b2de-8e634ed6343d} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:06.212664 [ 21999 ] {8e4106ac-b2dd-4d95-b866-872b2874f7f4} executeQuery: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]): While processing (SELECT * FROM azureBlobStorage()) AS wcanw. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '4KK5pi.', [], (CAST(('\0') AS Date)), ( SELECT * FROM azureBlobStorage() ) AS wcanw, ( SELECT [8] ) AS bsqtnli, [( SELECT (CAST((( SELECT 'd=Mt! ', [(CAST(('') AS String))] ) AS xfa, ( SELECT hopStart([], '') ) AS dxpkj) AS String)), '+ H_?', locate(-227, ( SELECT toDecimal64OrNull([(CAST(('M@t') AS String))], -2191100) ) ) ) ];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [184]) @ 0x000000001a9e3e3e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:66: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e04ca in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e1f04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 31. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9be22 in /usr/bin/clickhouse 2024.12.17 01:31:06.214903 [ 21999 ] {8e4106ac-b2dd-4d95-b866-872b2874f7f4} TCPHandler: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]): While processing (SELECT * FROM azureBlobStorage()) AS wcanw. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [184]) @ 0x000000001a9e3e3e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:66: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e04ca in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e1f04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 31. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9be22 in /usr/bin/clickhouse 2024.12.17 01:31:06.224880 [ 21999 ] {661ff2f1-0d56-49c3-a9ef-c92d50874dd2} executeQuery: Code: 42. DB::Exception: Number of arguments for function flattenTuple doesn't match: passed 2, should be 1: While processing flattenTuple('', '|2-Wx'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT flattenTuple('', '|2-Wx');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:06.226982 [ 21999 ] {661ff2f1-0d56-49c3-a9ef-c92d50874dd2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function flattenTuple doesn't match: passed 2, should be 1: While processing flattenTuple('', '|2-Wx'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:06.273890 [ 21995 ] {2ebc3e10-1bce-4555-844e-6dc190ea6483} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:06.390971 [ 21999 ] {af192baf-ad84-4f39-bea3-a4a931911369} executeQuery: Code: 170. DB::Exception: Bad get: has Float64, requested String. (BAD_GET) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cluster('\0', 2.6316);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x000000000b78a4ac in /usr/bin/clickhouse 6. /build/src/Core/Field.h:890: auto& DB::Field::safeGet() @ 0x000000000b78a30d in /usr/bin/clickhouse 7. /build/src/Interpreters/evaluateConstantExpression.cpp:132: DB::evaluateConstantExpressionForDatabaseName(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a784 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:168: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a948d35 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:06.392547 [ 21999 ] {af192baf-ad84-4f39-bea3-a4a931911369} TCPHandler: Code: 170. DB::Exception: Bad get: has Float64, requested String. (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x000000000b78a4ac in /usr/bin/clickhouse 6. /build/src/Core/Field.h:890: auto& DB::Field::safeGet() @ 0x000000000b78a30d in /usr/bin/clickhouse 7. /build/src/Interpreters/evaluateConstantExpression.cpp:132: DB::evaluateConstantExpressionForDatabaseName(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a784 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:168: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a948d35 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:06.414898 [ 21995 ] {f47f04fe-1241-4a4d-8abf-a8bf22459933} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:06.515767 [ 21999 ] {c56b9d4e-3696-47c2-b432-d30f9873fb35} executeQuery: Code: 43. DB::Exception: First argument of function ngramSimHash must be String, got Float64: While processing ngramSimHash(4883794.00442). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ngramSimHash(4883794.00442);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringHash.h:60: DB::FunctionsStringHash, DB::NameNgramSimHash, true, false>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c3549d3 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:06.517531 [ 21999 ] {c56b9d4e-3696-47c2-b432-d30f9873fb35} TCPHandler: Code: 43. DB::Exception: First argument of function ngramSimHash must be String, got Float64: While processing ngramSimHash(4883794.00442). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringHash.h:60: DB::FunctionsStringHash, DB::NameNgramSimHash, true, false>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c3549d3 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:06.538245 [ 21995 ] {70f95645-f8ce-4cd6-94c3-6b17090fb102} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:06.597760 [ 21995 ] {a6e4123d-1998-4de5-833a-19ad65467bad} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:06.642783 [ 21999 ] {5a33af9e-e20c-40f0-812d-1861a169784c} executeQuery: Code: 36. DB::Exception: Empty address passed to function parseAddress. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM clusterAllReplicas('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [46]) @ 0x000000000b90c53e in /usr/bin/clickhouse 6. /build/src/Common/parseAddress.cpp:18: DB::parseAddress(String const&, unsigned short) @ 0x000000001a9923f1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Cluster.cpp:141: DB::Cluster::Address::Address(DB::DatabaseReplicaInfo const&, DB::ClusterConnectionParameters const&, unsigned int, unsigned int) @ 0x000000001bda4d13 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster::Address* std::construct_at[abi:v15000](DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdb46a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdb4619 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/vector:1579: void std::vector>::__emplace_back_slow_path(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdb4576 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/vector:0: DB::Cluster::Address& std::vector>::emplace_back(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdad680 in /usr/bin/clickhouse 12. /build/src/Interpreters/Cluster.cpp:520: DB::Cluster::Cluster(DB::Settings const&, std::vector>, std::allocator>>> const&, DB::ClusterConnectionParameters const&) @ 0x000000001bda963d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster* std::construct_at[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, DB::Cluster*>(DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a952194 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void, void>(std::allocator&, DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a952111 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&>(std::allocator, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a952097 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(std::allocator const&, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a951faa in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a94d6d6 in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionRemote.cpp:290: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94a04e in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:31:06.644572 [ 21999 ] {5a33af9e-e20c-40f0-812d-1861a169784c} TCPHandler: Code: 36. DB::Exception: Empty address passed to function parseAddress. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [46]) @ 0x000000000b90c53e in /usr/bin/clickhouse 6. /build/src/Common/parseAddress.cpp:18: DB::parseAddress(String const&, unsigned short) @ 0x000000001a9923f1 in /usr/bin/clickhouse 7. /build/src/Interpreters/Cluster.cpp:141: DB::Cluster::Address::Address(DB::DatabaseReplicaInfo const&, DB::ClusterConnectionParameters const&, unsigned int, unsigned int) @ 0x000000001bda4d13 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster::Address* std::construct_at[abi:v15000](DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdb46a1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, DB::Cluster::Address*, DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdb4619 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/vector:1579: void std::vector>::__emplace_back_slow_path(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdb4576 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/vector:0: DB::Cluster::Address& std::vector>::emplace_back(DB::DatabaseReplicaInfo&&, DB::ClusterConnectionParameters const&, unsigned int&, unsigned long&&) @ 0x000000001bdad680 in /usr/bin/clickhouse 12. /build/src/Interpreters/Cluster.cpp:520: DB::Cluster::Cluster(DB::Settings const&, std::vector>, std::allocator>>> const&, DB::ClusterConnectionParameters const&) @ 0x000000001bda963d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::Cluster* std::construct_at[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, DB::Cluster*>(DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a952194 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void, void>(std::allocator&, DB::Cluster*, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a952111 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&>(std::allocator, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a952097 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(std::allocator const&, DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a951faa in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]>, std::allocator>>>&, DB::ClusterConnectionParameters&, void>(DB::Settings const&, std::vector>, std::allocator>>>&, DB::ClusterConnectionParameters&) @ 0x000000001a94d6d6 in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionRemote.cpp:290: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94a04e in /usr/bin/clickhouse 19. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:31:06.718354 [ 21995 ] {ac1fde70-5aab-44b3-bca6-f334c5421888} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:06.787003 [ 21999 ] {9bb703b7-9b19-4783-9ca3-c67a99d3b192} executeQuery: Code: 36. DB::Exception: Bad arguments count when creating Redis table function. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM redis(['\0']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c158a3e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRedis.cpp:56: DB::TableFunctionRedis::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98f8bd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:06.788613 [ 21999 ] {9bb703b7-9b19-4783-9ca3-c67a99d3b192} TCPHandler: Code: 36. DB::Exception: Bad arguments count when creating Redis table function. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c158a3e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRedis.cpp:56: DB::TableFunctionRedis::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98f8bd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:06.844385 [ 21995 ] {e5aa7f47-856f-49a7-b463-3bdf3703eeb6} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:06.918865 [ 21999 ] {fbd6f454-6528-46c2-b9e9-104419b63708} executeQuery: Code: 42. DB::Exception: Aggregate function categoricalInformationValue requires two or more arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT categoricalInformationValue([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:166: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000178167b5 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:06.921362 [ 21999 ] {fbd6f454-6528-46c2-b9e9-104419b63708} TCPHandler: Code: 42. DB::Exception: Aggregate function categoricalInformationValue requires two or more arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:166: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000178167b5 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:06.925133 [ 21995 ] {a52d39e2-20f1-446b-9858-e0cae9fd280f} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:07.047652 [ 21995 ] {3fbc1446-e843-41b2-8746-0eadd1e0d117} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:07.115443 [ 21999 ] {c9bba03d-859c-49a8-b150-9a71b196ab2d} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDate: While processing CAST([], 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(([]) AS Date));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533266 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:07.117283 [ 21999 ] {c9bba03d-859c-49a8-b150-9a71b196ab2d} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDate: While processing CAST([], 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533266 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:07.237707 [ 21995 ] {b2f54a8e-1c6f-4333-9a79-62b33b8f0177} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:07.261505 [ 21999 ] {04916d7f-15f6-47fb-a56f-88be813c9f91} executeQuery: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM executable(( SELECT * FROM s3Cluster() ) AS tlnqj, ( SELECT anyHeavy(wordShingleMinHash()) ) AS ew);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:62: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a96f988 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:07.264111 [ 21999 ] {04916d7f-15f6-47fb-a56f-88be813c9f91} TCPHandler: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:62: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a96f988 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:07.352687 [ 21995 ] {a720779a-225d-4be7-8627-4e17b14426ea} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:07.461359 [ 21995 ] {d1fd0cff-0e1e-4d55-8140-6c40bd1988c5} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:07.498239 [ 21999 ] {ee350c9c-bff1-46d7-b4b7-95f2b71206ad} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing dictGetUInt32OrDefault(CAST('khoZF+3', 'Date'), [CAST(69, 'String')]). (CANNOT_PARSE_DATE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT dictGetUInt32OrDefault((CAST(('khoZF+3') AS Date)), [(CAST((69) AS String))]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:07.500388 [ 21999 ] {ee350c9c-bff1-46d7-b4b7-95f2b71206ad} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing dictGetUInt32OrDefault(CAST('khoZF+3', 'Date'), [CAST(69, 'String')]). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:07.578432 [ 21995 ] {93c0ae99-ab36-405b-8369-106e9f82c24a} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:07.646534 [ 21995 ] {42d3180c-cd31-48c1-a566-9814832fe73f} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:07.717083 [ 21999 ] {a7f40241-585c-4e7d-b3ac-3d82d007daa0} executeQuery: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing CAST('E_', 'DateTime'), '\0', '\0'. (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(('E_') AS DateTime)), '\0', '\0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b2636b7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000001398a7f6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:966: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59acd6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1047: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59a9a5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1077: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b59a8d4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b59a7bb in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b594df8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b584a59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583d88 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 2024.12.17 01:31:07.755443 [ 21995 ] {37bcb2ba-f775-4e3c-bd48-702072565cd2} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:07.836838 [ 21999 ] {a7f40241-585c-4e7d-b3ac-3d82d007daa0} TCPHandler: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing CAST('E_', 'DateTime'), '\0', '\0'. (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b2636b7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000001398a7f6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:966: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59acd6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1047: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59a9a5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1077: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b59a8d4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b59a7bb in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b594df8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b584a59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583d88 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 2024.12.17 01:31:07.836809 [ 21993 ] {2fa7e4c4-1ac2-47ed-b1cf-662312dabf77} executeQuery: Code: 43. DB::Exception: Illegal type String of second argument of function timeSlots. Must be UInt32 when first argument is DateTime.: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58452) (comment: 00734_timeslot.sql) (in query: SELECT timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), 'wrong argument');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:248: DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000001260b4ef in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:07.838145 [ 21993 ] {2fa7e4c4-1ac2-47ed-b1cf-662312dabf77} TCPHandler: Code: 43. DB::Exception: Illegal type String of second argument of function timeSlots. Must be UInt32 when first argument is DateTime.: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:248: DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000001260b4ef in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:07.871629 [ 21995 ] {d67a721b-758e-4186-9d0c-12c90c4b6dc7} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:07.963366 [ 21993 ] {95983781-f3f3-4f6f-bcd5-c58ee8e3d58d} executeQuery: Code: 43. DB::Exception: Illegal type String of third argument of function timeSlots. Must be UInt32 when first argument is DateTime.: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58452) (comment: 00734_timeslot.sql) (in query: SELECT timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 'wrong argument');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:252: DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000001260b6c2 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:07.987667 [ 21995 ] {48761b42-2d89-4796-874e-74200734d003} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:08.078209 [ 21999 ] {7344d46d-5004-42e9-8e6c-67330211cfe5} executeQuery: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hive();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e9c77 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:08.078275 [ 21993 ] {95983781-f3f3-4f6f-bcd5-c58ee8e3d58d} TCPHandler: Code: 43. DB::Exception: Illegal type String of third argument of function timeSlots. Must be UInt32 when first argument is DateTime.: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:252: DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000001260b6c2 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:08.079716 [ 21999 ] {7344d46d-5004-42e9-8e6c-67330211cfe5} TCPHandler: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e9c77 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:08.110087 [ 21995 ] {f72a98b2-76b4-4300-90b0-6f73f3576f24} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:08.195148 [ 21995 ] {4b84e399-078c-45fe-af6f-00b4b1f0df0b} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:08.196361 [ 21993 ] {fc3ac3fa-f942-4bbd-8187-35a5cb9ee822} executeQuery: Code: 44. DB::Exception: Third argument for function timeSlots must be greater than zero: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 0). (ILLEGAL_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58452) (comment: 00734_timeslot.sql) (in query: SELECT timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:297: DB::(anonymous namespace)::FunctionTimeSlots::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012609d85 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:31:08.313419 [ 21995 ] {0a638ce3-c891-45af-af3e-d2c8cb4da0f1} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:08.329404 [ 21999 ] {17330ce7-e5a4-4db6-b600-9a5716ccc349} executeQuery: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Null. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM oss(toRelativeYearNum(NULL, NULL));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:160: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a996da5 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:08.329486 [ 21993 ] {fc3ac3fa-f942-4bbd-8187-35a5cb9ee822} TCPHandler: Code: 44. DB::Exception: Third argument for function timeSlots must be greater than zero: While processing timeSlots(toDateTime('2000-01-02 03:04:05', 'UTC'), toUInt32(600), 0). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/timeSlots.cpp:297: DB::(anonymous namespace)::FunctionTimeSlots::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000012609d85 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:31:08.330953 [ 21999 ] {17330ce7-e5a4-4db6-b600-9a5716ccc349} TCPHandler: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Null. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:160: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a996da5 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:08.341701 [ 21999 ] {96d20ea5-b9ea-4356-8167-396daa2dca19} executeQuery: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing CAST('\0', 'DateTime'), '', ['>eïy'], -7537.94167, [[]]. (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(('\0') AS DateTime)), '', ['>e\xq`y'], -07537.94167, [[]];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b2636b7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000001398a7f6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:966: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59acd6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1047: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59a9a5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1077: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b59a8d4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b59a7bb in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b594df8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b584a59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583d88 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 2024.12.17 01:31:08.343423 [ 21999 ] {96d20ea5-b9ea-4356-8167-396daa2dca19} TCPHandler: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing CAST('\0', 'DateTime'), '', ['>eïy'], -7537.94167, [[]]. (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b2636b7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000001398a7f6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:966: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59acd6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1047: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59a9a5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1077: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b59a8d4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b59a7bb in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b594df8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b584a59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583d88 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 2024.12.17 01:31:08.427327 [ 21995 ] {4e00c63f-b123-4e0d-bc22-f340e2ecb3e6} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:08.474920 [ 21999 ] {4756463a-c55f-4784-a1fe-9b44a26fb612} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 2. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM postgresql((SELECT * FROM remoteSecure()) AS czwk, (SELECT tupleIntDivOrZero()) AS cmxjty)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91bd33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7d99e0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cd536 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:08.476524 [ 21999 ] {4756463a-c55f-4784-a1fe-9b44a26fb612} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 2. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91bd33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7d99e0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cd536 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:08.485528 [ 21999 ] {d3016465-ad2c-4134-be2e-32e9bf5a4322} executeQuery: Code: 43. DB::Exception: Illegal type Float64 of first argument (haystack) of function countMatches. Must be String/FixedString.: While processing countMatches(-5598.3, 'm[zn,'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT countMatches(-05598.300, 'm[zn,');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/countMatches.h:43: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseSensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d93ae02 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:08.487367 [ 21999 ] {d3016465-ad2c-4134-be2e-32e9bf5a4322} TCPHandler: Code: 43. DB::Exception: Illegal type Float64 of first argument (haystack) of function countMatches. Must be String/FixedString.: While processing countMatches(-5598.3, 'm[zn,'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/countMatches.h:43: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseSensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d93ae02 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:08.545085 [ 21995 ] {db73a4e5-bb28-4a8e-89c0-93c2d73b2229} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:08.607019 [ 21999 ] {d1507039-2e10-4452-8996-1bbcb25fca40} executeQuery: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM format();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:44: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d58ea in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:08.608621 [ 21999 ] {d1507039-2e10-4452-8996-1bbcb25fca40} TCPHandler: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:44: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d58ea in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:08.639616 [ 21999 ] {549cdaa0-50d8-4bd2-b1e4-28e6a55ac154} executeQuery: Code: 42. DB::Exception: Number of arguments for function runningConcurrency doesn't match: passed 1, should be 2: While processing runningConcurrency(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT runningConcurrency(NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:08.641394 [ 21999 ] {549cdaa0-50d8-4bd2-b1e4-28e6a55ac154} TCPHandler: Code: 42. DB::Exception: Number of arguments for function runningConcurrency doesn't match: passed 1, should be 2: While processing runningConcurrency(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:08.654591 [ 21999 ] {6bee5b17-2f09-4f95-8978-ae88a039b423} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitmapOr doesn't match: passed 0, should be 2: While processing [[]], NULL, CAST(-91613, 'String'), bitmapOr(), [CAST([['\0']], 'DateTime')]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [[]], NULL, (CAST((-91613) AS String)), bitmapOr(), [(CAST(([['\0']]) AS DateTime))];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:08.656197 [ 21999 ] {6bee5b17-2f09-4f95-8978-ae88a039b423} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitmapOr doesn't match: passed 0, should be 2: While processing [[]], NULL, CAST(-91613, 'String'), bitmapOr(), [CAST([['\0']], 'DateTime')]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:08.673204 [ 21995 ] {cdb65ec9-90f2-4211-b01f-748ec7ced7b8} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:08.771796 [ 21999 ] {daa53323-afeb-43e2-9725-2c5e3160214c} executeQuery: Code: 42. DB::Exception: Number of arguments for function toDayOfWeek doesn't match: passed 0, expected 1, 2 or 3.: While processing toDayOfWeek(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toDayOfWeek();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionCustomWeek.h:108: DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x0000000012641740 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionCustomWeekToSomething.h:24: DB::FunctionCustomWeekToSomething, DB::ToDayOfWeekImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001263f85f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:08.773600 [ 21999 ] {daa53323-afeb-43e2-9725-2c5e3160214c} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toDayOfWeek doesn't match: passed 0, expected 1, 2 or 3.: While processing toDayOfWeek(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionCustomWeek.h:108: DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x0000000012641740 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionCustomWeekToSomething.h:24: DB::FunctionCustomWeekToSomething, DB::ToDayOfWeekImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001263f85f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:08.788060 [ 21995 ] {ae0cd6fe-a5a7-4189-99b2-1c46aa3a5778} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:08.904548 [ 21995 ] {31c01377-5786-4a8c-91cc-023318b11258} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:08.908656 [ 21999 ] {21b584ac-3d00-4774-86dd-8def49509127} executeQuery: Code: 42. DB::Exception: Number of arguments for function intHash64 doesn't match: passed 0, should be 1: While processing SVG(intHash64(), ''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT SVG(intHash64(), '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:08.908821 [ 8668 ] {df6077a4-53f5-480c-bc7b-37c6ee2ec258} executeQuery: Code: 42. DB::Exception: Number of arguments for function base64Encode doesn't match: passed 2, should be 1: While processing base64Encode(val, 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58490) (comment: 00732_base64_functions.sql) (in query: SELECT base64Encode(val, 'excess argument') FROM (select arrayJoin(['', 'f', 'fo', 'foo', 'foob', 'fooba', 'foobar']) val);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:08.909956 [ 8668 ] {df6077a4-53f5-480c-bc7b-37c6ee2ec258} TCPHandler: Code: 42. DB::Exception: Number of arguments for function base64Encode doesn't match: passed 2, should be 1: While processing base64Encode(val, 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:08.910378 [ 21999 ] {21b584ac-3d00-4774-86dd-8def49509127} TCPHandler: Code: 42. DB::Exception: Number of arguments for function intHash64 doesn't match: passed 0, should be 1: While processing SVG(intHash64(), ''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:09.050755 [ 21995 ] {0db8d918-c023-4f02-9b29-fcd8784beecc} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:09.062298 [ 21999 ] {99834358-6c2b-45d3-bf47-f6aed4065c24} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing '', extractAll([NULL], CAST(NULL, 'String')), '\0'. (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '', extractAll([NULL], (CAST((NULL) AS String))), '\0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1f92be in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3831: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b78cba3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b78c65c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc842e9 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:09.062478 [ 8668 ] {8d51cba8-8b8d-40fa-9c20-2e4433955f5d} executeQuery: Code: 42. DB::Exception: Number of arguments for function base64Decode doesn't match: passed 2, should be 1: While processing base64Decode(val, 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58490) (comment: 00732_base64_functions.sql) (in query: SELECT base64Decode(val, 'excess argument') FROM (select arrayJoin(['', 'Zg==', 'Zm8=', 'Zm9v', 'Zm9vYg==', 'Zm9vYmE=', 'Zm9vYmFy']) val);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:09.063921 [ 8668 ] {8d51cba8-8b8d-40fa-9c20-2e4433955f5d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function base64Decode doesn't match: passed 2, should be 1: While processing base64Decode(val, 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:09.064038 [ 21999 ] {99834358-6c2b-45d3-bf47-f6aed4065c24} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing '', extractAll([NULL], CAST(NULL, 'String')), '\0'. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1f92be in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3831: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b78cba3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b78c65c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc842e9 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:09.073589 [ 8668 ] {1df3cbc9-e0f1-4b85-b332-774bda88985f} executeQuery: Code: 42. DB::Exception: Number of arguments for function tryBase64Decode doesn't match: passed 2, should be 1: While processing tryBase64Decode('Zm9vYmF=Zm9v', 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58490) (comment: 00732_base64_functions.sql) (in query: SELECT tryBase64Decode('Zm9vYmF=Zm9v', 'excess argument');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:09.074692 [ 8668 ] {1df3cbc9-e0f1-4b85-b332-774bda88985f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tryBase64Decode doesn't match: passed 2, should be 1: While processing tryBase64Decode('Zm9vYmF=Zm9v', 'excess argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:09.076007 [ 21999 ] {86e14192-150f-4edd-8861-816af575d723} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing 'C}$', 54186.191, -8694.82945, CAST('', 'Date'), CAST(-695.70473, 'String'). (CANNOT_PARSE_DATE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT 'C}$', 54186.191, -8694.82945, (CAST(('') AS Date)), (CAST((-695.70473) AS String));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:09.077676 [ 21999 ] {86e14192-150f-4edd-8861-816af575d723} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing 'C}$', 54186.191, -8694.82945, CAST('', 'Date'), CAST(-695.70473, 'String'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:09.184818 [ 8668 ] {07ab5505-0c81-45f7-b332-87dcf6e4f4bc} executeQuery: Code: 117. DB::Exception: Failed to base64Decode input 'Zm9vYmF=Zm9v': While processing base64Decode('Zm9vYmF=Zm9v'). (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58490) (comment: 00732_base64_functions.sql) (in query: SELECT base64Decode('Zm9vYmF=Zm9v');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const* const&, String&&) @ 0x000000000c57becc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBase64Conversion.h:74: DB::Base64Decode::performCoding(std::span, char8_t*) @ 0x000000000c57bc61 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBase64Conversion.h:172: DB::FunctionBase64Conversion::execute(DB::ColumnString const&, unsigned long) @ 0x000000000c57b99d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBase64Conversion.h:141: DB::FunctionBase64Conversion::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c57af7a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:31:09.184930 [ 21999 ] {cf8a08cc-d1b5-4533-b696-15076d6816c8} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nullable(Nothing)) of argument of function toDate: While processing [CAST([NULL], 'Date')], '\0', '\0', []. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [(CAST(([NULL]) AS Date))], '\0', '\0', [];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533266 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:09.185642 [ 8668 ] {07ab5505-0c81-45f7-b332-87dcf6e4f4bc} TCPHandler: Code: 117. DB::Exception: Failed to base64Decode input 'Zm9vYmF=Zm9v': While processing base64Decode('Zm9vYmF=Zm9v'). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const* const&, String&&) @ 0x000000000c57becc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBase64Conversion.h:74: DB::Base64Decode::performCoding(std::span, char8_t*) @ 0x000000000c57bc61 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionBase64Conversion.h:172: DB::FunctionBase64Conversion::execute(DB::ColumnString const&, unsigned long) @ 0x000000000c57b99d in /usr/bin/clickhouse 8. /build/src/Functions/FunctionBase64Conversion.h:141: DB::FunctionBase64Conversion::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c57af7a in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:31:09.186741 [ 21999 ] {cf8a08cc-d1b5-4533-b696-15076d6816c8} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nullable(Nothing)) of argument of function toDate: While processing [CAST([NULL], 'Date')], '\0', '\0', []. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533266 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:09.234583 [ 21995 ] {dbcf50d6-8ea3-4b48-bc25-bb03934abf73} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:09.317915 [ 21999 ] {c948d717-175a-43ef-a8b9-6c4e0bc86116} executeQuery: Code: 36. DB::Exception: Argument 'table_name' must be a literal with type String, got Array. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM sqlite('', []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionSQLite.cpp:67: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d058c in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:09.319488 [ 21999 ] {c948d717-175a-43ef-a8b9-6c4e0bc86116} TCPHandler: Code: 36. DB::Exception: Argument 'table_name' must be a literal with type String, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionSQLite.cpp:67: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d058c in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:09.369738 [ 21995 ] {04f239e0-9b41-4e18-9648-a6f34c1c44b5} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:09.452359 [ 21999 ] {c6eadd47-12c0-4938-928d-f083f0e7406f} executeQuery: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]: While processing (SELECT * FROM executable()) AS inwgi. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT * FROM executable() ) AS inwgi, 'T', ['`5'], [], (CAST((JSON_EXISTS()) AS DateTime));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:62: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a96f988 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9be22 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 2024.12.17 01:31:09.454826 [ 21999 ] {c6eadd47-12c0-4938-928d-f083f0e7406f} TCPHandler: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]: While processing (SELECT * FROM executable()) AS inwgi. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:62: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a96f988 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9be22 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 2024.12.17 01:31:09.482471 [ 21995 ] {feaef4d5-e477-4908-bace-446956fcd428} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:09.580154 [ 21999 ] {9096690c-ada8-42ed-b5ed-907633d7eedb} executeQuery: Code: 636. DB::Exception: Table function 'input' was used without structure argument but structure could not be determined automatically. Please, provide structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM input();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:51: DB::TableFunctionInput::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a986ae5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionInput.cpp:63: DB::TableFunctionInput::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a986c97 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:09.581692 [ 21999 ] {9096690c-ada8-42ed-b5ed-907633d7eedb} TCPHandler: Code: 636. DB::Exception: Table function 'input' was used without structure argument but structure could not be determined automatically. Please, provide structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:51: DB::TableFunctionInput::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a986ae5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionInput.cpp:63: DB::TableFunctionInput::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a986c97 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:09.611708 [ 21995 ] {50af969a-05cb-49d3-9945-94df8a4f0eb1} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:09.675029 [ 21995 ] {e1f7ef92-d768-40c2-a535-f6ad8b2e51ab} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:09.713225 [ 21999 ] {aba1181f-4fd0-40e8-a3a0-f95e4d23d9a4} executeQuery: Code: 701. DB::Exception: Requested cluster '' not found: While processing (SELECT * FROM urlCluster('\0', CAST(-428.248, 'String'))) AS olhyqd: While processing JSONType((SELECT * FROM urlCluster('\0', CAST(-428.248, 'String'))) AS olhyqd): While processing toQuarter(JSONType((SELECT * FROM urlCluster('\0', CAST(-428.248, 'String'))) AS olhyqd)). (CLUSTER_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT QUARTER(JSONType(( SELECT * FROM urlCluster('\0', (CAST((-428.248) AS String))) ) AS olhyqd));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:62: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a98034d in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97bad7 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97fef7 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 2024.12.17 01:31:09.714986 [ 21999 ] {aba1181f-4fd0-40e8-a3a0-f95e4d23d9a4} TCPHandler: Code: 701. DB::Exception: Requested cluster '' not found: While processing (SELECT * FROM urlCluster('\0', CAST(-428.248, 'String'))) AS olhyqd: While processing JSONType((SELECT * FROM urlCluster('\0', CAST(-428.248, 'String'))) AS olhyqd): While processing toQuarter(JSONType((SELECT * FROM urlCluster('\0', CAST(-428.248, 'String'))) AS olhyqd)). (CLUSTER_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:62: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a98034d in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97bad7 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97fef7 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 2024.12.17 01:31:09.727827 [ 21999 ] {3af70957-f4b3-4041-84f9-c24c697fadb1} executeQuery: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing CAST('', 'DateTime'), [], 'Cz4f', toUInt128(), CAST(NULL, 'DateTime'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(('') AS DateTime)), [], 'Cz4f', toUInt128(), (CAST((NULL) AS DateTime));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b2636b7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000001398a7f6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:966: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59acd6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1047: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59a9a5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1077: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b59a8d4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b59a7bb in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b594df8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b584a59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583d88 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 2024.12.17 01:31:09.729456 [ 21999 ] {3af70957-f4b3-4041-84f9-c24c697fadb1} TCPHandler: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing CAST('', 'DateTime'), [], 'Cz4f', toUInt128(), CAST(NULL, 'DateTime'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b2636b7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000001398a7f6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:966: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59acd6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1047: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59a9a5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1077: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b59a8d4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b59a7bb in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b594df8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b584a59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583d88 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 2024.12.17 01:31:09.796102 [ 21995 ] {a77b558a-3a3d-4363-91de-c331ea47ad4e} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:09.859340 [ 21999 ] {4810310f-dbd3-4781-a59a-9652ae422e83} executeQuery: Code: 42. DB::Exception: The signature of table function url shall be the following: - uri - uri, format - uri, format, structure - uri, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`): While processing (SELECT * FROM url()) AS xeti: While processing quantileTimingWeighted(__getScalar('12834429533869405412_11189743136489477158') AS bqh, (SELECT * FROM url()) AS xeti). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT quantileTimingWeighted(( SELECT NULL, 54.270 ) AS bqh, ( SELECT * FROM url() ) AS xeti);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97a42a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionURL.cpp:69: DB::TableFunctionURL::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97bf39 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97bad7 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 2024.12.17 01:31:09.861360 [ 21999 ] {4810310f-dbd3-4781-a59a-9652ae422e83} TCPHandler: Code: 42. DB::Exception: The signature of table function url shall be the following: - uri - uri, format - uri, format, structure - uri, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`): While processing (SELECT * FROM url()) AS xeti: While processing quantileTimingWeighted(__getScalar('12834429533869405412_11189743136489477158') AS bqh, (SELECT * FROM url()) AS xeti). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97a42a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionURL.cpp:69: DB::TableFunctionURL::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97bf39 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97bad7 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 2024.12.17 01:31:09.912797 [ 21995 ] {71dcf848-0eab-46e8-949c-5e1c044c1d20} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:09.978126 [ 21999 ] {9350decb-9c9b-463c-a446-ffb90bcad55d} executeQuery: Code: 42. DB::Exception: Aggregate function first_value requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT first_value('', '$~8ANs~');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8abc1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:23: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e0f55 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e0d6d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:31:09.979890 [ 21999 ] {9350decb-9c9b-463c-a446-ffb90bcad55d} TCPHandler: Code: 42. DB::Exception: Aggregate function first_value requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8abc1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:23: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e0f55 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:14: DB::(anonymous namespace)::createAggregateFunctionAny(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e0d6d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:31:10.039421 [ 21995 ] {79c2497c-106b-4f83-989d-df899b65e503} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:10.133013 [ 21999 ] {b80a5cab-28d0-466c-b06f-e9becd8adb8d} executeQuery: Code: 42. DB::Exception: Number of arguments for function log1p doesn't match: passed 0, should be 1: While processing log1p(): While processing (SELECT log1p()) AS kw: While processing ngramSearchCaseInsensitiveUTF8(_CAST(0.6157612712549179, 'Nullable(Float64)') AS _subquery731, (SELECT log1p()) AS kw, -699). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM clusterAllReplicas(ngramSearchCaseInsensitiveUTF8(( SELECT randCanonical() ) , ( SELECT log1p() ) AS kw, -699));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 2024.12.17 01:31:10.135230 [ 21999 ] {b80a5cab-28d0-466c-b06f-e9becd8adb8d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function log1p doesn't match: passed 0, should be 1: While processing log1p(): While processing (SELECT log1p()) AS kw: While processing ngramSearchCaseInsensitiveUTF8(_CAST(0.6157612712549179, 'Nullable(Float64)') AS _subquery731, (SELECT log1p()) AS kw, -699). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 2024.12.17 01:31:10.146004 [ 21995 ] {e17f310b-c0f2-4d88-9b3c-9ba1d206a397} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:10.255731 [ 21995 ] {47ade41d-6a4e-4f04-a1a0-ed4e9dad4246} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:10.291868 [ 21999 ] {e4d4599d-b1c8-4adc-be96-8ed1834c17e9} executeQuery: Code: 36. DB::Exception: Bad arguments count when creating Redis table function: While processing (SELECT * FROM redis(NULL, '\0')) AS _subquery733. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT 'WFz', ( SELECT 'C0GK', -69528.374862, gccMurmurHash(NULL) ) , ( SELECT * FROM redis(NULL, '\0') ) ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c158a3e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRedis.cpp:56: DB::TableFunctionRedis::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98f8bd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9be22 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 2024.12.17 01:31:10.293858 [ 21999 ] {e4d4599d-b1c8-4adc-be96-8ed1834c17e9} TCPHandler: Code: 36. DB::Exception: Bad arguments count when creating Redis table function: While processing (SELECT * FROM redis(NULL, '\0')) AS _subquery733. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c158a3e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRedis.cpp:56: DB::TableFunctionRedis::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98f8bd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9be22 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 2024.12.17 01:31:10.447425 [ 21999 ] {2036f411-14bd-41e1-852b-7f1edc2a12c1} executeQuery: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mongodb([], '')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e4797be in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98c036 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:10.450085 [ 21999 ] {2036f411-14bd-41e1-852b-7f1edc2a12c1} TCPHandler: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e4797be in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98c036 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:10.463705 [ 21995 ] {cf453355-7888-491a-897f-94e2775c3670} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:10.471101 [ 21999 ] {38e09629-72b2-4d9a-ae95-69646b1b6f00} executeQuery: Code: 42. DB::Exception: Number of arguments for function parseTimeDelta doesn't match: passed 0, should be 1.: While processing parseTimeDelta(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT parseTimeDelta();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:119: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011952489 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:10.473439 [ 21999 ] {38e09629-72b2-4d9a-ae95-69646b1b6f00} TCPHandler: Code: 42. DB::Exception: Number of arguments for function parseTimeDelta doesn't match: passed 0, should be 1.: While processing parseTimeDelta(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/parseTimeDelta.cpp:119: DB::(anonymous namespace)::FunctionParseTimeDelta::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000011952489 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:10.480126 [ 21999 ] {35068802-774f-4895-b3c2-49eac5aaf98d} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM postgresql()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91bd33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7d99e0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cd536 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:10.481940 [ 21999 ] {35068802-774f-4895-b3c2-49eac5aaf98d} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91bd33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7d99e0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cd536 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:10.582108 [ 21995 ] {1917936f-09e6-486b-b6b6-f2476d6b827e} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:10.620482 [ 21999 ] {c955b8e7-5633-4fb3-84d2-6659d224b374} executeQuery: Code: 184. DB::Exception: Aggregate function intervalLengthSum(CAST(CAST('', 'String'), 'String'), -3894519.33) is found in wrong place in query: While processing intervalLengthSum(CAST(CAST('', 'String'), 'String'), -3894519.33). (ILLEGAL_AGGREGATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM zeros_mt(intervalLengthSum((CAST(((CAST(('') AS String))) AS String)), -03894519.33));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd6db1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:59: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd6cc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfd6ac0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd73e1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd6a4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfc1045 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:112: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x000000001cfac359 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1353: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa1027 in /usr/bin/clickhouse 14. /build/src/Interpreters/evaluateConstantExpression.cpp:70: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089d6e in /usr/bin/clickhouse 15. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a5dd in /usr/bin/clickhouse 16. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a6f2 in /usr/bin/clickhouse 17. /build/src/TableFunctions/TableFunctionZeros.cpp:80: DB::TableFunctionZeros::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a96ce25 in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionZeros.cpp:40: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a96cae6 in /usr/bin/clickhouse 19. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:31:10.622329 [ 21999 ] {c955b8e7-5633-4fb3-84d2-6659d224b374} TCPHandler: Code: 184. DB::Exception: Aggregate function intervalLengthSum(CAST(CAST('', 'String'), 'String'), -3894519.33) is found in wrong place in query: While processing intervalLengthSum(CAST(CAST('', 'String'), 'String'), -3894519.33). (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd6db1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:59: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd6cc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfd6ac0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd73e1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd6a4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfc1045 in /usr/bin/clickhouse 12. /build/src/Interpreters/GetAggregatesVisitor.h:112: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x000000001cfac359 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1353: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa1027 in /usr/bin/clickhouse 14. /build/src/Interpreters/evaluateConstantExpression.cpp:70: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089d6e in /usr/bin/clickhouse 15. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a5dd in /usr/bin/clickhouse 16. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a6f2 in /usr/bin/clickhouse 17. /build/src/TableFunctions/TableFunctionZeros.cpp:80: DB::TableFunctionZeros::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a96ce25 in /usr/bin/clickhouse 18. /build/src/TableFunctions/TableFunctionZeros.cpp:40: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a96cae6 in /usr/bin/clickhouse 19. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 20. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 21. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:31:10.691495 [ 21995 ] {0bccc3b4-dbe9-4aad-b757-fd1f31d4d7d1} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:10.741699 [ 21999 ] {9478c21f-33da-4b49-90f0-93dbb9b90f01} executeQuery: Code: 42. DB::Exception: Table function ('dictionary') requires 1 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM dictionary();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionDictionary.cpp:38: DB::TableFunctionDictionary::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d297e in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:10.801879 [ 21995 ] {1b65c366-8fd8-424a-9692-0d45e37a0edb} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:10.893521 [ 21999 ] {9478c21f-33da-4b49-90f0-93dbb9b90f01} TCPHandler: Code: 42. DB::Exception: Table function ('dictionary') requires 1 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionDictionary.cpp:38: DB::TableFunctionDictionary::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d297e in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:10.894533 [ 21981 ] {32dfa441-34e6-498a-9356-b1d9b00c8c19} executeQuery: Code: 319. DB::Exception: Unknown status, client must retry. Reason: Code: 159. DB::Exception: Timeout while waiting for quorum. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_STATUS_OF_INSERT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58528) (comment: 00732_quorum_insert_lost_part_and_alive_part_zookeeper_long.sql) (in query: INSERT INTO quorum2 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1148: DB::ReplicatedMergeTreeSinkImpl::waitForQuorum(std::shared_ptr const&, String const&, String const&, int, unsigned long) const @ 0x000000001e321916 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1069: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001e31fe98 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001e314b51 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:400: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e31edd8 in /usr/bin/clickhouse 10. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 2024.12.17 01:31:10.895667 [ 21981 ] {32dfa441-34e6-498a-9356-b1d9b00c8c19} TCPHandler: Code: 319. DB::Exception: Unknown status, client must retry. Reason: Code: 159. DB::Exception: Timeout while waiting for quorum. (TIMEOUT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)). (UNKNOWN_STATUS_OF_INSERT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1148: DB::ReplicatedMergeTreeSinkImpl::waitForQuorum(std::shared_ptr const&, String const&, String const&, int, unsigned long) const @ 0x000000001e321916 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1069: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001e31fe98 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001e314b51 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:400: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e31edd8 in /usr/bin/clickhouse 10. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 2024.12.17 01:31:10.903878 [ 21999 ] {eee8bd0d-ea8b-41e7-84c6-6cf993fd4b45} executeQuery: Code: 42. DB::Exception: Number of arguments for function emptyArrayDateTime doesn't match: passed 2, should be 0: While processing emptyArrayDateTime(']*Z4}6LC', 84264). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT emptyArrayDateTime(']*Z4}6LC', 84264);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:10.906651 [ 21999 ] {eee8bd0d-ea8b-41e7-84c6-6cf993fd4b45} TCPHandler: Code: 42. DB::Exception: Number of arguments for function emptyArrayDateTime doesn't match: passed 2, should be 0: While processing emptyArrayDateTime(']*Z4}6LC', 84264). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:10.915701 [ 21995 ] {fe137712-4c94-4977-9b94-e7c4075ca522} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:11.036553 [ 21995 ] {a472b603-9bae-4322-a5e5-bb178a46ebc2} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:11.070356 [ 21999 ] {99896073-8fb9-42de-bc53-5cd842ad941f} executeQuery: Code: 42. DB::Exception: Number of arguments for function isNullable doesn't match: passed 0, should be 1: While processing '\0', isNullable(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '\0', isNullable();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:11.073036 [ 21999 ] {99896073-8fb9-42de-bc53-5cd842ad941f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function isNullable doesn't match: passed 0, should be 1: While processing '\0', isNullable(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:11.113968 [ 21999 ] {b96cdd12-01db-421d-b522-1f5b5dd9c2c9} executeQuery: Code: 42. DB::Exception: Number of arguments for function widthBucket doesn't match: passed 1, should be 4: While processing widthBucket(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT width_bucket(NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:11.115689 [ 21999 ] {b96cdd12-01db-421d-b522-1f5b5dd9c2c9} TCPHandler: Code: 42. DB::Exception: Number of arguments for function widthBucket doesn't match: passed 1, should be 4: While processing widthBucket(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:11.158235 [ 21995 ] {6ed0f6d0-eda1-448d-a813-b54e160d1c6b} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:11.282257 [ 21995 ] {780e0a37-5509-48f8-a388-1dcf1bb8e5b7} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:11.338825 [ 21999 ] {42ee861b-0fd5-435c-9efb-766577206585} executeQuery: Code: 36. DB::Exception: The function 'dense_rank' can only be used as a window function, not as an aggregate function: While executing AggregatingTransform: While processing (SELECT dense_rank()) AS m: While processing (SELECT NULL, -44863, (SELECT dense_rank()) AS m, (SELECT * FROM cosn()) AS ftyfjnaq, CAST('%ig', 'Date'), (SELECT degrees(covarPopMatrix([], []))), (SELECT 75000576, (SELECT '', ' e@0 ')) AS udwelk) AS _subquery736: While processing simpleJSONHas((SELECT NULL, -44863, (SELECT dense_rank()) AS m, (SELECT * FROM cosn()) AS ftyfjnaq, CAST('%ig', 'Date'), (SELECT degrees(covarPopMatrix([], []))), (SELECT 75000576, (SELECT '', ' e@0 ')) AS udwelk) AS _subquery736): While processing ngramSimHashUTF8('\0', simpleJSONHas((SELECT NULL, -44863, (SELECT dense_rank()) AS m, (SELECT * FROM cosn()) AS ftyfjnaq, CAST('%ig', 'Date'), (SELECT degrees(covarPopMatrix([], []))), (SELECT 75000576, (SELECT '', ' e@0 ')) AS udwelk) AS _subquery736)). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ngramSimHashUTF8('\0', simpleJSONHas(( SELECT NULL, -44863, ( SELECT dense_rank() ) AS m, ( SELECT * FROM cosn() ) AS ftyfjnaq, (CAST(('%ig') AS Date)), ( SELECT degrees(covarPopMatrix([], [])) ) , ( SELECT 75000576, ( SELECT '', ' e@0 ' ) ) AS udwelk ) ));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1433: DB::WindowFunction::fail() const @ 0x000000001eccb42c in /usr/bin/clickhouse 7. ? @ 0x000000001ecca025 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/IAggregateFunction.h:541: DB::IAggregateFunctionHelper::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x000000001ecca771 in /usr/bin/clickhouse 9. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x000000001c0dd64e in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1586: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01f96f in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 2024.12.17 01:31:11.341683 [ 21999 ] {42ee861b-0fd5-435c-9efb-766577206585} TCPHandler: Code: 36. DB::Exception: The function 'dense_rank' can only be used as a window function, not as an aggregate function: While executing AggregatingTransform: While processing (SELECT dense_rank()) AS m: While processing (SELECT NULL, -44863, (SELECT dense_rank()) AS m, (SELECT * FROM cosn()) AS ftyfjnaq, CAST('%ig', 'Date'), (SELECT degrees(covarPopMatrix([], []))), (SELECT 75000576, (SELECT '', ' e@0 ')) AS udwelk) AS _subquery736: While processing simpleJSONHas((SELECT NULL, -44863, (SELECT dense_rank()) AS m, (SELECT * FROM cosn()) AS ftyfjnaq, CAST('%ig', 'Date'), (SELECT degrees(covarPopMatrix([], []))), (SELECT 75000576, (SELECT '', ' e@0 ')) AS udwelk) AS _subquery736): While processing ngramSimHashUTF8('\0', simpleJSONHas((SELECT NULL, -44863, (SELECT dense_rank()) AS m, (SELECT * FROM cosn()) AS ftyfjnaq, CAST('%ig', 'Date'), (SELECT degrees(covarPopMatrix([], []))), (SELECT 75000576, (SELECT '', ' e@0 ')) AS udwelk) AS _subquery736)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/WindowTransform.cpp:1433: DB::WindowFunction::fail() const @ 0x000000001eccb42c in /usr/bin/clickhouse 7. ? @ 0x000000001ecca025 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/IAggregateFunction.h:541: DB::IAggregateFunctionHelper::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x000000001ecca771 in /usr/bin/clickhouse 9. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x000000001c0dd64e in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1586: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01f96f in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 2024.12.17 01:31:11.396667 [ 21995 ] {b56ceded-fea4-4aa4-90d5-54b09e611f50} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:11.491847 [ 21999 ] {2e7aab2e-4b51-419f-a238-824c957b7542} executeQuery: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM azureBlobStorage([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [184]) @ 0x000000001a9e3e3e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:66: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e04ca in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e1f04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:11.493355 [ 21999 ] {2e7aab2e-4b51-419f-a238-824c957b7542} TCPHandler: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [184]) @ 0x000000001a9e3e3e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:66: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e04ca in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e1f04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:11.523457 [ 21995 ] {05a8cb73-e774-4982-84cf-2354dd3b4bc7} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:11.615930 [ 21999 ] {c71a7483-84df-4b0e-8a26-7cb8a077b3a3} executeQuery: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remoteSecure();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x000000001a94cea9 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94889d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:11.634659 [ 21995 ] {06575f11-a41c-4474-bb72-f70db2b196bd} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:11.747318 [ 8668 ] {f02a3850-0965-416e-8efa-5aba201622f9} executeQuery: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41692) (comment: 00729_prewhere_array_join.sql) (in query: select arrayJoin(val) as nameGroup6 from t1_00729 prewhere notEmpty(toString(nameGroup6)) group by nameGroup6 order by nameGroup6;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e33be in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::checkActions() const::$_0::operator()(std::shared_ptr const&) const @ 0x000000001bfbbefa in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2171: DB::ExpressionAnalysisResult::checkActions() const @ 0x000000001bfbb9b6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2105: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbb3d3 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:11.747320 [ 21999 ] {c71a7483-84df-4b0e-8a26-7cb8a077b3a3} TCPHandler: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x000000001a94cea9 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94889d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:11.748212 [ 8668 ] {f02a3850-0965-416e-8efa-5aba201622f9} TCPHandler: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e33be in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::checkActions() const::$_0::operator()(std::shared_ptr const&) const @ 0x000000001bfbbefa in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2171: DB::ExpressionAnalysisResult::checkActions() const @ 0x000000001bfbb9b6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2105: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbb3d3 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:11.815427 [ 21995 ] {85874f39-8382-4921-b41b-f799fa566417} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:11.900776 [ 8668 ] {538319b8-8bba-47d7-9228-2ce6c5019243} executeQuery: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41692) (comment: 00729_prewhere_array_join.sql) (in query: select arrayJoin(val) as nameGroup6, countDistinct(nid) as rowids from t1_00729 prewhere notEmpty(toString(nameGroup6)) group by nameGroup6 order by nameGroup6;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e33be in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::checkActions() const::$_0::operator()(std::shared_ptr const&) const @ 0x000000001bfbbefa in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2171: DB::ExpressionAnalysisResult::checkActions() const @ 0x000000001bfbb9b6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2105: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbb3d3 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:11.900810 [ 21999 ] {3bf37f86-b5fa-455e-b5ac-80cbdf48d9d5} executeQuery: Code: 42. DB::Exception: Aggregate function maxIntersectionsPosition requires two arguments: While processing (SELECT maxIntersectionsPosition()) AS laldhle. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '1<<&vB', ( SELECT maxIntersectionsPosition() ) AS laldhle, [];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013dfb541 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionMaxIntersections.cpp:23: DB::(anonymous namespace)::createAggregateFunctionMaxIntersections(DB::AggregateFunctionIntersectionsKind, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000175cac67 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionMaxIntersections.cpp:45: DB::registerAggregateFunctionsMaxIntersections(DB::AggregateFunctionFactory&)::$_1::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x00000000175cb832 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerAggregateFunctionsMaxIntersections(DB::AggregateFunctionFactory&)::$_1&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x00000000175cb7d8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerAggregateFunctionsMaxIntersections(DB::AggregateFunctionFactory&)::$_1&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x00000000175cb775 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x00000000175cb715 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000175cb6bd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 2024.12.17 01:31:11.901642 [ 8668 ] {538319b8-8bba-47d7-9228-2ce6c5019243} TCPHandler: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e33be in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::checkActions() const::$_0::operator()(std::shared_ptr const&) const @ 0x000000001bfbbefa in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2171: DB::ExpressionAnalysisResult::checkActions() const @ 0x000000001bfbb9b6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2105: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbb3d3 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:11.902676 [ 21999 ] {3bf37f86-b5fa-455e-b5ac-80cbdf48d9d5} TCPHandler: Code: 42. DB::Exception: Aggregate function maxIntersectionsPosition requires two arguments: While processing (SELECT maxIntersectionsPosition()) AS laldhle. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013dfb541 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionMaxIntersections.cpp:23: DB::(anonymous namespace)::createAggregateFunctionMaxIntersections(DB::AggregateFunctionIntersectionsKind, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x00000000175cac67 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionMaxIntersections.cpp:45: DB::registerAggregateFunctionsMaxIntersections(DB::AggregateFunctionFactory&)::$_1::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x00000000175cb832 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerAggregateFunctionsMaxIntersections(DB::AggregateFunctionFactory&)::$_1&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x00000000175cb7d8 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerAggregateFunctionsMaxIntersections(DB::AggregateFunctionFactory&)::$_1&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x00000000175cb775 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x00000000175cb715 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000175cb6bd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 2024.12.17 01:31:11.952311 [ 21995 ] {83698cea-5eb7-4610-b779-37aec2baeb80} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:12.068102 [ 21999 ] {3b76f947-eef7-4f28-a3be-98345b689fa1} executeQuery: Code: 36. DB::Exception: Table function 'viewExplain' requires 2 or 3 arguments, got 0. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM viewExplain();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000bc9b84c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExplain.cpp:46: DB::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9db7d4 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:12.068190 [ 8668 ] {67492e94-30da-4e1c-9993-b3d4c3c6163b} executeQuery: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41692) (comment: 00729_prewhere_array_join.sql) (in query: select arrayJoin(val) as nameGroup6 from t1_00729 prewhere notEmpty(toString(nameGroup6)) group by nameGroup6 order by nameGroup6;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e33be in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::checkActions() const::$_0::operator()(std::shared_ptr const&) const @ 0x000000001bfbbefa in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2171: DB::ExpressionAnalysisResult::checkActions() const @ 0x000000001bfbb9b6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2105: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbb3d3 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:12.069115 [ 8668 ] {67492e94-30da-4e1c-9993-b3d4c3c6163b} TCPHandler: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e33be in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::checkActions() const::$_0::operator()(std::shared_ptr const&) const @ 0x000000001bfbbefa in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2171: DB::ExpressionAnalysisResult::checkActions() const @ 0x000000001bfbb9b6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2105: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbb3d3 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:12.070320 [ 21999 ] {3b76f947-eef7-4f28-a3be-98345b689fa1} TCPHandler: Code: 36. DB::Exception: Table function 'viewExplain' requires 2 or 3 arguments, got 0. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000bc9b84c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExplain.cpp:46: DB::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9db7d4 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:12.090293 [ 21995 ] {2296226d-eeb9-47bb-8438-294a9235a97a} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:12.226924 [ 8668 ] {1e6af544-1dc6-43e5-97fe-6a517f11fda1} executeQuery: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41692) (comment: 00729_prewhere_array_join.sql) (in query: select arrayJoin(val) as nameGroup6, countDistinct(nid) as rowids from t1_00729 prewhere notEmpty(toString(nameGroup6)) group by nameGroup6 order by nameGroup6;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e33be in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::checkActions() const::$_0::operator()(std::shared_ptr const&) const @ 0x000000001bfbbefa in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2171: DB::ExpressionAnalysisResult::checkActions() const @ 0x000000001bfbb9b6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2105: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbb3d3 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:12.226996 [ 21999 ] {5f9ae54e-68a8-4f7c-82d9-de5537a9be91} executeQuery: Code: 42. DB::Exception: Aggregate function kolmogorovSmirnovTest requires two arguments: While processing (SELECT kolmogorovSmirnovTest()) AS eb: While processing geoDistance((SELECT kolmogorovSmirnovTest()) AS eb, 'Zl'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT h3ToParent(), geoDistance(( SELECT kolmogorovSmirnovTest() ) AS eb, 'Zl'), [], [LAST_DAY('@5?UyK-', '}b`')], '\0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013dfb541 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionKolmogorovSmirnovTest.cpp:22: DB::(anonymous namespace)::createAggregateFunctionKolmogorovSmirnovTest(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017aa6c88 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 2024.12.17 01:31:12.227712 [ 8668 ] {1e6af544-1dc6-43e5-97fe-6a517f11fda1} TCPHandler: Code: 182. DB::Exception: PREWHERE cannot contain ARRAY JOIN action. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [42]) @ 0x000000000c3e33be in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:2166: DB::ExpressionAnalysisResult::checkActions() const::$_0::operator()(std::shared_ptr const&) const @ 0x000000001bfbbefa in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:2171: DB::ExpressionAnalysisResult::checkActions() const @ 0x000000001bfbb9b6 in /usr/bin/clickhouse 8. /build/src/Interpreters/ExpressionAnalyzer.cpp:2105: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfbb3d3 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:12.229026 [ 21999 ] {5f9ae54e-68a8-4f7c-82d9-de5537a9be91} TCPHandler: Code: 42. DB::Exception: Aggregate function kolmogorovSmirnovTest requires two arguments: While processing (SELECT kolmogorovSmirnovTest()) AS eb: While processing geoDistance((SELECT kolmogorovSmirnovTest()) AS eb, 'Zl'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013dfb541 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionKolmogorovSmirnovTest.cpp:22: DB::(anonymous namespace)::createAggregateFunctionKolmogorovSmirnovTest(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017aa6c88 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 2024.12.17 01:31:12.274857 [ 21995 ] {6ba76de0-cbbb-48ad-aa53-6c8d652e90e8} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:12.367319 [ 21999 ] {ccd6bdf7-4da2-4fb0-8ae1-b9d964e6461c} executeQuery: Code: 42. DB::Exception: The signature of table function oss shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM oss();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995d8f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:12.368976 [ 21999 ] {ccd6bdf7-4da2-4fb0-8ae1-b9d964e6461c} TCPHandler: Code: 42. DB::Exception: The signature of table function oss shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995d8f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:12.386057 [ 21995 ] {a8e23b4c-3682-42e7-ae81-a01bf8176052} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:12.497028 [ 21999 ] {43e98dff-cccc-4c70-aa31-30c64e888cd8} executeQuery: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Float64. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cluster(-3330.230552);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:139: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a948a1f in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:12.498661 [ 21999 ] {43e98dff-cccc-4c70-aa31-30c64e888cd8} TCPHandler: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Float64. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:139: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a948a1f in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:12.508008 [ 21999 ] {9ceb246a-6f2b-4a61-b12c-e0365d2cc4f3} executeQuery: Code: 42. DB::Exception: Number of arguments for function reinterpretAsUInt64 doesn't match: passed 2, should be 1: While processing reinterpretAsUInt64('VaLx8]?m', '\0'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT reinterpretAsUInt64('VaLx8]?m', '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:12.509792 [ 21999 ] {9ceb246a-6f2b-4a61-b12c-e0365d2cc4f3} TCPHandler: Code: 42. DB::Exception: Number of arguments for function reinterpretAsUInt64 doesn't match: passed 2, should be 1: While processing reinterpretAsUInt64('VaLx8]?m', '\0'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:12.513093 [ 21995 ] {a03ce667-c310-4e61-be76-8907f5badf2c} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:12.527573 [ 21999 ] {875292ba-3cbb-4a53-8750-95952ba53cfa} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM postgresql()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91bd33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7d99e0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cd536 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:12.528910 [ 21999 ] {875292ba-3cbb-4a53-8750-95952ba53cfa} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91bd33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7d99e0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cd536 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:12.637348 [ 21995 ] {99d47df6-3360-4e3e-86c7-cedc1e7e506c} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:12.658705 [ 21999 ] {3c4c9adc-9ed7-42bf-a227-9891f776fa85} executeQuery: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM merge('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [106]) @ 0x000000001a9409de in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a93ee78 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:12.660592 [ 21999 ] {3c4c9adc-9ed7-42bf-a227-9891f776fa85} TCPHandler: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [106]) @ 0x000000001a9409de in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a93ee78 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:12.698609 [ 21995 ] {9fdfb43c-4104-449e-a7b9-3b9698858b21} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:12.776161 [ 21999 ] {1a66e25c-171a-4903-8386-636fb227241f} executeQuery: Code: 43. DB::Exception: mapSubtract only accepts maps: While processing mapSubtract('q@\\wG', ['@U9@HqOe']). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT mapSubtract('q@\wG', ['@U9@HqOe']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/array/mapOp.cpp:164: DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000013472e80 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:12.777997 [ 21999 ] {1a66e25c-171a-4903-8386-636fb227241f} TCPHandler: Code: 43. DB::Exception: mapSubtract only accepts maps: While processing mapSubtract('q@\\wG', ['@U9@HqOe']). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/array/mapOp.cpp:164: DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000013472e80 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:12.813899 [ 21995 ] {38805f0a-991c-4f74-8780-04a925c1fca9} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:12.898030 [ 21999 ] {fda73e4f-82eb-4ba8-a1c0-adb5811d15bd} executeQuery: Code: 43. DB::Exception: First argument of function wordShingleMinHashUTF8 must be String, got Array(Nothing): While processing wordShingleMinHashUTF8([], 94.034006). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT wordShingleMinHashUTF8([], 94.034006);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringHash.h:60: DB::FunctionsStringHash, DB::NameWordShingleMinHashUTF8, false, false>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c383a33 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:12.899935 [ 21999 ] {fda73e4f-82eb-4ba8-a1c0-adb5811d15bd} TCPHandler: Code: 43. DB::Exception: First argument of function wordShingleMinHashUTF8 must be String, got Array(Nothing): While processing wordShingleMinHashUTF8([], 94.034006). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringHash.h:60: DB::FunctionsStringHash, DB::NameWordShingleMinHashUTF8, false, false>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c383a33 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:12.908637 [ 21999 ] {c731fd2f-68b9-4d10-b0e9-f26bfb006b04} executeQuery: Code: 42. DB::Exception: Number of arguments for function fromModifiedJulianDayOrNull doesn't match: passed 0, should be 1: While processing fromModifiedJulianDayOrNull(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT fromModifiedJulianDayOrNull();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:12.910372 [ 21999 ] {c731fd2f-68b9-4d10-b0e9-f26bfb006b04} TCPHandler: Code: 42. DB::Exception: Number of arguments for function fromModifiedJulianDayOrNull doesn't match: passed 0, should be 1: While processing fromModifiedJulianDayOrNull(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:13.051145 [ 21999 ] {03ff3b78-a10e-4ef8-8506-a559ead629c9} executeQuery: Code: 42. DB::Exception: Aggregate function groupBitOr requires single argument: While processing (SELECT groupBitOr()) AS foewou: While processing polygonsIntersectionSpherical(__getScalar('8578630380983105251_9970865362900159617') AS igp, (SELECT groupBitOr()) AS foewou). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT polygonsIntersectionSpherical(( SELECT '>', -149.4, NULL, [['\0']], NULL ) AS igp, ( SELECT groupBitOr() ) AS foewou);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8abc1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionBitwise.cpp:25: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionBitwise(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017520f95 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 2024.12.17 01:31:13.053190 [ 21999 ] {03ff3b78-a10e-4ef8-8506-a559ead629c9} TCPHandler: Code: 42. DB::Exception: Aggregate function groupBitOr requires single argument: While processing (SELECT groupBitOr()) AS foewou: While processing polygonsIntersectionSpherical(__getScalar('8578630380983105251_9970865362900159617') AS igp, (SELECT groupBitOr()) AS foewou). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8abc1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionBitwise.cpp:25: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionBitwise(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017520f95 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 2024.12.17 01:31:13.111393 [ 21995 ] {2af858d7-3f39-4bb3-a745-880e1c89f89b} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:13.191968 [ 21999 ] {dc074db4-91fc-46ac-9fdb-af08fa46ea9b} executeQuery: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']): While processing (SELECT * FROM mongodb(CAST(CAST(-65228123, 'String'), 'Date'), (SELECT cutFragment('\0', ''), -([21976])))) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM clusterAllReplicas(hex(-24890480), (SELECT * FROM mongodb(CAST(CAST(-65228123, 'String'), 'Date'), (SELECT cutFragment('\0', ''), -([21976])))))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e4797be in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98c036 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 23. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:1334: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa0d80 in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:70: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089d6e in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a5dd in /usr/bin/clickhouse 27. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a6f2 in /usr/bin/clickhouse 28. /build/src/Interpreters/evaluateConstantExpression.cpp:130: DB::evaluateConstantExpressionForDatabaseName(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a744 in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionRemote.cpp:168: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a948d35 in /usr/bin/clickhouse 30. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 31. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 2024.12.17 01:31:13.193951 [ 21999 ] {dc074db4-91fc-46ac-9fdb-af08fa46ea9b} TCPHandler: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']): While processing (SELECT * FROM mongodb(CAST(CAST(-65228123, 'String'), 'Date'), (SELECT cutFragment('\0', ''), -([21976])))) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e4797be in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98c036 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 23. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:1334: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa0d80 in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:70: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089d6e in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a5dd in /usr/bin/clickhouse 27. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a6f2 in /usr/bin/clickhouse 28. /build/src/Interpreters/evaluateConstantExpression.cpp:130: DB::evaluateConstantExpressionForDatabaseName(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a744 in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionRemote.cpp:168: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a948d35 in /usr/bin/clickhouse 30. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 31. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 2024.12.17 01:31:13.215225 [ 21999 ] {da40de53-75d7-4ce9-8bec-d59e9f35a103} executeQuery: Code: 42. DB::Exception: The signature of table function cosn shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cosn();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995d8f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:13.216571 [ 21999 ] {da40de53-75d7-4ce9-8bec-d59e9f35a103} TCPHandler: Code: 42. DB::Exception: The signature of table function cosn shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995d8f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:13.226554 [ 21995 ] {896bfda3-153a-47e7-8ca9-aa700527b64e} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:13.287953 [ 21999 ] {915163b1-63ac-4fec-ab59-443ac226c2be} executeQuery: Code: 42. DB::Exception: Number of arguments for function addTupleOfIntervals doesn't match: passed 0, should be 2: While processing addTupleOfIntervals(): While processing (SELECT addTupleOfIntervals()) AS _subquery740: While processing hasTokenCaseInsensitiveOrNull((SELECT addTupleOfIntervals()) AS _subquery740, (SELECT * FROM mysql('\0', NULL)) AS _subquery741, [['']]): While processing base64Encode([''], hasTokenCaseInsensitiveOrNull((SELECT addTupleOfIntervals()) AS _subquery740, (SELECT * FROM mysql('\0', NULL)) AS _subquery741, [['']])): While processing (SELECT base64Encode([''], hasTokenCaseInsensitiveOrNull((SELECT addTupleOfIntervals()), (SELECT * FROM mysql('\0', NULL)), [['']]))) AS _subquery739: While processing LinfDistance(__getScalar('8112857723213625364_9862831380847006928') AS _subquery738, (SELECT base64Encode([''], hasTokenCaseInsensitiveOrNull((SELECT addTupleOfIntervals()), (SELECT * FROM mysql('\0', NULL)), [['']]))) AS _subquery739, 77): While processing h3GetUnidirectionalEdgeBoundary(LinfDistance(__getScalar('8112857723213625364_9862831380847006928') AS _subquery738, (SELECT base64Encode([''], hasTokenCaseInsensitiveOrNull((SELECT addTupleOfIntervals()), (SELECT * FROM mysql('\0', NULL)), [['']]))) AS _subquery739, 77)): While processing [h3GetUnidirectionalEdgeBoundary(LinfDistance(__getScalar('8112857723213625364_9862831380847006928') AS _subquery738, (SELECT base64Encode([''], hasTokenCaseInsensitiveOrNull((SELECT addTupleOfIntervals()), (SELECT * FROM mysql('\0', NULL)), [['']]))) AS _subquery739, 77))]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM s3Cluster([h3GetUnidirectionalEdgeBoundary(distanceLinf((SELECT ['gyQd.:'], '\0', '4&UDW', CAST(4990.21501, 'DateTime')), (SELECT TO_BASE64([''], hasTokenCaseInsensitiveOrNull((SELECT addTupleOfIntervals()), (SELECT * FROM mysql('\0', NULL)), [['']]))), 77))])), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 2024.12.17 01:31:13.290153 [ 21999 ] {915163b1-63ac-4fec-ab59-443ac226c2be} TCPHandler: Code: 42. DB::Exception: Number of arguments for function addTupleOfIntervals doesn't match: passed 0, should be 2: While processing addTupleOfIntervals(): While processing (SELECT addTupleOfIntervals()) AS _subquery740: While processing hasTokenCaseInsensitiveOrNull((SELECT addTupleOfIntervals()) AS _subquery740, (SELECT * FROM mysql('\0', NULL)) AS _subquery741, [['']]): While processing base64Encode([''], hasTokenCaseInsensitiveOrNull((SELECT addTupleOfIntervals()) AS _subquery740, (SELECT * FROM mysql('\0', NULL)) AS _subquery741, [['']])): While processing (SELECT base64Encode([''], hasTokenCaseInsensitiveOrNull((SELECT addTupleOfIntervals()), (SELECT * FROM mysql('\0', NULL)), [['']]))) AS _subquery739: While processing LinfDistance(__getScalar('8112857723213625364_9862831380847006928') AS _subquery738, (SELECT base64Encode([''], hasTokenCaseInsensitiveOrNull((SELECT addTupleOfIntervals()), (SELECT * FROM mysql('\0', NULL)), [['']]))) AS _subquery739, 77): While processing h3GetUnidirectionalEdgeBoundary(LinfDistance(__getScalar('8112857723213625364_9862831380847006928') AS _subquery738, (SELECT base64Encode([''], hasTokenCaseInsensitiveOrNull((SELECT addTupleOfIntervals()), (SELECT * FROM mysql('\0', NULL)), [['']]))) AS _subquery739, 77)): While processing [h3GetUnidirectionalEdgeBoundary(LinfDistance(__getScalar('8112857723213625364_9862831380847006928') AS _subquery738, (SELECT base64Encode([''], hasTokenCaseInsensitiveOrNull((SELECT addTupleOfIntervals()), (SELECT * FROM mysql('\0', NULL)), [['']]))) AS _subquery739, 77))]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 2024.12.17 01:31:13.312105 [ 21999 ] {b20708e1-9fce-4188-bbae-4c1767bf1513} executeQuery: Code: 42. DB::Exception: Number of arguments for function ngramSearch doesn't match: passed 0, should be 2: While processing ngramSearch(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ngramSearch();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:13.313872 [ 21999 ] {b20708e1-9fce-4188-bbae-4c1767bf1513} TCPHandler: Code: 42. DB::Exception: Number of arguments for function ngramSearch doesn't match: passed 0, should be 2: While processing ngramSearch(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:13.333934 [ 21999 ] {047d11d7-7ee1-4570-b7d0-efee811ffa0a} executeQuery: Code: 42. DB::Exception: Number of arguments for function LinfNormalize doesn't match: passed 0, should be 1: While processing 'PY', '', LinfNormalize(), 'Xtb4m'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT 'PY', '', normalizeLinf(), 'Xtb4m';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:13.335507 [ 21999 ] {047d11d7-7ee1-4570-b7d0-efee811ffa0a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function LinfNormalize doesn't match: passed 0, should be 1: While processing 'PY', '', LinfNormalize(), 'Xtb4m'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:13.342581 [ 21999 ] {016e9069-834a-4a03-9162-89a36be4e5a4} executeQuery: Code: 42. DB::Exception: Number of arguments for function formatReadableDecimalSize doesn't match: passed 0, should be 1: While processing formatReadableDecimalSize(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT formatReadableDecimalSize();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:13.344402 [ 21999 ] {016e9069-834a-4a03-9162-89a36be4e5a4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function formatReadableDecimalSize doesn't match: passed 0, should be 1: While processing formatReadableDecimalSize(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:13.376254 [ 21995 ] {a43d2bca-a2a8-4cca-b889-e77d553d7e8f} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:13.500408 [ 21999 ] {b81de43a-1fe9-4800-bf40-5c9305de7010} executeQuery: Code: 42. DB::Exception: Table function 'zeros_mt' requires 'length'.: While processing (SELECT * FROM zeros_mt()) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM clusterAllReplicas('\0', ( SELECT * FROM zeros_mt() ) AS vljozt);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a96ca08 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 23. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:1334: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa0d80 in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:70: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089d6e in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a5dd in /usr/bin/clickhouse 27. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a6f2 in /usr/bin/clickhouse 28. /build/src/Interpreters/evaluateConstantExpression.cpp:130: DB::evaluateConstantExpressionForDatabaseName(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a744 in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionRemote.cpp:168: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a948d35 in /usr/bin/clickhouse 30. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 31. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 2024.12.17 01:31:13.502295 [ 21999 ] {b81de43a-1fe9-4800-bf40-5c9305de7010} TCPHandler: Code: 42. DB::Exception: Table function 'zeros_mt' requires 'length'.: While processing (SELECT * FROM zeros_mt()) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a96ca08 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 23. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:1334: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa0d80 in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:70: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089d6e in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a5dd in /usr/bin/clickhouse 27. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a6f2 in /usr/bin/clickhouse 28. /build/src/Interpreters/evaluateConstantExpression.cpp:130: DB::evaluateConstantExpressionForDatabaseName(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a744 in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionRemote.cpp:168: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a948d35 in /usr/bin/clickhouse 30. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 31. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 2024.12.17 01:31:13.509134 [ 21999 ] {37c0b074-c7f5-4083-b498-818acc2708e5} executeQuery: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hive();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e9c77 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:13.510980 [ 21999 ] {37c0b074-c7f5-4083-b498-818acc2708e5} TCPHandler: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e9c77 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:13.515145 [ 21995 ] {13bba5bc-bf7a-41eb-8041-bf86c82ef9c5} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:13.634613 [ 21995 ] {18366d2f-8d9c-4913-887e-abe635c51498} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:13.643780 [ 21999 ] {65d8493a-2808-46aa-852d-2fb30c81f863} executeQuery: Code: 42. DB::Exception: The signature of table function hudi shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hudi();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995d8f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ab65f in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:13.645600 [ 21999 ] {65d8493a-2808-46aa-852d-2fb30c81f863} TCPHandler: Code: 42. DB::Exception: The signature of table function hudi shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995d8f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ab65f in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:13.752396 [ 21995 ] {d1d1605a-c97e-466a-805c-a738cd37db3d} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:13.775286 [ 21999 ] {2d7d4516-1f77-4a8d-ae2b-a8f61562deb4} executeQuery: Code: 676. DB::Exception: Invalid IPv6 value: While processing IPv6StringToNum(' w'). (CANNOT_PARSE_IPV6) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT IPv6StringToNum(' w');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [19]) @ 0x000000000b21b35e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.h:198: COW::immutable_ptr DB::detail::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnFixedString, DB::ColumnString>(DB::ColumnString const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ba15e20 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsCodingIP.h:220: COW::immutable_ptr DB::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnFixedString>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ba14cf7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsCodingIP.cpp:325: DB::FunctionIPv6StringToNum<(DB::IPStringToNumExceptionMode)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba14484 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:31:13.778133 [ 21999 ] {2d7d4516-1f77-4a8d-ae2b-a8f61562deb4} TCPHandler: Code: 676. DB::Exception: Invalid IPv6 value: While processing IPv6StringToNum(' w'). (CANNOT_PARSE_IPV6), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [19]) @ 0x000000000b21b35e in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.h:198: COW::immutable_ptr DB::detail::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnFixedString, DB::ColumnString>(DB::ColumnString const&, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ba15e20 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsCodingIP.h:220: COW::immutable_ptr DB::convertToIPv6<(DB::IPStringToNumExceptionMode)0, DB::ColumnFixedString>(COW::immutable_ptr, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ba14cf7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsCodingIP.cpp:325: DB::FunctionIPv6StringToNum<(DB::IPStringToNumExceptionMode)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ba14484 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:31:13.786155 [ 21999 ] {04848087-7788-4e09-b50d-f14c7cc77ba5} executeQuery: Code: 42. DB::Exception: Number of arguments for function base64Decode doesn't match: passed 2, should be 1: While processing base64Decode('K', -5062). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT base64Decode('K', -5062);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:13.787805 [ 21999 ] {04848087-7788-4e09-b50d-f14c7cc77ba5} TCPHandler: Code: 42. DB::Exception: Number of arguments for function base64Decode doesn't match: passed 2, should be 1: While processing base64Decode('K', -5062). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:13.862160 [ 21995 ] {b1c9f218-4562-4a28-8878-58b9ab26988d} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:13.942574 [ 21999 ] {c2ad1e7a-0285-4818-99ac-b7d38bab4280} executeQuery: Code: 170. DB::Exception: Bad get: has Array, requested String. (BAD_GET) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58372) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM jdbc('', []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x000000000b78a4ac in /usr/bin/clickhouse 6. /build/src/Core/Field.h:890: auto& DB::Field::safeGet() @ 0x000000000b78a30d in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionXDBC.cpp:51: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9beef2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:13.944325 [ 21999 ] {c2ad1e7a-0285-4818-99ac-b7d38bab4280} TCPHandler: Code: 170. DB::Exception: Bad get: has Array, requested String. (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x000000000b78a4ac in /usr/bin/clickhouse 6. /build/src/Core/Field.h:890: auto& DB::Field::safeGet() @ 0x000000000b78a30d in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionXDBC.cpp:51: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9beef2 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:13.975814 [ 21995 ] {0bc46e52-6835-4a69-b26c-47a09a4eaa54} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:14.095740 [ 21995 ] {4b7745b5-8933-401d-aabb-ddac0ee1922a} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:14.222921 [ 21995 ] {dc5c6d3a-7330-4851-8c9b-95044bcbb495} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:14.343430 [ 21995 ] {92a1268a-63fa-4670-9ffc-c09c832c7686} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:14.420349 [ 21995 ] {503565da-7663-469b-9c03-0a002fd4dcd7} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:14.535170 [ 21995 ] {fd48d4de-e16f-416c-a4ef-3f88d5d11e12} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:14.651060 [ 21995 ] {f99648e6-8d13-4a3b-bd3f-bacadf64ac3e} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:14.757797 [ 21995 ] {99b9df07-eb48-40eb-8560-8ee86885a175} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:14.872903 [ 21995 ] {7121c2e2-e759-4952-b26a-5dc8ea0a8c08} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:15.000060 [ 21995 ] {b303c872-5c5c-488d-9f7a-969f154bc18a} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:15.066757 [ 21995 ] {3c8a7e09-787b-404b-9d91-e7a4162a9459} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:15.185354 [ 21995 ] {4065505f-36b3-473a-a3af-1eb91cda658b} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:15.300180 [ 21995 ] {8a736e94-e81a-4c0f-ae4b-53d1b1076fdc} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:15.411629 [ 21995 ] {064913a6-be9f-4244-991e-984f60325386} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:15.535662 [ 21995 ] {403d7cb7-b3a1-4b82-9f70-65722a165b4d} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:15.641944 [ 21995 ] {9d22aeef-1345-4716-aaf8-ba4a0f3d5afc} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:15.834554 [ 21995 ] {d20cf42c-99af-477e-ba20-8ffc74904670} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:15.967048 [ 21995 ] {4778c8eb-e7ef-410d-89c7-7808502bd72a} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:16.048566 [ 21995 ] {e8e5ea28-75ae-4c9c-a5d4-90c7f6cb9c12} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:16.165810 [ 21995 ] {7b9b2603-1f02-4d9e-8807-e68243dc06ca} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:16.276076 [ 21995 ] {766518a8-7686-4c0a-bbac-4b8b556001b1} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:16.386831 [ 21995 ] {528fa5a7-60d3-4631-b9d6-d6574e0bfb83} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:16.495669 [ 21995 ] {75d532e0-1c56-4194-bd75-9a0d025f0aba} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:16.603357 [ 21995 ] {d627cebd-6983-4148-b3de-0504633d5985} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:16.727575 [ 21995 ] {aa8cb8d7-620a-4818-873d-4ebc691c23f9} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:16.854674 [ 21995 ] {2b41b194-ddeb-401e-b93d-939aa0c4838c} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:16.984962 [ 21995 ] {3ff35c7f-4fe7-464a-9321-d60945d07452} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:17.097593 [ 21995 ] {022f7a05-0a14-4b7d-9374-96dec2bdacc6} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:17.159918 [ 21995 ] {33bb662f-f434-4979-92b5-c0be28fecb87} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:17.272158 [ 21995 ] {1e434676-64a0-4060-8e13-8fa198b10ea2} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:17.398402 [ 21995 ] {33e313ce-69bf-4482-873e-f51ecb2f140b} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:17.626529 [ 21995 ] {a321e280-2459-46ab-a464-6bfcaa6ea05b} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:17.742734 [ 21995 ] {c2a5e020-10e8-4fe8-a983-58688de32ff0} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:17.749756 [ 21984 ] {f79ca178-be79-430a-8d05-b5cc14ebdc34} executeQuery: Code: 524. DB::Exception: ALTER of key column id0 from type String to type UUID is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41904) (comment: 00714_alter_uuid.sql) (in query: ALTER TABLE uuid MODIFY COLUMN id0 UUID;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3392: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de9063c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:17.750419 [ 21984 ] {f79ca178-be79-430a-8d05-b5cc14ebdc34} TCPHandler: Code: 524. DB::Exception: ALTER of key column id0 from type String to type UUID is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3392: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de9063c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:17.760356 [ 21996 ] {bcd83fa7-cf67-4235-a182-5019ad7848a4} executeQuery: Code: 42. DB::Exception: Number of arguments for function formatReadableQuantity doesn't match: passed 0, should be 1: While processing formatReadableQuantity(), '\0', CAST(NULL, 'String'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT formatReadableQuantity(), '\0', (CAST((NULL) AS String));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:17.762297 [ 21996 ] {bcd83fa7-cf67-4235-a182-5019ad7848a4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function formatReadableQuantity doesn't match: passed 0, should be 1: While processing formatReadableQuantity(), '\0', CAST(NULL, 'String'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:17.768965 [ 21984 ] {76ce0f6d-1df0-4ef8-9334-b396202f90e4} executeQuery: Code: 524. DB::Exception: ALTER of key column id1 from type FixedString(36) to type UUID is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41904) (comment: 00714_alter_uuid.sql) (in query: ALTER TABLE uuid MODIFY COLUMN id1 UUID;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3392: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de9063c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:17.769576 [ 21984 ] {76ce0f6d-1df0-4ef8-9334-b396202f90e4} TCPHandler: Code: 524. DB::Exception: ALTER of key column id1 from type FixedString(36) to type UUID is not safe because it can change the representation of primary key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3392: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de9063c in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:17.853452 [ 21995 ] {17b8b727-969b-47b6-ad09-a1f174b171f5} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:17.900752 [ 21996 ] {b96297ad-1eb1-455b-b629-8b2a08de3c47} executeQuery: Code: 344. DB::Exception: Natural language processing function 'detectLanguageMixed' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing '', '~$jE)E>z', detectLanguageMixed(CAST('', 'DateTime')). (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '', '~$jE)E>z', detectLanguageMixed((CAST(('') AS DateTime)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsLanguageClassification.cpp:117: DB::FunctionDetectLanguageMixed::create(std::shared_ptr) @ 0x000000000c14e7d9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.h:80: std::shared_ptr DB::FunctionFactory::adaptFunctionToOverloadResolver(std::shared_ptr) @ 0x000000000c14e66a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr)>()(std::declval>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr), std::shared_ptr>(std::shared_ptr (*&)(std::shared_ptr), std::shared_ptr&&) @ 0x000000000b1a10d6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr), std::shared_ptr>(std::shared_ptr (*&)(std::shared_ptr), std::shared_ptr&&) @ 0x000000000b1a107d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr), std::shared_ptr (std::shared_ptr)>::operator()[abi:v15000](std::shared_ptr&&) @ 0x000000000b1a103d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr)>::__call_impl (*)(std::shared_ptr), std::shared_ptr (std::shared_ptr)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x000000000b1a0fe5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr)>::operator()[abi:v15000](std::shared_ptr&&) const @ 0x000000001abf8cbe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr)>::operator()(std::shared_ptr) const @ 0x000000001abf4181 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionFactory.cpp:108: DB::FunctionFactory::tryGetImpl(String const&, std::shared_ptr) const @ 0x000000001abf2f03 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionFactory.cpp:57: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x000000001abf2abd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x000000001abf344a in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe7c44 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:31:17.903254 [ 21996 ] {b96297ad-1eb1-455b-b629-8b2a08de3c47} TCPHandler: Code: 344. DB::Exception: Natural language processing function 'detectLanguageMixed' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing '', '~$jE)E>z', detectLanguageMixed(CAST('', 'DateTime')). (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsLanguageClassification.cpp:117: DB::FunctionDetectLanguageMixed::create(std::shared_ptr) @ 0x000000000c14e7d9 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.h:80: std::shared_ptr DB::FunctionFactory::adaptFunctionToOverloadResolver(std::shared_ptr) @ 0x000000000c14e66a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr)>()(std::declval>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr), std::shared_ptr>(std::shared_ptr (*&)(std::shared_ptr), std::shared_ptr&&) @ 0x000000000b1a10d6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr), std::shared_ptr>(std::shared_ptr (*&)(std::shared_ptr), std::shared_ptr&&) @ 0x000000000b1a107d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr), std::shared_ptr (std::shared_ptr)>::operator()[abi:v15000](std::shared_ptr&&) @ 0x000000000b1a103d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr)>::__call_impl (*)(std::shared_ptr), std::shared_ptr (std::shared_ptr)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x000000000b1a0fe5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr)>::operator()[abi:v15000](std::shared_ptr&&) const @ 0x000000001abf8cbe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr)>::operator()(std::shared_ptr) const @ 0x000000001abf4181 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionFactory.cpp:108: DB::FunctionFactory::tryGetImpl(String const&, std::shared_ptr) const @ 0x000000001abf2f03 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionFactory.cpp:57: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x000000001abf2abd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x000000001abf344a in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe7c44 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:31:17.912569 [ 21996 ] {bd4e2a41-cae5-4a3d-a2c7-2d1453ac9554} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal128, expected const Integer, got Float64: While processing toDecimal128('', 57.0374). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toDecimal128('', 57.0374);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e40 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1861: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ba905cc in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ba90420 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000ba903dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000ba9039d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000ba9035d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000ba90325 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b266abe in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b26577d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ba9015b in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ba737fa in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 2024.12.17 01:31:17.914697 [ 21996 ] {bd4e2a41-cae5-4a3d-a2c7-2d1453ac9554} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'scale' of function toDecimal128, expected const Integer, got Float64: While processing toDecimal128('', 57.0374). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e40 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1861: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000ba905cc in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000ba90420 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000ba903dd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000ba9039d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000ba9035d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000ba90325 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b266abe in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b26577d in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000ba9015b in /usr/bin/clickhouse 17. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ba737fa in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 2024.12.17 01:31:17.924706 [ 21996 ] {643313e7-54a4-41b6-ac0e-b972dabe45bd} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3IsValid doesn't match: passed 2, should be 1: While processing h3IsValid(NULL, 42249521). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT h3IsValid(NULL, 42249521);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:17.926608 [ 21996 ] {643313e7-54a4-41b6-ac0e-b972dabe45bd} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3IsValid doesn't match: passed 2, should be 1: While processing h3IsValid(NULL, 42249521). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:17.961542 [ 21995 ] {911ec23f-de1f-4441-8972-65d7937dabfe} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:18.066927 [ 21996 ] {ec64c8d8-b650-4b99-92b5-8b2f03d9f8ea} executeQuery: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes).: While processing (SELECT * FROM remote([], (SELECT '', 9353, UUIDStringToNum([]), '\0') AS ixzka, (SELECT * FROM cluster('')))) AS _subquery742: While processing isNaN((SELECT * FROM remote([], (SELECT '', 9353, UUIDStringToNum([]), '\0') AS ixzka, (SELECT * FROM cluster('')))) AS _subquery742, (SELECT (SELECT welchTTest('8{t}', '\0')) AS jvpoynh, -1.0268, '*w', []) AS nidhhqv, ',t\'5'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT isNaN(( SELECT * FROM remote([], ( SELECT '', 9353, UUIDStringToNum([]), '\0' ) AS ixzka, ( SELECT * FROM cluster('') ) ) ) , ( SELECT ( SELECT welchTTest('8{t}', '\0') ) AS jvpoynh, -01.0268, '*w', [] ) AS nidhhqv, ',t\'5');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb45fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a948b84 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 2024.12.17 01:31:18.070229 [ 21996 ] {ec64c8d8-b650-4b99-92b5-8b2f03d9f8ea} TCPHandler: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes).: While processing (SELECT * FROM remote([], (SELECT '', 9353, UUIDStringToNum([]), '\0') AS ixzka, (SELECT * FROM cluster('')))) AS _subquery742: While processing isNaN((SELECT * FROM remote([], (SELECT '', 9353, UUIDStringToNum([]), '\0') AS ixzka, (SELECT * FROM cluster('')))) AS _subquery742, (SELECT (SELECT welchTTest('8{t}', '\0')) AS jvpoynh, -1.0268, '*w', []) AS nidhhqv, ',t\'5'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb45fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a948b84 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 2024.12.17 01:31:18.103963 [ 21995 ] {8207c411-7dda-4f08-b366-5837b27769bb} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:18.177930 [ 21995 ] {92212afd-7895-4287-a823-66142305a98e} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:18.214821 [ 21996 ] {18a0c893-5b29-4e1d-ab3f-abd2b1751369} executeQuery: Code: 42. DB::Exception: Number of arguments for function accurateCastOrNull doesn't match: passed 0, should be 2: While processing accurateCastOrNull(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hudi(['\0'], accurateCastOrNull());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb7ccd in /usr/bin/clickhouse 21. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089ecb in /usr/bin/clickhouse 22. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a5dd in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a6f2 in /usr/bin/clickhouse 24. /build/src/Storages/StorageURL.cpp:1249: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x000000001da05cff in /usr/bin/clickhouse 25. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995c49 in /usr/bin/clickhouse 26. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 27. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ab65f in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 29. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 30. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 2024.12.17 01:31:18.217116 [ 21996 ] {18a0c893-5b29-4e1d-ab3f-abd2b1751369} TCPHandler: Code: 42. DB::Exception: Number of arguments for function accurateCastOrNull doesn't match: passed 0, should be 2: While processing accurateCastOrNull(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb7ccd in /usr/bin/clickhouse 21. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089ecb in /usr/bin/clickhouse 22. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a5dd in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a6f2 in /usr/bin/clickhouse 24. /build/src/Storages/StorageURL.cpp:1249: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x000000001da05cff in /usr/bin/clickhouse 25. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995c49 in /usr/bin/clickhouse 26. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 27. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ab65f in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 29. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 30. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 2024.12.17 01:31:18.301761 [ 21995 ] {5adb6e34-49ba-49ff-982f-a814b70be9d6} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:18.346991 [ 21996 ] {010ded99-49e2-43b0-afe0-2420cb4cde5a} executeQuery: Code: 42. DB::Exception: Number of arguments for function trunc doesn't match: passed 0, should be 1 or 2.: While processing trunc(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT truncate();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:541: DB::FunctionRounding::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000c2a1b7f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:18.349190 [ 21996 ] {010ded99-49e2-43b0-afe0-2420cb4cde5a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function trunc doesn't match: passed 0, should be 1 or 2.: While processing trunc(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsRound.h:541: DB::FunctionRounding::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000c2a1b7f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:18.358258 [ 21996 ] {a4282344-6cab-404f-bf06-fb877d94598d} executeQuery: Code: 42. DB::Exception: Number of arguments for function geoToH3 doesn't match: passed 0, should be 3: While processing geoToH3(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT geoToH3();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:18.360511 [ 21996 ] {a4282344-6cab-404f-bf06-fb877d94598d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function geoToH3 doesn't match: passed 0, should be 3: While processing geoToH3(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:18.412311 [ 21995 ] {b95a863c-0c8c-4ba5-a3fa-95b4f0a4f077} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:18.492763 [ 21996 ] {ab662405-bcf0-4540-8298-d1b77ee72512} executeQuery: Code: 42. DB::Exception: Number of arguments for function addMonths doesn't match: passed 0, should be 2 or 3: While processing addMonths(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT addMonths();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:531: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c44459f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:18.494834 [ 21996 ] {ab662405-bcf0-4540-8298-d1b77ee72512} TCPHandler: Code: 42. DB::Exception: Number of arguments for function addMonths doesn't match: passed 0, should be 2 or 3: While processing addMonths(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:531: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c44459f in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:18.503029 [ 21996 ] {392ba461-2a74-4e3c-8454-d6f3877c2e8a} executeQuery: Code: 42. DB::Exception: Number of arguments for function isFinite doesn't match: passed 2, should be 1: While processing isFinite(-71580, 69708172.86269). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT isFinite(-71580, 69708172.86269);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:18.504769 [ 21996 ] {392ba461-2a74-4e3c-8454-d6f3877c2e8a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function isFinite doesn't match: passed 2, should be 1: While processing isFinite(-71580, 69708172.86269). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:18.519851 [ 21995 ] {38b069b1-c37b-4397-9d9d-1fef4af1722c} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:18.635105 [ 21995 ] {3464c06b-685b-4a28-ad94-8c90181ed305} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:18.641736 [ 21996 ] {f74bb7ef-4a2d-4888-90e1-de808ea2cf53} executeQuery: Code: 701. DB::Exception: Requested cluster '' not found. (CLUSTER_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM urlCluster('\0', INET_ATON((CAST(([]) AS Date))));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:62: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a98034d in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97bad7 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97fef7 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:18.643422 [ 21996 ] {f74bb7ef-4a2d-4888-90e1-de808ea2cf53} TCPHandler: Code: 701. DB::Exception: Requested cluster '' not found. (CLUSTER_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:62: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a98034d in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97bad7 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97fef7 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:18.651928 [ 21996 ] {0acd3aa0-579e-4415-9e13-93c871406557} executeQuery: Code: 42. DB::Exception: Number of arguments for function L2Distance doesn't match: passed 1, should be 2: While processing L2Distance(''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT distanceL2('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:18.654394 [ 21996 ] {0acd3aa0-579e-4415-9e13-93c871406557} TCPHandler: Code: 42. DB::Exception: Number of arguments for function L2Distance doesn't match: passed 1, should be 2: While processing L2Distance(''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:18.673134 [ 21996 ] {6403b803-31fd-4c8f-837a-84206c38a638} executeQuery: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got UInt64. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM oss(1933753);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:160: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a996da5 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:18.674571 [ 21996 ] {6403b803-31fd-4c8f-837a-84206c38a638} TCPHandler: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got UInt64. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:160: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a996da5 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:18.739540 [ 21995 ] {009bd9a2-f800-4d06-8c5a-d1099b8cc9e7} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:18.804112 [ 21996 ] {b74fdb99-4574-4823-a63d-59b05f9a3d22} executeQuery: Code: 42. DB::Exception: mapAdd accepts at least two maps or map tuples: While processing mapAdd(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT mapAdd();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/array/mapOp.cpp:157: DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000013408ed5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:18.806087 [ 21996 ] {b74fdb99-4574-4823-a63d-59b05f9a3d22} TCPHandler: Code: 42. DB::Exception: mapAdd accepts at least two maps or map tuples: While processing mapAdd(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/array/mapOp.cpp:157: DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000013408ed5 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:18.853663 [ 21995 ] {21a813ce-4abf-47d4-abab-56ac924f1b88} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:18.922216 [ 21996 ] {3d09eb36-d2e0-403f-ae6e-d684fb784821} executeQuery: Code: 43. DB::Exception: First argument for function bitmapXor must be a bitmap but it has type Array(Nullable(Nothing)): While processing bitmapXor([NULL], -1.). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT bitmapXor([NULL], -1.00);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsBitmap.h:1109: DB::FunctionBitmap::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b9d03d4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:18.923991 [ 21996 ] {3d09eb36-d2e0-403f-ae6e-d684fb784821} TCPHandler: Code: 43. DB::Exception: First argument for function bitmapXor must be a bitmap but it has type Array(Nullable(Nothing)): While processing bitmapXor([NULL], -1.). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsBitmap.h:1109: DB::FunctionBitmap::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b9d03d4 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:18.933076 [ 21996 ] {5ad3d46f-8476-4f4f-bded-c8b8b3cb4e99} executeQuery: Code: 42. DB::Exception: Number of arguments for function s2ToGeo doesn't match: passed 0, should be 1: While processing s2ToGeo(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT s2ToGeo();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:18.934957 [ 21996 ] {5ad3d46f-8476-4f4f-bded-c8b8b3cb4e99} TCPHandler: Code: 42. DB::Exception: Number of arguments for function s2ToGeo doesn't match: passed 0, should be 1: While processing s2ToGeo(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:18.965914 [ 21995 ] {d4806c86-6ee3-4b80-9071-66a30c5b3e2f} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:19.086995 [ 21995 ] {c5d0476d-a373-48fc-9410-cbee6e2dd678} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:19.095049 [ 21996 ] {3efa0064-6c4d-4637-a836-8c2c399cad2b} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function toInt128 provided 0, expected 1 ('Value' : ): While processing toInt128(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toInt128();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfbc5d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9ba5 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1861: DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000b436406 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000b436180 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000b43613d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000b4360fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000b4360bd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000b436085 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b266abe in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b26577d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000b435ebb in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b41ae7a in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:31:19.097095 [ 21996 ] {3efa0064-6c4d-4637-a836-8c2c399cad2b} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function toInt128 provided 0, expected 1 ('Value' : ): While processing toInt128(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x000000001abfbc5d in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:185: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9ba5 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1861: DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x000000000b436406 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:1823: auto DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000b436180 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval> const&>())) std::__invoke[abi:v15000]>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(auto&&, std::vector> const&) @ 0x000000000b43613d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&>(DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&)&, std::vector> const&) @ 0x000000000b4360fd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) @ 0x000000000b4360bd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x000000000b436085 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::vector> const&)>::operator()[abi:v15000](std::vector> const&) const @ 0x000000000b266abe in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::vector> const&)>::operator()(std::vector> const&) const @ 0x000000000b26577d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:1818: DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x000000000b435ebb in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1824: DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b41ae7a in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:31:19.106867 [ 21996 ] {6a38c9e3-0a4d-4c52-80c3-dd5126d7f8d8} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing CAST('', 'Date'). (CANNOT_PARSE_DATE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfs(NULL, (CAST(('') AS Date)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:19.108765 [ 21996 ] {6a38c9e3-0a4d-4c52-80c3-dd5126d7f8d8} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing CAST('', 'Date'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:19.117057 [ 21996 ] {34ebe552-beea-42a0-9e88-344b12c38e5b} executeQuery: Code: 42. DB::Exception: Number of arguments for function normalizeUTF8NFC doesn't match: passed 0, should be 1: While processing normalizeUTF8NFC(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT normalizeUTF8NFC();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:19.118798 [ 21996 ] {34ebe552-beea-42a0-9e88-344b12c38e5b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function normalizeUTF8NFC doesn't match: passed 0, should be 1: While processing normalizeUTF8NFC(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:19.144875 [ 21995 ] {743a5870-55ef-410b-a097-7f6cd4a3df1c} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:19.255090 [ 21995 ] {459e706e-9406-4252-8f20-24a432f8d33f} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:19.289120 [ 21996 ] {157fb752-bff5-4b8c-b011-798e79372c4c} executeQuery: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']): While processing (SELECT * FROM mongodb()) AS _subquery743: While processing ((SELECT * FROM mongodb()) AS _subquery743, (SELECT * FROM azureBlobStorageCluster(-79)) AS cu): While processing CAST(((SELECT * FROM mongodb()) AS _subquery743, (SELECT * FROM azureBlobStorageCluster(-79)) AS cu), 'String'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM gcs(NULL, CAST(((SELECT * FROM mongodb()), (SELECT * FROM azureBlobStorageCluster(-79)) AS cu), 'String'))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e4797be in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98c036 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 2024.12.17 01:31:19.291751 [ 21996 ] {157fb752-bff5-4b8c-b011-798e79372c4c} TCPHandler: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']): While processing (SELECT * FROM mongodb()) AS _subquery743: While processing ((SELECT * FROM mongodb()) AS _subquery743, (SELECT * FROM azureBlobStorageCluster(-79)) AS cu): While processing CAST(((SELECT * FROM mongodb()) AS _subquery743, (SELECT * FROM azureBlobStorageCluster(-79)) AS cu), 'String'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e4797be in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98c036 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 2024.12.17 01:31:19.305260 [ 21996 ] {81088106-a1b8-43b7-b2ab-42f47bccbe7e} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing arrayPushBack(CAST('\0', 'Date')). (CANNOT_PARSE_DATE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT arrayPushBack((CAST(('\0') AS Date)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:19.307606 [ 21996 ] {81088106-a1b8-43b7-b2ab-42f47bccbe7e} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing arrayPushBack(CAST('\0', 'Date')). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:19.316926 [ 21996 ] {71027153-1cbd-4a15-8800-7b7d659e16ba} executeQuery: Code: 42. DB::Exception: The signature of table function oss shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM oss();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995d8f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:19.318892 [ 21996 ] {71027153-1cbd-4a15-8800-7b7d659e16ba} TCPHandler: Code: 42. DB::Exception: The signature of table function oss shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995d8f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:19.357776 [ 21995 ] {c96998e7-6bc9-4869-bf22-d508004aaed8} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:19.462082 [ 21995 ] {4608e1e0-6760-4884-9664-8c84cc6572bd} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:19.471419 [ 21996 ] {34354cc9-02db-433b-b692-accce2b52063} executeQuery: Code: 43. DB::Exception: Illegal type String of argument of function timezoneOffset. Should be Date, Date32, DateTime or DateTime64: While processing NULL, NULL, timezoneOffset('\0'), CAST([L2Norm()], 'Date'), '8}g.': While processing (SELECT NULL, NULL, timezoneOffset('\0'), CAST([L2Norm()], 'Date'), '8}g.') AS syylcqg. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT NULL, ( SELECT NULL, NULL, timezoneOffset('\0'), (CAST(([normL2()]) AS Date)), '8}g.' ) AS syylcqg, ( SELECT * FROM jdbc() ) AS uz, arrayFirstOrNull('\0'), [];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x00000000126129d1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:60: DB::FunctionDateOrDateTimeToSomething, DB::TimezoneOffsetImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012610fff in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:19.473515 [ 21996 ] {34354cc9-02db-433b-b692-accce2b52063} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument of function timezoneOffset. Should be Date, Date32, DateTime or DateTime64: While processing NULL, NULL, timezoneOffset('\0'), CAST([L2Norm()], 'Date'), '8}g.': While processing (SELECT NULL, NULL, timezoneOffset('\0'), CAST([L2Norm()], 'Date'), '8}g.') AS syylcqg. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x00000000126129d1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:60: DB::FunctionDateOrDateTimeToSomething, DB::TimezoneOffsetImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012610fff in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:19.570966 [ 21995 ] {1aff49af-08f4-4454-8957-e973f317ec90} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:19.592838 [ 21996 ] {4ce42e85-bc9d-4918-a4e1-1fe69dd1f25e} executeQuery: Code: 43. DB::Exception: Illegal type Array(Array(Float64)) of argument of function toHour. Should be Date, Date32, DateTime or DateTime64: While processing toHour([[-93334.222]]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT HOUR([[-93334.222]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001264a471 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:60: DB::FunctionDateOrDateTimeToSomething, DB::ToHourImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012648d9f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:19.595516 [ 21996 ] {4ce42e85-bc9d-4918-a4e1-1fe69dd1f25e} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Array(Float64)) of argument of function toHour. Should be Date, Date32, DateTime or DateTime64: While processing toHour([[-93334.222]]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001264a471 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:60: DB::FunctionDateOrDateTimeToSomething, DB::ToHourImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012648d9f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:19.605609 [ 21996 ] {9479eb04-3f8b-4c47-8b32-d1c89877762b} executeQuery: Code: 42. DB::Exception: Number of arguments for function polygonsIntersectionCartesian doesn't match: passed 0, should be 2: While processing polygonsIntersectionCartesian(), '7?', []. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT polygonsIntersectionCartesian(), '7?', [];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:19.607634 [ 21996 ] {9479eb04-3f8b-4c47-8b32-d1c89877762b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function polygonsIntersectionCartesian doesn't match: passed 0, should be 2: While processing polygonsIntersectionCartesian(), '7?', []. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:19.654568 [ 21996 ] {7d4eedf4-14a6-4b11-a15d-70174360bebd} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing CAST('M*_', 'Date'), min2(), NULL: While processing (SELECT CAST('M*_', 'Date'), min2(), NULL) AS _subquery744. (CANNOT_PARSE_DATE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT NULL, ( SELECT (CAST(('M*_') AS Date)), min2(), NULL ) ;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:19.656241 [ 21996 ] {7d4eedf4-14a6-4b11-a15d-70174360bebd} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing CAST('M*_', 'Date'), min2(), NULL: While processing (SELECT CAST('M*_', 'Date'), min2(), NULL) AS _subquery744. (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:19.679250 [ 21995 ] {20f5a502-f357-4425-b960-009eb55bdaf2} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:19.808096 [ 21995 ] {e864b6c5-c679-4cc6-acf0-708dc598cf83} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:19.817538 [ 21996 ] {b6074c57-eb66-4f98-bf87-db446e4d8998} executeQuery: Code: 42. DB::Exception: Storage MeiliSearch requires 3 parameters: MeiliSearch('url', 'index', 'key'= ""). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM meilisearch();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [82]) @ 0x0000000013c40d5e in /usr/bin/clickhouse 6. /build/src/Storages/MeiliSearch/StorageMeiliSearch.cpp:169: DB::StorageMeiliSearch::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001adc6c95 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMeiliSearch.cpp:26: DB::TableFunctionMeiliSearch::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a993426 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:19.819318 [ 21996 ] {b6074c57-eb66-4f98-bf87-db446e4d8998} TCPHandler: Code: 42. DB::Exception: Storage MeiliSearch requires 3 parameters: MeiliSearch('url', 'index', 'key'= ""). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [82]) @ 0x0000000013c40d5e in /usr/bin/clickhouse 6. /build/src/Storages/MeiliSearch/StorageMeiliSearch.cpp:169: DB::StorageMeiliSearch::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001adc6c95 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMeiliSearch.cpp:26: DB::TableFunctionMeiliSearch::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a993426 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:19.829717 [ 21996 ] {9bb4ce68-70e4-42d8-80c6-e165d1f9c382} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3Distance doesn't match: passed 1, should be 2: While processing h3Distance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT h3Distance(NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:19.831516 [ 21996 ] {9bb4ce68-70e4-42d8-80c6-e165d1f9c382} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3Distance doesn't match: passed 1, should be 2: While processing h3Distance(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:19.919296 [ 21995 ] {0ad22508-f96f-44b6-88fa-972b53175000} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:19.973244 [ 21996 ] {ea73c2f0-dcf1-4122-9fff-f480ec9afbac} executeQuery: Code: 42. DB::Exception: The signature of table function s3Cluster shall be the following: - cluster, url - cluster, url, format - cluster, url, format, structure - cluster, url, access_key_id, secret_access_key - cluster, url, format, structure, compression_method - cluster, url, access_key_id, secret_access_key, format - cluster, url, access_key_id, secret_access_key, format, structure - cluster, url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM s3Cluster();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:53: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9a8218 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9a8017 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:19.975473 [ 21996 ] {ea73c2f0-dcf1-4122-9fff-f480ec9afbac} TCPHandler: Code: 42. DB::Exception: The signature of table function s3Cluster shall be the following: - cluster, url - cluster, url, format - cluster, url, format, structure - cluster, url, access_key_id, secret_access_key - cluster, url, format, structure, compression_method - cluster, url, access_key_id, secret_access_key, format - cluster, url, access_key_id, secret_access_key, format, structure - cluster, url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:53: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9a8218 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9a8017 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:19.984357 [ 21996 ] {7990aa98-3571-4c5b-bf75-1840066f1b2b} executeQuery: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mongodb([-6586.85], '\0')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e4797be in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98c036 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:19.985950 [ 21996 ] {7990aa98-3571-4c5b-bf75-1840066f1b2b} TCPHandler: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e4797be in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98c036 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:20.030276 [ 21995 ] {778a16e1-f2a1-422e-945f-f35ffe0d428b} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:20.103442 [ 21996 ] {7e230fef-3962-4bbb-ae03-df0975276cc5} executeQuery: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remote(NULL, '"%o');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb45fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a948b84 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:20.105141 [ 21996 ] {7e230fef-3962-4bbb-ae03-df0975276cc5} TCPHandler: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb45fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a948b84 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:20.125818 [ 21996 ] {3085708b-3e3d-47cd-a59c-639226506590} executeQuery: Code: 42. DB::Exception: Number of arguments for function base64Decode doesn't match: passed 0, should be 1: While processing base64Decode(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT base64Decode();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:20.127393 [ 21996 ] {3085708b-3e3d-47cd-a59c-639226506590} TCPHandler: Code: 42. DB::Exception: Number of arguments for function base64Decode doesn't match: passed 0, should be 1: While processing base64Decode(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:20.142021 [ 21995 ] {29d5277e-4a31-4eae-b611-7f3e997c5628} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:20.188933 [ 21996 ] {28612dc6-684c-4a4d-9b04-acb2a6f96acf} executeQuery: Code: 42. DB::Exception: Number of arguments for function L1Distance doesn't match: passed 1, should be 2: While processing L1Distance('\0'): While processing (SELECT L1Distance('\0')) AS _subquery746: While processing (SELECT sinh(), CAST([CAST('\0', 'Date')], 'String'), (SELECT L1Distance('\0')), (SELECT atanh(470, [(SELECT reinterpretAsUInt64(CAST('1yA8}+:', 'Date')))]))) AS _subquery745: While processing [(SELECT sinh(), CAST([CAST('\0', 'Date')], 'String'), (SELECT L1Distance('\0')), (SELECT atanh(470, [(SELECT reinterpretAsUInt64(CAST('1yA8}+:', 'Date')))]))) AS _subquery745]: While processing aes_encrypt_mysql([(SELECT sinh(), CAST([CAST('\0', 'Date')], 'String'), (SELECT L1Distance('\0')), (SELECT atanh(470, [(SELECT reinterpretAsUInt64(CAST('1yA8}+:', 'Date')))]))) AS _subquery745], '[HIDDEN]'): While processing [aes_encrypt_mysql([(SELECT sinh(), CAST([CAST('\0', 'Date')], 'String'), (SELECT L1Distance('\0')), (SELECT atanh(470, [(SELECT reinterpretAsUInt64(CAST('1yA8}+:', 'Date')))]))) AS _subquery745], '[HIDDEN]')]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [], [aes_encrypt_mysql([(SELECT sinh(), CAST([CAST('\0', 'Date')], 'String'), (SELECT distanceL1('\0')), (SELECT atanh(470, [(SELECT reinterpretAsUInt64(CAST('1yA8}+:', 'Date')))])))], '[HIDDEN]')], '?_\\>3 6'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 2024.12.17 01:31:20.190702 [ 21996 ] {28612dc6-684c-4a4d-9b04-acb2a6f96acf} TCPHandler: Code: 42. DB::Exception: Number of arguments for function L1Distance doesn't match: passed 1, should be 2: While processing L1Distance('\0'): While processing (SELECT L1Distance('\0')) AS _subquery746: While processing (SELECT sinh(), CAST([CAST('\0', 'Date')], 'String'), (SELECT L1Distance('\0')), (SELECT atanh(470, [(SELECT reinterpretAsUInt64(CAST('1yA8}+:', 'Date')))]))) AS _subquery745: While processing [(SELECT sinh(), CAST([CAST('\0', 'Date')], 'String'), (SELECT L1Distance('\0')), (SELECT atanh(470, [(SELECT reinterpretAsUInt64(CAST('1yA8}+:', 'Date')))]))) AS _subquery745]: While processing aes_encrypt_mysql([(SELECT sinh(), CAST([CAST('\0', 'Date')], 'String'), (SELECT L1Distance('\0')), (SELECT atanh(470, [(SELECT reinterpretAsUInt64(CAST('1yA8}+:', 'Date')))]))) AS _subquery745], '[HIDDEN]'): While processing [aes_encrypt_mysql([(SELECT sinh(), CAST([CAST('\0', 'Date')], 'String'), (SELECT L1Distance('\0')), (SELECT atanh(470, [(SELECT reinterpretAsUInt64(CAST('1yA8}+:', 'Date')))]))) AS _subquery745], '[HIDDEN]')]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 2024.12.17 01:31:20.252325 [ 21995 ] {71a8d33f-0e98-4185-a2e7-e0aed8568e83} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:20.304757 [ 21996 ] {0c4c6a54-6e96-41f8-a926-7e5b7106246a} executeQuery: Code: 42. DB::Exception: Aggregate function avg requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT avg();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8abc1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionAvg.cpp:29: DB::(anonymous namespace)::createAggregateFunctionAvg(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013d89215 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:31:20.306602 [ 21996 ] {0c4c6a54-6e96-41f8-a926-7e5b7106246a} TCPHandler: Code: 42. DB::Exception: Aggregate function avg requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8abc1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionAvg.cpp:29: DB::(anonymous namespace)::createAggregateFunctionAvg(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013d89215 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:31:20.381017 [ 21995 ] {00db22a5-f066-45cc-9305-aa991d144b86} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:20.433474 [ 21996 ] {245f764f-03b8-4fb6-9483-bd13154777f0} executeQuery: Code: 42. DB::Exception: Number of arguments for function positionCaseInsensitive doesn't match: passed 1, should be 2 or 3: While processing positionCaseInsensitive(CAST('\0', 'String')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT positionCaseInsensitive((CAST(('\0') AS String)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:103: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000123376e0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:20.435318 [ 21996 ] {245f764f-03b8-4fb6-9483-bd13154777f0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function positionCaseInsensitive doesn't match: passed 1, should be 2 or 3: While processing positionCaseInsensitive(CAST('\0', 'String')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:103: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000123376e0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:20.457966 [ 21996 ] {09e23702-ec95-449d-907c-4e8f5fc5cb85} executeQuery: Code: 42. DB::Exception: Number of arguments for function flattenTuple doesn't match: passed 2, should be 1: While processing intHash32(flattenTuple('\0', NULL), CAST(9.894, 'String')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT intHash32(flattenTuple('\0', NULL), (CAST((9.894) AS String)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:20.459623 [ 21996 ] {09e23702-ec95-449d-907c-4e8f5fc5cb85} TCPHandler: Code: 42. DB::Exception: Number of arguments for function flattenTuple doesn't match: passed 2, should be 1: While processing intHash32(flattenTuple('\0', NULL), CAST(9.894, 'String')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:20.512266 [ 21995 ] {14cfbe0a-b970-4ac6-8a1d-2a4bb136abc6} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:20.575153 [ 21996 ] {147bd25f-5bbc-4432-8a69-5de15dcc0006} executeQuery: Code: 42. DB::Exception: Number of arguments for function toLastDayOfMonth doesn't match: passed 0, should be 1 or 2: While processing toLastDayOfMonth(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT LAST_DAY();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x0000000012656a51 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToDateOrDate32.h:33: DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012653e4c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:20.576995 [ 21996 ] {147bd25f-5bbc-4432-8a69-5de15dcc0006} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toLastDayOfMonth doesn't match: passed 0, should be 1 or 2: While processing toLastDayOfMonth(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x0000000012656a51 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToDateOrDate32.h:33: DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012653e4c in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:20.599697 [ 21996 ] {5c099c79-dbf0-4108-86ba-f7d62aeb7575} executeQuery: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM executable(NULL, ( SELECT '\0', '\0', NULL, [], [] ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:62: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a96f988 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:20.601696 [ 21996 ] {5c099c79-dbf0-4108-86ba-f7d62aeb7575} TCPHandler: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:62: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a96f988 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:20.621466 [ 21995 ] {f8898ca2-da43-4c44-8e61-f74f5c0949e0} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:20.621946 [ 21996 ] {f6f5ad6e-f11d-4a8f-9115-e7ca96dbd408} executeQuery: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM jdbc();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9beb48 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:20.623882 [ 21996 ] {f6f5ad6e-f11d-4a8f-9115-e7ca96dbd408} TCPHandler: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9beb48 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:20.758764 [ 21996 ] {4296bd65-5940-476d-9fc9-42414bdeb17d} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument for aggregate function quantileExactLow. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT medianExactLow([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantileExactLow.cpp:48: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014ac00e9 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:20.760540 [ 21996 ] {4296bd65-5940-476d-9fc9-42414bdeb17d} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument for aggregate function quantileExactLow. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionQuantileExactLow.cpp:48: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014ac00e9 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:20.769354 [ 21996 ] {80b3d92c-5ad1-46cc-ad8d-60a11dc6cc03} executeQuery: Code: 42. DB::Exception: Number of arguments for function L2Distance doesn't match: passed 0, should be 2: While processing L2Distance(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT L2Distance();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:20.770938 [ 21996 ] {80b3d92c-5ad1-46cc-ad8d-60a11dc6cc03} TCPHandler: Code: 42. DB::Exception: Number of arguments for function L2Distance doesn't match: passed 0, should be 2: While processing L2Distance(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:20.816514 [ 21995 ] {2f918fbc-73e5-41c7-8b69-f9b3a33dc19c} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:20.892747 [ 21996 ] {893839af-a3fb-43b5-b5ab-f189906b6c25} executeQuery: Code: 42. DB::Exception: Table function 'input' requires exactly 1 argument: structure. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM input(( SELECT accurateCastOrNull([0329], 'h"k') ) AS btbcd, ( SELECT '$~%29 Q' ) AS rwcvy);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:40: DB::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9867fd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:20.894374 [ 21996 ] {893839af-a3fb-43b5-b5ab-f189906b6c25} TCPHandler: Code: 42. DB::Exception: Table function 'input' requires exactly 1 argument: structure. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:40: DB::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9867fd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:20.933091 [ 21995 ] {130baf03-a55e-4c88-9c2f-fc3d0a69c341} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:21.047785 [ 21996 ] {63239616-b552-415e-8efa-305ba846495f} executeQuery: Code: 36. DB::Exception: Argument 'structure' must be a literal with type String, got Array: While processing (SELECT * FROM input([])) AS ms: While processing substringIndex((SELECT * FROM input([])) AS ms). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT substringIndex(( SELECT * FROM input([]) ) AS ms);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionInput.cpp:43: DB::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a986909 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 2024.12.17 01:31:21.050408 [ 21996 ] {63239616-b552-415e-8efa-305ba846495f} TCPHandler: Code: 36. DB::Exception: Argument 'structure' must be a literal with type String, got Array: While processing (SELECT * FROM input([])) AS ms: While processing substringIndex((SELECT * FROM input([])) AS ms). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionInput.cpp:43: DB::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a986909 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 2024.12.17 01:31:21.057502 [ 21996 ] {aff487ff-7eb3-4136-b9cf-a836fa2aa7d0} executeQuery: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM merge();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [106]) @ 0x000000001a9409de in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a93ee78 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:21.059418 [ 21996 ] {aff487ff-7eb3-4136-b9cf-a836fa2aa7d0} TCPHandler: Code: 42. DB::Exception: Table function 'merge' requires exactly 2 arguments - name of source database and regexp for table names. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [106]) @ 0x000000001a9409de in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMerge.cpp:71: DB::TableFunctionMerge::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a93ee78 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:21.061309 [ 21995 ] {10da65b0-5926-46b2-933b-cb6bc20f5024} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:21.182440 [ 21995 ] {68672f02-bd5b-4668-8804-6680bb223d18} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:21.228405 [ 21996 ] {7959f3dc-7400-4efa-8cc5-93c857edc567} executeQuery: Code: 42. DB::Exception: The signature of table function deltaLake shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM deltaLake();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995d8f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9b32df in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:21.230704 [ 21996 ] {7959f3dc-7400-4efa-8cc5-93c857edc567} TCPHandler: Code: 42. DB::Exception: The signature of table function deltaLake shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995d8f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9b32df in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:21.384763 [ 21995 ] {33b732ca-63a6-4591-b8a9-cb56459b0346} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:21.401049 [ 21996 ] {1585d9a0-e733-48d3-b457-772f79596bb4} executeQuery: Code: 42. DB::Exception: Function formatRowNoNewline requires at least two arguments: the format name and its output expression(s): While processing formatRowNoNewline(['']), hex(detectTonality('X5'), CAST('', 'Date')), '\0'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT formatRowNoNewline(['']), hex(detectTonality('X5'), (CAST(('') AS Date))), '\0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/formatRow.cpp:127: DB::(anonymous namespace)::FormatRowOverloadResolver::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x000000000e2747d9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:451: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee07e in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 2024.12.17 01:31:21.403153 [ 21996 ] {1585d9a0-e733-48d3-b457-772f79596bb4} TCPHandler: Code: 42. DB::Exception: Function formatRowNoNewline requires at least two arguments: the format name and its output expression(s): While processing formatRowNoNewline(['']), hex(detectTonality('X5'), CAST('', 'Date')), '\0'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/formatRow.cpp:127: DB::(anonymous namespace)::FormatRowOverloadResolver::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x000000000e2747d9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:451: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee07e in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 2024.12.17 01:31:21.511122 [ 21995 ] {16002a2e-074e-4819-99c5-a87d5d88cdac} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:21.589736 [ 21996 ] {b01167e9-0b07-41d7-b2ec-0eadbd4ce107} executeQuery: Code: 42. DB::Exception: Aggregate function sequenceCount requires exactly one parameter.: While processing (SELECT NULL, sequenceCount([]), '\0', CAST([], 'DateTime')) AS xk. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT NULL, sequenceCount([]), '\0', (CAST(([]) AS DateTime)) ) AS xk, ( SELECT ['E&bLlczG'], NULL, (CAST(([]) AS Date)), cos(), ( SELECT * FROM cosn(toDateOrNull(NULL)) ) AS shee ) AS iuib, 'i1Q(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSequenceMatch.cpp:31: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionSequenceBase(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014eb8208 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 2024.12.17 01:31:21.592371 [ 21996 ] {b01167e9-0b07-41d7-b2ec-0eadbd4ce107} TCPHandler: Code: 42. DB::Exception: Aggregate function sequenceCount requires exactly one parameter.: While processing (SELECT NULL, sequenceCount([]), '\0', CAST([], 'DateTime')) AS xk. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionSequenceMatch.cpp:31: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionSequenceBase(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014eb8208 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 2024.12.17 01:31:21.604009 [ 21996 ] {5a838cb4-9528-4f5e-8db2-9e0cf6ad680d} executeQuery: Code: 42. DB::Exception: Number of arguments for function bitRotateRight doesn't match: passed 0, should be 2: While processing '\0', 'X1Xg*b}', bitRotateRight(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '\0', 'X1Xg*b}', bitRotateRight();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:21.608417 [ 21996 ] {5a838cb4-9528-4f5e-8db2-9e0cf6ad680d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function bitRotateRight doesn't match: passed 0, should be 2: While processing '\0', 'X1Xg*b}', bitRotateRight(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:21.618004 [ 21996 ] {51e3aee0-3346-4347-aa36-491bbf356d7d} executeQuery: Code: 636. DB::Exception: Table function 'input' was used without structure argument but structure could not be determined automatically. Please, provide structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM input();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:51: DB::TableFunctionInput::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a986ae5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionInput.cpp:63: DB::TableFunctionInput::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a986c97 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:21.619928 [ 21996 ] {51e3aee0-3346-4347-aa36-491bbf356d7d} TCPHandler: Code: 636. DB::Exception: Table function 'input' was used without structure argument but structure could not be determined automatically. Please, provide structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:51: DB::TableFunctionInput::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a986ae5 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionInput.cpp:63: DB::TableFunctionInput::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a986c97 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:21.693119 [ 21995 ] {93b9ccf4-f4fe-4d17-b344-6275898550f7} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:21.746391 [ 21995 ] {812f6f20-6c3c-4b30-938a-a54087d96dfe} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:21.776569 [ 21996 ] {ef28ea22-9c83-4590-a1c1-13d6ab96f234} executeQuery: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mysql()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [161]) @ 0x000000001d7d27be in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:315: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x000000001d7d0f96 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:56: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9c9e81 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:21.778487 [ 21996 ] {ef28ea22-9c83-4590-a1c1-13d6ab96f234} TCPHandler: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [161]) @ 0x000000001d7d27be in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:315: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x000000001d7d0f96 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:56: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9c9e81 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:21.800708 [ 21995 ] {ce57c672-b411-4b45-8603-c2d588be485c} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:21.920753 [ 21996 ] {c1abe086-e61c-42e0-8e67-534bd57d25f0} executeQuery: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Int64. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfsCluster(-89, [(CAST(('') AS DateTime))]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:59: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9bc85d in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9bc517 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:21.922607 [ 21996 ] {c1abe086-e61c-42e0-8e67-534bd57d25f0} TCPHandler: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Int64. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:59: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9bc85d in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9bc517 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:21.932691 [ 21996 ] {d5147427-90e2-4c71-b45d-37de1555f3be} executeQuery: Code: 43. DB::Exception: Illegal type Array(String) of argument of function toDate: While processing toUInt64OrNull(CAST(['#.!3+'], 'Date')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toUInt64OrNull((CAST((['#.!3+']) AS Date)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533266 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:21.934506 [ 21996 ] {d5147427-90e2-4c71-b45d-37de1555f3be} TCPHandler: Code: 43. DB::Exception: Illegal type Array(String) of argument of function toDate: While processing toUInt64OrNull(CAST(['#.!3+'], 'Date')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533266 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:21.944594 [ 21995 ] {2e8960cf-2efb-4451-bcb5-d67a9d6ca34a} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:22.054593 [ 21996 ] {2ea595da-6f16-4051-8b4a-a4c77273486c} executeQuery: Code: 42. DB::Exception: Table function 'zeros_mt' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM zeros_mt();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a96ca08 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:22.055094 [ 21995 ] {e352a789-775a-4859-a55d-3e21f183b8cd} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:22.057068 [ 21996 ] {2ea595da-6f16-4051-8b4a-a4c77273486c} TCPHandler: Code: 42. DB::Exception: Table function 'zeros_mt' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a96ca08 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:22.081718 [ 21996 ] {49548c0b-54d7-4f20-a494-93aff069ad20} executeQuery: Code: 42. DB::Exception: Table function ('dictionary') requires 1 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM dictionary((CAST(('-VwKqe') AS Date)), ( SELECT NULL, '', (CAST((( SELECT [], ( SELECT emptyArrayDate('', '') ) AS n, ( SELECT [] ) AS kljdmawf, NULL, (CAST(('\0') AS Date)), [( SELECT '5eF', '' ) , ( SELECT yandexConsistentHash(arrayLast()) ) AS fx] ) AS xaf, ( SELECT '', 'Rk|L' ) AS cszvs) AS String)), 'tH74W(p', '/' ) AS gkazhica);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionDictionary.cpp:38: DB::TableFunctionDictionary::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d297e in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:22.083836 [ 21996 ] {49548c0b-54d7-4f20-a494-93aff069ad20} TCPHandler: Code: 42. DB::Exception: Table function ('dictionary') requires 1 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionDictionary.cpp:38: DB::TableFunctionDictionary::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d297e in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:22.167691 [ 21995 ] {f8d81e4a-c420-4d1d-a903-e1c978fc8d5b} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:22.206800 [ 21996 ] {d612f3bc-30fa-4644-bfc2-141980153ece} executeQuery: Code: 42. DB::Exception: The signature of table function file shall be the following: - filename - filename, format - filename, format, structure - filename, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM file();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97a42a in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:22.208324 [ 21996 ] {d612f3bc-30fa-4644-bfc2-141980153ece} TCPHandler: Code: 42. DB::Exception: The signature of table function file shall be the following: - filename - filename, format - filename, format, structure - filename, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97a42a in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:22.215695 [ 21996 ] {facb55a3-a3b9-4789-b197-1b5e5bda2fa5} executeQuery: Code: 42. DB::Exception: The signature of table function oss shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM oss();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995d8f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:22.217052 [ 21996 ] {facb55a3-a3b9-4789-b197-1b5e5bda2fa5} TCPHandler: Code: 42. DB::Exception: The signature of table function oss shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995d8f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:22.227896 [ 21996 ] {e099d1dd-71ec-42ed-96ea-2253dfd63164} executeQuery: Code: 42. DB::Exception: Number of arguments for function version doesn't match: passed 1, should be 0: While processing version('A}RK(;i'): While processing (SELECT version('A}RK(;i')) AS _subquery748: While processing LinfNorm('', (SELECT version('A}RK(;i')) AS _subquery748, (SELECT * FROM remoteSecure([], NULL)) AS bmeq). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT LinfNorm('', ( SELECT version('A}RK(;i') ) , ( SELECT * FROM remoteSecure([], NULL) ) AS bmeq);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 2024.12.17 01:31:22.229604 [ 21996 ] {e099d1dd-71ec-42ed-96ea-2253dfd63164} TCPHandler: Code: 42. DB::Exception: Number of arguments for function version doesn't match: passed 1, should be 0: While processing version('A}RK(;i'): While processing (SELECT version('A}RK(;i')) AS _subquery748: While processing LinfNorm('', (SELECT version('A}RK(;i')) AS _subquery748, (SELECT * FROM remoteSecure([], NULL)) AS bmeq). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 2024.12.17 01:31:22.286509 [ 21995 ] {1b88ce88-de83-49f3-ab1d-180d9c90bcd1} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:22.345762 [ 21996 ] {8a41d218-08e1-4732-9c94-225bce73b04f} executeQuery: Code: 35. DB::Exception: Function wordShingleSimHashUTF8 expect at least one argument: While processing wordShingleSimHashUTF8(). (TOO_FEW_ARGUMENTS_FOR_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT wordShingleSimHashUTF8();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringHash.h:57: DB::FunctionsStringHash, DB::NameWordShingleSimHashUTF8, true, false>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c3657f8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:22.347525 [ 21996 ] {8a41d218-08e1-4732-9c94-225bce73b04f} TCPHandler: Code: 35. DB::Exception: Function wordShingleSimHashUTF8 expect at least one argument: While processing wordShingleSimHashUTF8(). (TOO_FEW_ARGUMENTS_FOR_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringHash.h:57: DB::FunctionsStringHash, DB::NameWordShingleSimHashUTF8, true, false>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c3657f8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:22.354808 [ 21996 ] {d89cc3b9-9325-4d50-86d4-ec9ef7ff15dc} executeQuery: Code: 42. DB::Exception: Number of arguments for function s2RectContains doesn't match: passed 0, should be 3: While processing s2RectContains(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT s2RectContains();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:22.356476 [ 21996 ] {d89cc3b9-9325-4d50-86d4-ec9ef7ff15dc} TCPHandler: Code: 42. DB::Exception: Number of arguments for function s2RectContains doesn't match: passed 0, should be 3: While processing s2RectContains(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:22.364457 [ 21996 ] {be4ceaa9-3980-45da-87f4-dec3822bffa1} executeQuery: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mysql(NULL)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [161]) @ 0x000000001d7d27be in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:315: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x000000001d7d0f96 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:56: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9c9e81 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:22.366310 [ 21996 ] {be4ceaa9-3980-45da-87f4-dec3822bffa1} TCPHandler: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [161]) @ 0x000000001d7d27be in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:315: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x000000001d7d0f96 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:56: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9c9e81 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:22.396832 [ 21995 ] {c8439421-85e7-41b3-91e1-ded0e4504c48} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:22.493578 [ 21996 ] {e7f09e7c-c55f-4015-8d81-61205ace7955} executeQuery: Code: 43. DB::Exception: Illegal type Array(String) of argument of function exp2: While processing exp2(['$']). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM gcs(05489.87, exp2(['$']));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionMathUnary.h:49: DB::FunctionMathUnary>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e1b2f27 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb7ccd in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089ecb in /usr/bin/clickhouse 24. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a5dd in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a6f2 in /usr/bin/clickhouse 26. /build/src/Storages/StorageURL.cpp:1249: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x000000001da05cff in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995c49 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 2024.12.17 01:31:22.495216 [ 21996 ] {e7f09e7c-c55f-4015-8d81-61205ace7955} TCPHandler: Code: 43. DB::Exception: Illegal type Array(String) of argument of function exp2: While processing exp2(['$']). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionMathUnary.h:49: DB::FunctionMathUnary>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e1b2f27 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb7ccd in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089ecb in /usr/bin/clickhouse 24. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a5dd in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a6f2 in /usr/bin/clickhouse 26. /build/src/Storages/StorageURL.cpp:1249: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x000000001da05cff in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995c49 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 2024.12.17 01:31:22.515332 [ 21995 ] {5f5ca5c2-a8a2-4c58-8cc6-6d56572a98dd} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:22.634512 [ 21995 ] {da3f902d-04d9-48c8-9fd8-5bce29d2a2c4} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:22.657593 [ 21996 ] {aa8ca833-b054-41a4-b6fd-c59622662070} executeQuery: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Int64. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM meilisearch(toInt32OrNull('9'), [[[]]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/Storages/MeiliSearch/StorageMeiliSearch.cpp:176: DB::StorageMeiliSearch::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001adc6dff in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionMeiliSearch.cpp:26: DB::TableFunctionMeiliSearch::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a993426 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:22.660048 [ 21996 ] {aa8ca833-b054-41a4-b6fd-c59622662070} TCPHandler: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Int64. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/Storages/MeiliSearch/StorageMeiliSearch.cpp:176: DB::StorageMeiliSearch::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001adc6dff in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionMeiliSearch.cpp:26: DB::TableFunctionMeiliSearch::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a993426 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:22.804099 [ 21996 ] {e97ca2ca-106c-4b94-b17e-88d8b907f7d5} executeQuery: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data: While processing (SELECT * FROM format()) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM odbc(( SELECT * FROM format() ) , (CAST(('\0') AS String)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:44: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d58ea in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 23. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:1334: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa0d80 in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:70: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089d6e in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a5dd in /usr/bin/clickhouse 27. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a6f2 in /usr/bin/clickhouse 28. /build/src/TableFunctions/ITableFunctionXDBC.cpp:40: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9bec2b in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 2024.12.17 01:31:22.805949 [ 21996 ] {e97ca2ca-106c-4b94-b17e-88d8b907f7d5} TCPHandler: Code: 42. DB::Exception: Table function 'format' requires 2 or 3 arguments: format, [structure], data: While processing (SELECT * FROM format()) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionFormat.cpp:44: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d58ea in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 23. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:1334: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa0d80 in /usr/bin/clickhouse 25. /build/src/Interpreters/evaluateConstantExpression.cpp:70: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089d6e in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a5dd in /usr/bin/clickhouse 27. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a6f2 in /usr/bin/clickhouse 28. /build/src/TableFunctions/ITableFunctionXDBC.cpp:40: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9bec2b in /usr/bin/clickhouse 29. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 30. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 31. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 2024.12.17 01:31:22.814095 [ 21996 ] {2017b703-d5d4-4720-a121-0a5f77b332c4} executeQuery: Code: 42. DB::Exception: Number of arguments for function cutFragment doesn't match: passed 2, should be 1: While processing cutFragment(-26512920, 284). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT cutFragment(-26512920, 284);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:22.815677 [ 21996 ] {2017b703-d5d4-4720-a121-0a5f77b332c4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function cutFragment doesn't match: passed 2, should be 1: While processing cutFragment(-26512920, 284). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:22.821054 [ 21995 ] {8cd48931-3651-492d-a621-fcfb75076258} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:22.822171 [ 21996 ] {573e2c4e-c2f7-458d-acff-fcfd2836abb8} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM postgresql()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91bd33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7d99e0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cd536 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:22.823540 [ 21996 ] {573e2c4e-c2f7-458d-acff-fcfd2836abb8} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91bd33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7d99e0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cd536 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:22.829528 [ 21996 ] {0d5088d4-ce9b-444a-acda-400cfcad7f43} executeQuery: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM azureBlobStorage(NULL, '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [184]) @ 0x000000001a9e3e3e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:66: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e04ca in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e1f04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:22.830882 [ 21996 ] {0d5088d4-ce9b-444a-acda-400cfcad7f43} TCPHandler: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [184]) @ 0x000000001a9e3e3e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:66: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e04ca in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e1f04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:22.839085 [ 21996 ] {cfb85948-38e0-4240-8ab9-f56c369cfbc1} executeQuery: Code: 42. DB::Exception: Number of arguments for function positionCaseInsensitive doesn't match: passed 1, should be 2 or 3: While processing positionCaseInsensitive('1r'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT positionCaseInsensitive('1r');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:103: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000123376e0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:22.840649 [ 21996 ] {cfb85948-38e0-4240-8ab9-f56c369cfbc1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function positionCaseInsensitive doesn't match: passed 1, should be 2 or 3: While processing positionCaseInsensitive('1r'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:103: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000123376e0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:22.934757 [ 21995 ] {c3950434-dcd5-485f-88ba-cd7850a317ff} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:22.969904 [ 21996 ] {ea742559-770e-4ec7-9d25-21cb02935d27} executeQuery: Code: 36. DB::Exception: The argument of function isZeroOrNull must have simple numeric type, possibly Nullable: While processing transactionLatestSnapshot(isZeroOrNull('+pD'), NULL). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT transactionLatestSnapshot(isZeroOrNull('+pD'), NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/isZeroOrNull.cpp:48: DB::(anonymous namespace)::FunctionIsZeroOrNull::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000f83dac7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:31:22.971735 [ 21996 ] {ea742559-770e-4ec7-9d25-21cb02935d27} TCPHandler: Code: 36. DB::Exception: The argument of function isZeroOrNull must have simple numeric type, possibly Nullable: While processing transactionLatestSnapshot(isZeroOrNull('+pD'), NULL). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/isZeroOrNull.cpp:48: DB::(anonymous namespace)::FunctionIsZeroOrNull::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000f83dac7 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:31:22.983884 [ 21996 ] {3f9a050a-7a8a-4f67-ae5a-c68f663ae57e} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDate: While processing cutToFirstSignificantSubdomainCustomRFC(CAST(CAST([], 'Date'), 'DateTime'), toStartOfISOYear()). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT cutToFirstSignificantSubdomainCustomRFC((CAST(((CAST(([]) AS Date))) AS DateTime)), toStartOfISOYear());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533266 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:22.985610 [ 21996 ] {3f9a050a-7a8a-4f67-ae5a-c68f663ae57e} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDate: While processing cutToFirstSignificantSubdomainCustomRFC(CAST(CAST([], 'Date'), 'DateTime'), toStartOfISOYear()). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533266 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:22.992792 [ 21996 ] {74b8435d-416c-431f-a351-e619e2cc2af4} executeQuery: Code: 42. DB::Exception: Number of arguments for function lengthUTF8 doesn't match: passed 0, should be 1: While processing lengthUTF8(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT CHARACTER_LENGTH();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:22.994381 [ 21996 ] {74b8435d-416c-431f-a351-e619e2cc2af4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function lengthUTF8 doesn't match: passed 0, should be 1: While processing lengthUTF8(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:23.124580 [ 21996 ] {c1a71c31-8c3a-455f-b7c5-5975ccec6819} executeQuery: Code: 42. DB::Exception: Number of arguments for function age doesn't match: passed 0, should be 3 or 4: While processing age(): While processing (SELECT age()) AS _subquery749: While processing wordShingleSimHashUTF8((SELECT age()) AS _subquery749, (SELECT [], '^b=v') AS rlsu, (SELECT [(SELECT * FROM azureBlobStorageCluster([])) AS fjjwjocm, (SELECT * FROM file('\0', NULL)) AS jmbvzt], CAST(bitmapMin(-632.39), 'String'), visitParamExtractBool('Sf[Py-"', NULL)) AS rizqhyd). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT wordShingleSimHashUTF8(( SELECT age() ) , ( SELECT [], '^b=v' ) AS rlsu, ( SELECT [( SELECT * FROM azureBlobStorageCluster([]) ) AS fjjwjocm, ( SELECT * FROM file('\0', NULL) ) AS jmbvzt], (CAST((bitmapMin(-632.39)) AS String)), visitParamExtractBool('Sf[Py-"', NULL) ) AS rizqhyd);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/dateDiff.cpp:334: DB::(anonymous namespace)::FunctionDateDiff::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d9976df in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:23.126599 [ 21996 ] {c1a71c31-8c3a-455f-b7c5-5975ccec6819} TCPHandler: Code: 42. DB::Exception: Number of arguments for function age doesn't match: passed 0, should be 3 or 4: While processing age(): While processing (SELECT age()) AS _subquery749: While processing wordShingleSimHashUTF8((SELECT age()) AS _subquery749, (SELECT [], '^b=v') AS rlsu, (SELECT [(SELECT * FROM azureBlobStorageCluster([])) AS fjjwjocm, (SELECT * FROM file('\0', NULL)) AS jmbvzt], CAST(bitmapMin(-632.39), 'String'), visitParamExtractBool('Sf[Py-"', NULL)) AS rizqhyd). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/dateDiff.cpp:334: DB::(anonymous namespace)::FunctionDateDiff::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d9976df in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:23.129963 [ 21995 ] {e909e57e-1227-4b1f-a49d-95b0878a79ba} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:23.135051 [ 21996 ] {403aa2ad-fc6a-4f63-ad58-d0951fdf2ce8} executeQuery: Code: 42. DB::Exception: Number of arguments for function base64Decode doesn't match: passed 0, should be 1: While processing base64Decode(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT FROM_BASE64();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:23.136682 [ 21996 ] {403aa2ad-fc6a-4f63-ad58-d0951fdf2ce8} TCPHandler: Code: 42. DB::Exception: Number of arguments for function base64Decode doesn't match: passed 0, should be 1: While processing base64Decode(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:23.147759 [ 21996 ] {0467cd5d-721c-485a-b3bf-f278711bc352} executeQuery: Code: 42. DB::Exception: Number of arguments for function hasAny doesn't match: passed 0, should be 2: While processing -177705, '', hasAny(): While processing (SELECT -177705, '', hasAny()) AS fprmqq. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT 'yQ*-', (CAST(((CAST(('fsC') AS Date))) AS Date)), [NULL], ( SELECT -177705, '', hasAny() ) AS fprmqq, '';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 2024.12.17 01:31:23.149590 [ 21996 ] {0467cd5d-721c-485a-b3bf-f278711bc352} TCPHandler: Code: 42. DB::Exception: Number of arguments for function hasAny doesn't match: passed 0, should be 2: While processing -177705, '', hasAny(): While processing (SELECT -177705, '', hasAny()) AS fprmqq. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 2024.12.17 01:31:23.235949 [ 21995 ] {7b4cf854-9a9d-4445-8eef-0859389b4ea6} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:23.282354 [ 21996 ] {d0b44604-abac-47a8-8dda-be38f8dfcea3} executeQuery: Code: 42. DB::Exception: Number of arguments for function toDecimal128OrZero doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: While processing toDecimal128OrZero(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toDecimal128OrZero();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2174: DB::FunctionConvertFromString>>, DB::NameToDecimal128OrZero, (DB::ConvertFromStringExceptionMode)1, (DB::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bb5a880 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:23.284145 [ 21996 ] {d0b44604-abac-47a8-8dda-be38f8dfcea3} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toDecimal128OrZero doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: While processing toDecimal128OrZero(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2174: DB::FunctionConvertFromString>>, DB::NameToDecimal128OrZero, (DB::ConvertFromStringExceptionMode)1, (DB::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bb5a880 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:23.412372 [ 21996 ] {86c87bc6-1bdd-4d50-bbf3-76d760120fe4} executeQuery: Code: 42. DB::Exception: Number of arguments for function regionToPopulation doesn't match: passed 0, should be 1 or 2.: While processing regionToPopulation(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT regionToPopulation();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsEmbeddedDictionaries.h:163: DB::FunctionTransformWithDictionary::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bc4941f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:23.414187 [ 21996 ] {86c87bc6-1bdd-4d50-bbf3-76d760120fe4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function regionToPopulation doesn't match: passed 0, should be 1 or 2.: While processing regionToPopulation(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsEmbeddedDictionaries.h:163: DB::FunctionTransformWithDictionary::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bc4941f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:23.414676 [ 21995 ] {832994e4-eaed-4bb2-ab7e-6cdbae50dacc} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:23.524438 [ 21995 ] {e14fe6c1-5680-4f4c-be6f-721a01d980cd} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:23.542199 [ 21996 ] {3f0f4a4a-3d33-45a5-9be4-79a4913c916a} executeQuery: Code: 42. DB::Exception: SQLite database requires 2 arguments: database path, table name. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM sqlite();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [64]) @ 0x000000000bb55cde in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionSQLite.cpp:61: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d03dd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:23.543693 [ 21996 ] {3f0f4a4a-3d33-45a5-9be4-79a4913c916a} TCPHandler: Code: 42. DB::Exception: SQLite database requires 2 arguments: database path, table name. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [64]) @ 0x000000000bb55cde in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionSQLite.cpp:61: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d03dd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:23.549891 [ 21996 ] {a9008caa-9cfd-4356-aa7a-dd2a0f7507ec} executeQuery: Code: 701. DB::Exception: Requested cluster '' not found. (CLUSTER_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM urlCluster('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:62: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a98034d in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97bad7 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97fef7 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:23.551281 [ 21996 ] {a9008caa-9cfd-4356-aa7a-dd2a0f7507ec} TCPHandler: Code: 701. DB::Exception: Requested cluster '' not found. (CLUSTER_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:62: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a98034d in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97bad7 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97fef7 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:23.561914 [ 21996 ] {5b14fe23-f02f-4abc-93b2-794432d930b0} executeQuery: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing CAST(CAST('\0', 'String'), 'DateTime'), CAST(NULL, 'String'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(((CAST(('\0') AS String))) AS DateTime)), (CAST((NULL) AS String));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b2636b7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000001398a7f6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:966: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59acd6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1047: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59a9a5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1077: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b59a8d4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b59a7bb in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b594df8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b584a59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583d88 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 2024.12.17 01:31:23.563518 [ 21996 ] {5b14fe23-f02f-4abc-93b2-794432d930b0} TCPHandler: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing CAST(CAST('\0', 'String'), 'DateTime'), CAST(NULL, 'String'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b2636b7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000001398a7f6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:966: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59acd6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1047: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59a9a5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1077: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b59a8d4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b59a7bb in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b594df8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b584a59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583d88 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 2024.12.17 01:31:23.628674 [ 21995 ] {bdd043f7-d317-4037-8a86-902f0afcfa31} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:23.667863 [ 21996 ] {81ed6c6a-40cc-4aac-b7e6-c47e0d9e6113} executeQuery: Code: 73. DB::Exception: Unknown format : While processing formatRow('', NULL). (UNKNOWN_FORMAT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT formatRow('', NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Functions/formatRow.cpp:44: DB::(anonymous namespace)::FunctionFormatRow::FunctionFormatRow(String, std::vector>, std::shared_ptr) @ 0x000000000e27869a in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::(anonymous namespace)::FunctionFormatRow* std::construct_at[abi:v15000], String, std::vector>, std::shared_ptr const&, DB::(anonymous namespace)::FunctionFormatRow*>(DB::(anonymous namespace)::FunctionFormatRow*, String&&, std::vector>&&, std::shared_ptr const&) @ 0x000000000e278517 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>::construct[abi:v15000], String, std::vector>, std::shared_ptr const&, void, void>(std::allocator>&, DB::(anonymous namespace)::FunctionFormatRow*, String&&, std::vector>&&, std::shared_ptr const&) @ 0x000000000e278291 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, std::allocator>>::__shared_ptr_emplace[abi:v15000]>, std::shared_ptr const&>(std::allocator>, String&&, std::vector>&&, std::shared_ptr const&) @ 0x000000000e277f97 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, String, std::vector>, std::shared_ptr const&, void>(std::allocator> const&, String&&, std::vector>&&, std::shared_ptr const&) @ 0x000000000e277e0a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr> std::make_shared[abi:v15000], String, std::vector>, std::shared_ptr const&, void>(String&&, std::vector>&&, std::shared_ptr const&) @ 0x000000000e277c96 in /usr/bin/clickhouse 12. /build/src/Functions/formatRow.cpp:137: DB::(anonymous namespace)::FormatRowOverloadResolver::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x000000000e27785c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:451: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee07e in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:31:23.669724 [ 21996 ] {81ed6c6a-40cc-4aac-b7e6-c47e0d9e6113} TCPHandler: Code: 73. DB::Exception: Unknown format : While processing formatRow('', NULL). (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Functions/formatRow.cpp:44: DB::(anonymous namespace)::FunctionFormatRow::FunctionFormatRow(String, std::vector>, std::shared_ptr) @ 0x000000000e27869a in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::(anonymous namespace)::FunctionFormatRow* std::construct_at[abi:v15000], String, std::vector>, std::shared_ptr const&, DB::(anonymous namespace)::FunctionFormatRow*>(DB::(anonymous namespace)::FunctionFormatRow*, String&&, std::vector>&&, std::shared_ptr const&) @ 0x000000000e278517 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>>::construct[abi:v15000], String, std::vector>, std::shared_ptr const&, void, void>(std::allocator>&, DB::(anonymous namespace)::FunctionFormatRow*, String&&, std::vector>&&, std::shared_ptr const&) @ 0x000000000e278291 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace, std::allocator>>::__shared_ptr_emplace[abi:v15000]>, std::shared_ptr const&>(std::allocator>, String&&, std::vector>&&, std::shared_ptr const&) @ 0x000000000e277f97 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, String, std::vector>, std::shared_ptr const&, void>(std::allocator> const&, String&&, std::vector>&&, std::shared_ptr const&) @ 0x000000000e277e0a in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr> std::make_shared[abi:v15000], String, std::vector>, std::shared_ptr const&, void>(String&&, std::vector>&&, std::shared_ptr const&) @ 0x000000000e277c96 in /usr/bin/clickhouse 12. /build/src/Functions/formatRow.cpp:137: DB::(anonymous namespace)::FormatRowOverloadResolver::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x000000000e27785c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:451: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee07e in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:31:23.732912 [ 21995 ] {400a3945-0787-45cf-94b6-7f83b6d6c23c} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:23.787670 [ 21996 ] {836c70d1-78c6-40fc-a908-815e723cfde2} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for aggregate function uniqCombined. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toLowCardinality(uniqCombined(), (CAST(([]) AS DateTime))), [], NULL, '';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionUniqCombined.cpp:115: DB::(anonymous namespace)::createAggregateFunctionUniqCombined(bool, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000017008ae6 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionUniqCombined.cpp:150: DB::registerAggregateFunctionUniqCombined(DB::AggregateFunctionFactory&)::$_0::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001700886f in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerAggregateFunctionUniqCombined(DB::AggregateFunctionFactory&)::$_0&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000017008818 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerAggregateFunctionUniqCombined(DB::AggregateFunctionFactory&)::$_0&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x00000000170087b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000017008755 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000170086fd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:31:23.789560 [ 21996 ] {836c70d1-78c6-40fc-a908-815e723cfde2} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for aggregate function uniqCombined. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionUniqCombined.cpp:115: DB::(anonymous namespace)::createAggregateFunctionUniqCombined(bool, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000017008ae6 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionUniqCombined.cpp:150: DB::registerAggregateFunctionUniqCombined(DB::AggregateFunctionFactory&)::$_0::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001700886f in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000], std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerAggregateFunctionUniqCombined(DB::AggregateFunctionFactory&)::$_0&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000017008818 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call, std::allocator>> const&, DB::Array const&, DB::Settings const*>(DB::registerAggregateFunctionUniqCombined(DB::AggregateFunctionFactory&)::$_0&, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x00000000170087b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000017008755 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000170086fd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:31:23.848007 [ 21995 ] {badb1589-c04b-45e3-9047-47a7b4940e40} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:23.924797 [ 21996 ] {d12c16b3-1427-4539-9d1c-b56f9a2c4e0a} executeQuery: Code: 36. DB::Exception: Argument 'format' must be a literal with type String, got Null. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM format(NULL, '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFormat.cpp:49: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d5a89 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:23.926572 [ 21996 ] {d12c16b3-1427-4539-9d1c-b56f9a2c4e0a} TCPHandler: Code: 36. DB::Exception: Argument 'format' must be a literal with type String, got Null. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFormat.cpp:49: DB::TableFunctionFormat::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d5a89 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:24.020817 [ 21995 ] {db87ac79-1bb4-4349-b6bb-e3b3cf0bd3a5} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:24.044955 [ 21996 ] {0b694881-82c5-429b-896f-6d21b79a808b} executeQuery: Code: 42. DB::Exception: Number of arguments for function positionCaseInsensitiveUTF8 doesn't match: passed 0, should be 2 or 3: While processing '', [positionCaseInsensitiveUTF8()]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '', [positionCaseInsensitiveUTF8()];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:103: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001233aee0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:31:24.046495 [ 21996 ] {0b694881-82c5-429b-896f-6d21b79a808b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function positionCaseInsensitiveUTF8 doesn't match: passed 0, should be 2 or 3: While processing '', [positionCaseInsensitiveUTF8()]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:103: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001233aee0 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:31:24.053840 [ 21996 ] {bfc34f20-5310-4d47-9d0a-b32d57aaf558} executeQuery: Code: 42. DB::Exception: Number of arguments for function extractAll doesn't match: passed 0, should be 2: While processing extractAll(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41908) (comment: 00746_sql_fuzzy.sh) (in query: SELECT extractAll();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:24.055513 [ 21996 ] {bfc34f20-5310-4d47-9d0a-b32d57aaf558} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extractAll doesn't match: passed 0, should be 2: While processing extractAll(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:24.148287 [ 21995 ] {45d65e7d-a04d-47c8-ab36-1f4125cf6122} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:24.352775 [ 21995 ] {19752385-2c37-44bb-9f1e-3333daf3354d} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:24.474005 [ 21995 ] {93662d15-9992-4ff0-9785-803aa85a982d} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:24.583190 [ 21995 ] {296ce8c5-78d6-4197-94a6-d350ecc96da0} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:24.685398 [ 21995 ] {1967c949-1e1a-4669-8a92-0fa52b5c1274} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:24.789748 [ 21995 ] {81828ccc-bd9f-41a3-b102-77afff5ea04b} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:24.899103 [ 21995 ] {0a22158a-b076-4244-acb7-b5a6b68e04fa} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:25.024347 [ 21995 ] {56ad6d7b-53de-414c-baf4-238891931c0b} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:25.099969 [ 21995 ] {b888e429-e479-4575-97f0-3f06ee995856} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:25.223337 [ 21995 ] {071de507-1f07-4bc1-a013-0fe0c126d4d7} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:25.338064 [ 21995 ] {530ab2d8-fa3b-4285-8462-6c71a91fbec9} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:25.453288 [ 21995 ] {5e644620-b905-4136-aa3a-106ee1cfa680} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:25.558752 [ 21995 ] {40aaa8ec-31b3-48b4-bc15-34588b1a997a} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:25.673716 [ 21995 ] {780ff6c5-3cea-4ee3-ab0b-9661e9868380} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:25.802276 [ 21995 ] {3e720d23-d532-4d9b-b0ee-89713175c654} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:25.921356 [ 21995 ] {0efb78ab-a3f0-4399-be09-9d499d192ec4} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:26.037294 [ 21995 ] {907313e2-5ae7-4cd7-bc9d-d052037eac97} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:26.138636 [ 21995 ] {8b788bbb-d165-42e8-8964-6981a3e6fbcb} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:26.266448 [ 21995 ] {02605883-d97a-4541-916b-bf5832579d86} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:26.379521 [ 21995 ] {9a4ac98f-0d5b-41d6-967d-4f9cc4398657} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:26.507517 [ 21995 ] {ecbb3852-101d-49fc-8bdd-c76c7c552848} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:26.573089 [ 21995 ] {fe2e2b55-8c77-42b8-a09c-bd1cf19d182b} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:26.700864 [ 21995 ] {b251e560-320a-48a6-b29a-7ce2115ff8fb} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:26.811404 [ 21995 ] {c1dd92b3-0efe-406c-a5bc-bf9c84b12b2f} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:26.919434 [ 21995 ] {3ac75f7d-523d-4c61-a7c1-3d81ea180233} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:27.069581 [ 21995 ] {d4094124-796a-48e3-88bc-dd3b7ef0365a} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:27.194692 [ 21995 ] {71e14001-e5e4-4e2d-ae7f-f507db06c9c4} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:27.310365 [ 21995 ] {4ab473a4-4f7d-4c09-b14e-45c6fdb13754} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:27.445327 [ 21995 ] {104dbbf2-b3c9-4bdf-b882-ad6ec2278c7e} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:27.557013 [ 21995 ] {0a5e0af0-efe8-4dad-94d8-7c86c8125879} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:27.726600 [ 21995 ] {cd33f319-dd90-497b-9c3c-4e33b4740261} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:27.801131 [ 21984 ] {fd673f46-2475-45b3-8254-f2b81adaf791} executeQuery: Code: 42. DB::Exception: Storage MeiliSearch requires 3 parameters: MeiliSearch('url', 'index', 'key'= ""): While processing (SELECT * FROM meilisearch(CAST(NULL, 'DateTime'))) AS oprv: While processing [(SELECT * FROM meilisearch(CAST(NULL, 'DateTime'))) AS oprv]: While processing [[(SELECT * FROM meilisearch(CAST(NULL, 'DateTime'))) AS oprv]]: While processing LpNormalize([[(SELECT * FROM meilisearch(CAST(NULL, 'DateTime'))) AS oprv]], NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT normalizeLp([[( SELECT * FROM meilisearch((CAST((NULL) AS DateTime))) ) AS oprv]], NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [82]) @ 0x0000000013c40d5e in /usr/bin/clickhouse 6. /build/src/Storages/MeiliSearch/StorageMeiliSearch.cpp:169: DB::StorageMeiliSearch::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001adc6c95 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMeiliSearch.cpp:26: DB::TableFunctionMeiliSearch::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a993426 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 2024.12.17 01:31:27.803002 [ 21984 ] {fd673f46-2475-45b3-8254-f2b81adaf791} TCPHandler: Code: 42. DB::Exception: Storage MeiliSearch requires 3 parameters: MeiliSearch('url', 'index', 'key'= ""): While processing (SELECT * FROM meilisearch(CAST(NULL, 'DateTime'))) AS oprv: While processing [(SELECT * FROM meilisearch(CAST(NULL, 'DateTime'))) AS oprv]: While processing [[(SELECT * FROM meilisearch(CAST(NULL, 'DateTime'))) AS oprv]]: While processing LpNormalize([[(SELECT * FROM meilisearch(CAST(NULL, 'DateTime'))) AS oprv]], NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [82]) @ 0x0000000013c40d5e in /usr/bin/clickhouse 6. /build/src/Storages/MeiliSearch/StorageMeiliSearch.cpp:169: DB::StorageMeiliSearch::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001adc6c95 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMeiliSearch.cpp:26: DB::TableFunctionMeiliSearch::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a993426 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 2024.12.17 01:31:27.841295 [ 21995 ] {3a4fe8b7-aba5-4005-ad82-eceb124d686b} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:27.951368 [ 21995 ] {00f9e002-db4a-4d6f-9020-9fa861a09b0c} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:28.054174 [ 21995 ] {a76f0886-24b8-4099-b5c5-683c91b0ff97} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:28.173229 [ 21995 ] {e58bd9d2-525e-4de3-ac71-7dcf51ec3b7c} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:28.254750 [ 21984 ] {ff84968f-d4b0-4c79-a374-19eb0e6a8601} executeQuery: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Int64. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM s3Cluster(-7631, 63);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:59: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9a835d in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9a8017 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:28.256366 [ 21984 ] {ff84968f-d4b0-4c79-a374-19eb0e6a8601} TCPHandler: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Int64. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:59: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9a835d in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9a8017 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:28.274891 [ 21984 ] {ca4cddf0-c5ae-43c5-80bb-55bcd73858f7} executeQuery: Code: 42. DB::Exception: Number of arguments for function repeat doesn't match: passed 0, should be 2: While processing repeat(): While processing (SELECT repeat()) AS _subquery750: While processing (SELECT '', [wordShingleMinHashCaseInsensitiveUTF8('\0')], 'I2QAN*cR', (SELECT repeat()), 's8') AS zwm: While processing CAST((SELECT '', [wordShingleMinHashCaseInsensitiveUTF8('\0')], 'I2QAN*cR', (SELECT repeat()), 's8') AS zwm, 'Date'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM oss(NULL, (CAST((( SELECT '', [wordShingleMinHashCaseInsensitiveUTF8('\0')], 'I2QAN*cR', ( SELECT repeat() ) , 's8' ) AS zwm) AS Date)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 2024.12.17 01:31:28.276758 [ 21984 ] {ca4cddf0-c5ae-43c5-80bb-55bcd73858f7} TCPHandler: Code: 42. DB::Exception: Number of arguments for function repeat doesn't match: passed 0, should be 2: While processing repeat(): While processing (SELECT repeat()) AS _subquery750: While processing (SELECT '', [wordShingleMinHashCaseInsensitiveUTF8('\0')], 'I2QAN*cR', (SELECT repeat()), 's8') AS zwm: While processing CAST((SELECT '', [wordShingleMinHashCaseInsensitiveUTF8('\0')], 'I2QAN*cR', (SELECT repeat()), 's8') AS zwm, 'Date'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 2024.12.17 01:31:28.281803 [ 21995 ] {cb161d7d-35a6-4f0e-ac7a-bb0884483392} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:28.324650 [ 21984 ] {03b3a32d-d4a1-4438-ae9f-1ea3e165cd83} executeQuery: Code: 42. DB::Exception: Number of arguments for function upperUTF8 doesn't match: passed 0, should be 1: While processing upperUTF8(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT upperUTF8();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:28.326270 [ 21984 ] {03b3a32d-d4a1-4438-ae9f-1ea3e165cd83} TCPHandler: Code: 42. DB::Exception: Number of arguments for function upperUTF8 doesn't match: passed 0, should be 1: While processing upperUTF8(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:28.392708 [ 21995 ] {af146b05-8b8f-418c-8a44-7f54495c5e4b} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:28.449027 [ 21995 ] {d8fe71c5-c079-471a-9b62-54011b57a4d3} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:28.454653 [ 21984 ] {2811ee50-0c73-49c7-b921-872c5b8534b2} executeQuery: Code: 42. DB::Exception: The signature of table function url shall be the following: - uri - uri, format - uri, format, structure - uri, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM url();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97a42a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionURL.cpp:69: DB::TableFunctionURL::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97bf39 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97bad7 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:28.456134 [ 21984 ] {2811ee50-0c73-49c7-b921-872c5b8534b2} TCPHandler: Code: 42. DB::Exception: The signature of table function url shall be the following: - uri - uri, format - uri, format, structure - uri, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97a42a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionURL.cpp:69: DB::TableFunctionURL::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97bf39 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97bad7 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:28.463531 [ 21984 ] {7a91ea4d-d738-4bff-8e98-57d5cffbde98} executeQuery: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM executable();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:62: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a96f988 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:28.464919 [ 21984 ] {7a91ea4d-d738-4bff-8e98-57d5cffbde98} TCPHandler: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:62: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a96f988 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:28.562081 [ 21995 ] {2dc4a588-0cff-45c5-861e-ecbb6839d4ed} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:28.612095 [ 21984 ] {5a20332a-9b86-4de9-9da7-9ee1ba1c330f} executeQuery: Code: 42. DB::Exception: The signature of table function urlCluster shall be the following: - cluster, uri - cluster, uri, format - cluster, uri, format, structure - cluster, uri, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM urlCluster();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:53: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9800f8 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97bad7 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97fef7 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:28.613771 [ 21984 ] {5a20332a-9b86-4de9-9da7-9ee1ba1c330f} TCPHandler: Code: 42. DB::Exception: The signature of table function urlCluster shall be the following: - cluster, uri - cluster, uri, format - cluster, uri, format, structure - cluster, uri, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:53: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9800f8 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionURL.cpp:43: DB::TableFunctionURL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97bad7 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97fef7 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:28.674932 [ 21995 ] {e336b80d-3dc4-41cb-a668-8dc63b02e13a} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:28.755550 [ 21984 ] {b9b3b401-1190-4228-bf71-404eafeff83b} executeQuery: Code: 35. DB::Exception: Function ngramMinHashCaseInsensitiveUTF8 expect at least one argument: While processing ngramMinHashCaseInsensitiveUTF8(). (TOO_FEW_ARGUMENTS_FOR_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ngramMinHashCaseInsensitiveUTF8();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringHash.h:57: DB::FunctionsStringHash, DB::NameNgramMinHashCaseInsensitiveUTF8, false, false>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c378db8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:28.757770 [ 21984 ] {b9b3b401-1190-4228-bf71-404eafeff83b} TCPHandler: Code: 35. DB::Exception: Function ngramMinHashCaseInsensitiveUTF8 expect at least one argument: While processing ngramMinHashCaseInsensitiveUTF8(). (TOO_FEW_ARGUMENTS_FOR_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringHash.h:57: DB::FunctionsStringHash, DB::NameNgramMinHashCaseInsensitiveUTF8, false, false>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c378db8 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:28.769392 [ 21984 ] {d4a11a3e-50e9-4c3e-b389-be7f97093b92} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing ['0D3r5'], CAST(CAST('{\\]J4', 'Date'), 'Date'), [''], replaceOne(). (CANNOT_PARSE_DATE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ['0D3r5'], (CAST(((CAST(('{\]J4') AS Date))) AS Date)), [''], replaceOne();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:28.771075 [ 21984 ] {d4a11a3e-50e9-4c3e-b389-be7f97093b92} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing ['0D3r5'], CAST(CAST('{\\]J4', 'Date'), 'Date'), [''], replaceOne(). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:28.780307 [ 21984 ] {4e60ab8f-f544-404f-9dee-c35f2c9b08a5} executeQuery: Code: 42. DB::Exception: The signature of table function s3Cluster shall be the following: - cluster, url - cluster, url, format - cluster, url, format, structure - cluster, url, access_key_id, secret_access_key - cluster, url, format, structure, compression_method - cluster, url, access_key_id, secret_access_key, format - cluster, url, access_key_id, secret_access_key, format, structure - cluster, url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM s3Cluster();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:53: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9a8218 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9a8017 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:28.781892 [ 21984 ] {4e60ab8f-f544-404f-9dee-c35f2c9b08a5} TCPHandler: Code: 42. DB::Exception: The signature of table function s3Cluster shall be the following: - cluster, url - cluster, url, format - cluster, url, format, structure - cluster, url, access_key_id, secret_access_key - cluster, url, format, structure, compression_method - cluster, url, access_key_id, secret_access_key, format - cluster, url, access_key_id, secret_access_key, format, structure - cluster, url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:53: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9a8218 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9a8017 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:28.783075 [ 21995 ] {c84cc1ff-23b7-4812-b285-46d39217bc23} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:28.800693 [ 21984 ] {f943a6ec-f80d-4a86-a070-02fccbc799d7} executeQuery: Code: 43. DB::Exception: Illegal type Array(String) of argument of function toDate: While processing dotProduct(CAST(['\0'], 'Date'), 'zM'): While processing (SELECT dotProduct(CAST(['\0'], 'Date'), 'zM')) AS _subquery751: While processing __bitBoolMaskOr((SELECT dotProduct(CAST(['\0'], 'Date'), 'zM')) AS _subquery751, (SELECT * FROM postgresql((SELECT [], polygonsWithinSpherical([]), ['`'], ['']) AS pxhh, (SELECT CAST('\0', 'Date')) AS wwjp, -6323234.28009)) AS _subquery752). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT __bitBoolMaskOr((SELECT scalarProduct(CAST(['\0'], 'Date'), 'zM')), (SELECT * FROM postgresql((SELECT [], polygonsWithinSpherical([]), ['`'], ['']) AS pxhh, (SELECT CAST('\0', 'Date')) AS wwjp, -6323234.28009)))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533266 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:28.802591 [ 21984 ] {f943a6ec-f80d-4a86-a070-02fccbc799d7} TCPHandler: Code: 43. DB::Exception: Illegal type Array(String) of argument of function toDate: While processing dotProduct(CAST(['\0'], 'Date'), 'zM'): While processing (SELECT dotProduct(CAST(['\0'], 'Date'), 'zM')) AS _subquery751: While processing __bitBoolMaskOr((SELECT dotProduct(CAST(['\0'], 'Date'), 'zM')) AS _subquery751, (SELECT * FROM postgresql((SELECT [], polygonsWithinSpherical([]), ['`'], ['']) AS pxhh, (SELECT CAST('\0', 'Date')) AS wwjp, -6323234.28009)) AS _subquery752). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533266 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:28.810118 [ 21984 ] {ce4493c1-7eba-409c-9a52-7a183c5c0ff4} executeQuery: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remote(-18);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb45fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a948b84 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:28.811484 [ 21984 ] {ce4493c1-7eba-409c-9a52-7a183c5c0ff4} TCPHandler: Code: 36. DB::Exception: Hosts pattern must be string literal (in single quotes). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb45fe in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:151: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a948b84 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:28.819185 [ 21984 ] {3bc8de12-630a-4e9a-8302-48a2d94a48ef} executeQuery: Code: 42. DB::Exception: Number of arguments for function normalizedQueryHash doesn't match: passed 0, should be 1: While processing normalizedQueryHash(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT normalizedQueryHash();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:28.821175 [ 21984 ] {3bc8de12-630a-4e9a-8302-48a2d94a48ef} TCPHandler: Code: 42. DB::Exception: Number of arguments for function normalizedQueryHash doesn't match: passed 0, should be 1: While processing normalizedQueryHash(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:28.840082 [ 21984 ] {e39c65e7-0eca-4757-b5de-5bd38be3dccd} executeQuery: Code: 42. DB::Exception: Number of arguments for function L2SquaredDistance doesn't match: passed 0, should be 2: While processing L2SquaredDistance(): While processing (SELECT L2SquaredDistance()) AS _subquery753: While processing [(SELECT L2SquaredDistance()) AS _subquery753]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [( SELECT -66902.5189, '', '\0', [] ) AS xmbflxn], -50216603, 'cso%Z q', [( SELECT distanceL2Squared() ) ];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 2024.12.17 01:31:28.841926 [ 21984 ] {e39c65e7-0eca-4757-b5de-5bd38be3dccd} TCPHandler: Code: 42. DB::Exception: Number of arguments for function L2SquaredDistance doesn't match: passed 0, should be 2: While processing L2SquaredDistance(): While processing (SELECT L2SquaredDistance()) AS _subquery753: While processing [(SELECT L2SquaredDistance()) AS _subquery753]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 2024.12.17 01:31:28.898372 [ 21995 ] {5ecb2ac0-9947-4134-b574-5e63c482d8c4} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:28.977736 [ 21984 ] {ff53134c-ae35-4231-afc6-f42c5463f2bc} executeQuery: Code: 42. DB::Exception: Aggregate function quantileBFloat16 requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT medianBFloat16(), 'tjgj_h#', '\0', NULL, [];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8abc1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:249: DB::AggregateFunctionQuantile, DB::NameQuantileBFloat16, false, double, false>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x0000000014d25f0d in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileBFloat16.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014d25504 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:31:28.979565 [ 21984 ] {ff53134c-ae35-4231-afc6-f42c5463f2bc} TCPHandler: Code: 42. DB::Exception: Aggregate function quantileBFloat16 requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8abc1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:249: DB::AggregateFunctionQuantile, DB::NameQuantileBFloat16, false, double, false>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x0000000014d25f0d in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileBFloat16.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014d25504 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:31:28.990106 [ 21984 ] {2b9238b2-8e10-4af5-a476-2fa904102a43} executeQuery: Code: 42. DB::Exception: Table function ('dictionary') requires 1 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM dictionary(extractGroups(topKWeighted()), ['\0']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionDictionary.cpp:38: DB::TableFunctionDictionary::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d297e in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:28.991639 [ 21984 ] {2b9238b2-8e10-4af5-a476-2fa904102a43} TCPHandler: Code: 42. DB::Exception: Table function ('dictionary') requires 1 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionDictionary.cpp:38: DB::TableFunctionDictionary::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d297e in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:28.999261 [ 21984 ] {0ff02db0-f64a-4e55-a624-c3bc8534f6fe} executeQuery: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Null. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM clusterAllReplicas(NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:139: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a948a1f in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:29.000705 [ 21984 ] {0ff02db0-f64a-4e55-a624-c3bc8534f6fe} TCPHandler: Code: 36. DB::Exception: Argument 'cluster_name' must be a literal with type String, got Null. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:139: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a948a1f in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:29.018461 [ 21995 ] {92a00010-8a9c-45b0-9e0a-51f45e3960f5} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:29.022239 [ 21984 ] {fbda1800-8a32-4179-ae5b-ec79ddc4b415} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing CAST('\0', 'Date'): While processing (SELECT count(CAST('\0', 'Date'))) AS _subquery754: While processing (__getScalar('17245408914878635266_16541744523285632714') AS ekpkhh, (SELECT count(CAST('\0', 'Date'))) AS _subquery754): While processing CAST((__getScalar('17245408914878635266_16541744523285632714') AS ekpkhh, (SELECT count(CAST('\0', 'Date'))) AS _subquery754), 'Date'). (CANNOT_PARSE_DATE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST((( SELECT '', [[]], -70412559 ) AS ekpkhh, ( SELECT count((CAST(('\0') AS Date))) ) ) AS Date)), '\0', [];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:29.024263 [ 21984 ] {fbda1800-8a32-4179-ae5b-ec79ddc4b415} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing CAST('\0', 'Date'): While processing (SELECT count(CAST('\0', 'Date'))) AS _subquery754: While processing (__getScalar('17245408914878635266_16541744523285632714') AS ekpkhh, (SELECT count(CAST('\0', 'Date'))) AS _subquery754): While processing CAST((__getScalar('17245408914878635266_16541744523285632714') AS ekpkhh, (SELECT count(CAST('\0', 'Date'))) AS _subquery754), 'Date'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:29.032638 [ 21984 ] {0878e07b-48b9-4d03-8554-60e7b47293d2} executeQuery: Code: 42. DB::Exception: Number of arguments for function arrayWithConstant doesn't match: passed 0, should be 2: While processing arrayWithConstant(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT arrayWithConstant();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:29.034461 [ 21984 ] {0878e07b-48b9-4d03-8554-60e7b47293d2} TCPHandler: Code: 42. DB::Exception: Number of arguments for function arrayWithConstant doesn't match: passed 0, should be 2: While processing arrayWithConstant(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:29.078623 [ 21995 ] {5911f1ef-7db5-49d2-a15c-154fbbc0ec88} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:29.158561 [ 21984 ] {3461931c-a146-429f-afa2-3cf3923c4359} executeQuery: Code: 42. DB::Exception: Aggregate function anyLast requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT anyLast('', -90987.2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8abc1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:23: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e1e15 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:28: DB::(anonymous namespace)::createAggregateFunctionAnyLast(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e0dcd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:31:29.160479 [ 21984 ] {3461931c-a146-429f-afa2-3cf3923c4359} TCPHandler: Code: 42. DB::Exception: Aggregate function anyLast requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8abc1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/HelpersMinMaxAny.h:23: DB::IAggregateFunction* DB::createAggregateFunctionSingleValue(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e1e15 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionAny.cpp:28: DB::(anonymous namespace)::createAggregateFunctionAnyLast(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000157e0dcd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:31:29.191536 [ 21995 ] {44c49445-5a54-44b2-91a8-c4dea9bbd5f2} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:29.306536 [ 21984 ] {baa1da64-d482-4bac-a823-bd7606ec460f} executeQuery: Code: 62. DB::Exception: Syntax error (columns declaration list): failed at position 1 (','): ,r@A. Expected one of: column declaration list, list of elements, column declaration, identifier. (SYNTAX_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM null(',r@A');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000001f47d8e7 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000001f47d9c6 in /usr/bin/clickhouse 8. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, String const&, String const&, unsigned long, unsigned long) @ 0x000000001f47da47 in /usr/bin/clickhouse 9. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:70: DB::parseColumnsListFromString(String const&, std::shared_ptr const&) @ 0x000000001d0e2427 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionNull.cpp:46: DB::TableFunctionNull::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a95a8e8 in /usr/bin/clickhouse 11. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:29.309272 [ 21995 ] {a89b74df-2a62-4010-8000-87e612b55e68} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:29.420414 [ 21995 ] {58af65be-0be5-4aae-8505-61fcdb88e602} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:29.428365 [ 21984 ] {baa1da64-d482-4bac-a823-bd7606ec460f} TCPHandler: Code: 62. DB::Exception: Syntax error (columns declaration list): failed at position 1 (','): ,r@A. Expected one of: column declaration list, list of elements, column declaration, identifier. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:80: DB::Exception::createDeprecated(String const&, int, bool) @ 0x000000000b1feb95 in /usr/bin/clickhouse 6. /build/src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000001f47d8e7 in /usr/bin/clickhouse 7. /build/src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000001f47d9c6 in /usr/bin/clickhouse 8. /build/src/Parsers/parseQuery.cpp:386: DB::parseQuery(DB::IParser&, String const&, String const&, unsigned long, unsigned long) @ 0x000000001f47da47 in /usr/bin/clickhouse 9. /build/src/Interpreters/parseColumnsListForTableFunction.cpp:70: DB::parseColumnsListFromString(String const&, std::shared_ptr const&) @ 0x000000001d0e2427 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionNull.cpp:46: DB::TableFunctionNull::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a95a8e8 in /usr/bin/clickhouse 11. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:29.428483 [ 8668 ] {1b6ce3a1-192b-460d-bb36-ba81dbf0de56} executeQuery: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function covarPop. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57044) (comment: 00700_decimal_empty_aggregates.sql) (in query: SELECT covarPop(a, a), covarPop(b, b), covarPop(c, c) FROM decimal;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x0000000013dfb708 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015c208b1 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:29.429543 [ 8668 ] {1b6ce3a1-192b-460d-bb36-ba81dbf0de56} TCPHandler: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function covarPop. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x0000000013dfb708 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015c208b1 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:29.437446 [ 21984 ] {8f363b10-6915-495a-ab57-677f0ba43945} executeQuery: Code: 42. DB::Exception: Number of arguments for function polygonsUnionCartesian doesn't match: passed 0, should be 2: While processing timeZoneOffset('J', polygonsUnionCartesian()), '', 'TnRfn+@x'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT timeZoneOffset('J', polygonsUnionCartesian()), '', 'TnRfn+@x';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:29.439184 [ 21984 ] {8f363b10-6915-495a-ab57-677f0ba43945} TCPHandler: Code: 42. DB::Exception: Number of arguments for function polygonsUnionCartesian doesn't match: passed 0, should be 2: While processing timeZoneOffset('J', polygonsUnionCartesian()), '', 'TnRfn+@x'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:29.520436 [ 21995 ] {a72bad34-8fa3-460a-b44e-012e3ac0bc17} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:29.559903 [ 8668 ] {056cbe6b-d891-4ac7-88b6-d317949e4712} executeQuery: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function covarSamp. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57044) (comment: 00700_decimal_empty_aggregates.sql) (in query: SELECT covarSamp(a, a), covarSamp(b, b), covarSamp(c, c) FROM decimal;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x0000000013dfb708 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015c20671 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:29.689729 [ 21984 ] {75e3a29e-750c-4891-a803-28ef223a02f7} executeQuery: Code: 42. DB::Exception: Number of arguments for function toFloat64OrNull doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: While processing toFloat64OrNull(): While processing (SELECT toFloat64OrNull()) AS _subquery756: While processing CAST((SELECT toFloat64OrNull()) AS _subquery756, 'Date'): While processing (SELECT CAST((SELECT toFloat64OrNull()), 'Date'), CAST(CAST(5560.183321, 'Date'), 'String'), dictGetFloat64([]), [(SELECT * FROM iceberg('', [])) AS zywgdkq, (SELECT toStartOfFifteenMinutes())], '\0') AS _subquery755: While processing halfMD5((SELECT CAST((SELECT toFloat64OrNull()), 'Date'), CAST(CAST(5560.183321, 'Date'), 'String'), dictGetFloat64([]), [(SELECT * FROM iceberg('', [])) AS zywgdkq, (SELECT toStartOfFifteenMinutes())], '\0') AS _subquery755, -62325291.311): While processing uniqHLL12([endsWith()], halfMD5((SELECT CAST((SELECT toFloat64OrNull()), 'Date'), CAST(CAST(5560.183321, 'Date'), 'String'), dictGetFloat64([]), [(SELECT * FROM iceberg('', [])) AS zywgdkq, (SELECT toStartOfFifteenMinutes())], '\0') AS _subquery755, -62325291.311)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [], uniqHLL12([endsWith()], halfMD5(( SELECT (CAST((( SELECT toFloat64OrNull() ) ) AS Date)), (CAST(((CAST((5560.183321) AS Date))) AS String)), dictGetFloat64([]), [( SELECT * FROM iceberg('', []) ) AS zywgdkq, ( SELECT toStartOfFifteenMinutes() ) ], '\0' ) , -62325291.311)), '', (CAST((-4366006.8) AS Date)), '';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2174: DB::FunctionConvertFromString, DB::NameToFloat64OrNull, (DB::ConvertFromStringExceptionMode)2, (DB::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bbb33d3 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:29.689784 [ 8668 ] {056cbe6b-d891-4ac7-88b6-d317949e4712} TCPHandler: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function covarSamp. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x0000000013dfb708 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015c20671 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:29.692222 [ 21995 ] {e9f3332f-d140-41e8-8009-5ea20c224e8a} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:29.799347 [ 21984 ] {75e3a29e-750c-4891-a803-28ef223a02f7} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toFloat64OrNull doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: While processing toFloat64OrNull(): While processing (SELECT toFloat64OrNull()) AS _subquery756: While processing CAST((SELECT toFloat64OrNull()) AS _subquery756, 'Date'): While processing (SELECT CAST((SELECT toFloat64OrNull()), 'Date'), CAST(CAST(5560.183321, 'Date'), 'String'), dictGetFloat64([]), [(SELECT * FROM iceberg('', [])) AS zywgdkq, (SELECT toStartOfFifteenMinutes())], '\0') AS _subquery755: While processing halfMD5((SELECT CAST((SELECT toFloat64OrNull()), 'Date'), CAST(CAST(5560.183321, 'Date'), 'String'), dictGetFloat64([]), [(SELECT * FROM iceberg('', [])) AS zywgdkq, (SELECT toStartOfFifteenMinutes())], '\0') AS _subquery755, -62325291.311): While processing uniqHLL12([endsWith()], halfMD5((SELECT CAST((SELECT toFloat64OrNull()), 'Date'), CAST(CAST(5560.183321, 'Date'), 'String'), dictGetFloat64([]), [(SELECT * FROM iceberg('', [])) AS zywgdkq, (SELECT toStartOfFifteenMinutes())], '\0') AS _subquery755, -62325291.311)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2174: DB::FunctionConvertFromString, DB::NameToFloat64OrNull, (DB::ConvertFromStringExceptionMode)2, (DB::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bbb33d3 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:29.799309 [ 21993 ] {7a9799fe-8440-40d0-8aa1-4656032db283} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57042) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal32('32.1', 5) : toDecimal32('32.2', 1) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000000f0fc572 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f0fb88d in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f0fb4ec in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000000f0f7aba in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdb350 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd5f2f in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd220c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:29.800822 [ 21993 ] {7a9799fe-8440-40d0-8aa1-4656032db283} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000000f0fc572 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f0fb88d in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f0fb4ec in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000000f0f7aba in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdb350 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd5f2f in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd220c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:29.804289 [ 21995 ] {2444a7c8-240d-4be1-9d63-487a6a305536} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:29.912344 [ 21995 ] {2f277bcc-bbfe-4637-8626-c66868d7a5b4} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:29.949796 [ 8668 ] {0d8a29cc-24e2-454a-b114-574fd003bf39} executeQuery: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function corr. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57044) (comment: 00700_decimal_empty_aggregates.sql) (in query: SELECT corr(a, a), corr(b, b), corr(c, c) FROM decimal;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x0000000013dfb708 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015cebfd1 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:30.019492 [ 21995 ] {7ee4db50-0ee6-4a9e-b3ea-62210590f969} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:30.084386 [ 21984 ] {c9ce7380-3a3d-456c-ba90-ef50ecb4282b} executeQuery: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Null: While processing (SELECT * FROM hudi(NULL, '\0')) AS dewl: While processing CAST((SELECT * FROM hudi(NULL, '\0')) AS dewl, 'DateTime'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT multiSearchFirstIndexCaseInsensitiveUTF8('\0'), '\0', (CAST((( SELECT * FROM hudi(NULL, '\0') ) AS dewl) AS DateTime)), '';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:160: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a996da5 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ab65f in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 2024.12.17 01:31:30.137761 [ 21995 ] {87c0ebec-4320-4a4d-9ff7-1d15358f2ead} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:30.198292 [ 21993 ] {71d18ea4-a799-4b6b-9e9e-8f61d3153851} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57042) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal32('32.1', 5) : toDecimal64('64.2', 2) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000000f0fe172 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f0fd48d in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f0fd0ec in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000000f0f7b3a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdb36a in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd5f2f in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd220c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:30.198360 [ 21984 ] {c9ce7380-3a3d-456c-ba90-ef50ecb4282b} TCPHandler: Code: 36. DB::Exception: Argument 'url' must be a literal with type String, got Null: While processing (SELECT * FROM hudi(NULL, '\0')) AS dewl: While processing CAST((SELECT * FROM hudi(NULL, '\0')) AS dewl, 'DateTime'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:160: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a996da5 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9ab65f in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 12. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 13. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 31. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 2024.12.17 01:31:30.198395 [ 8668 ] {0d8a29cc-24e2-454a-b114-574fd003bf39} TCPHandler: Code: 43. DB::Exception: Illegal types Decimal(6, 4) and Decimal(6, 4) of arguments for aggregate function corr. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String const&) @ 0x0000000013dfb708 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:269: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015cebfd1 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 13. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 15. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:30.199490 [ 21993 ] {71d18ea4-a799-4b6b-9e9e-8f61d3153851} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000000f0fe172 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f0fd48d in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f0fd0ec in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000000f0f7b3a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdb36a in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd5f2f in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd220c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:30.249455 [ 21995 ] {6ef7105b-fa4f-43b0-aca6-78974963872a} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:30.321623 [ 21993 ] {464ff931-19c3-4acf-b332-402511dc45d9} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57042) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal32('32.1', 5) : toDecimal128('128.2', 3) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>>(std::vector> const&) @ 0x000000000f0ffe52 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal>, DB::ColumnDecimal>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f0ff150 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f0fed8c in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>>(auto const&) const @ 0x000000000f0f7bba in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdb384 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd5f2f in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd220c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:30.321630 [ 21984 ] {6ea64668-3ee1-4843-82ed-914fe063de46} executeQuery: Code: 42. DB::Exception: Number of arguments for function cutFragment doesn't match: passed 2, should be 1: While processing cutFragment([], '\0'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT cutFragment([], '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:30.322639 [ 21993 ] {464ff931-19c3-4acf-b332-402511dc45d9} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>>(std::vector> const&) @ 0x000000000f0ffe52 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal>, DB::ColumnDecimal>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f0ff150 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f0fed8c in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>>(auto const&) const @ 0x000000000f0f7bba in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdb384 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:121: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd5f2f in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd220c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:30.323653 [ 21984 ] {6ea64668-3ee1-4843-82ed-914fe063de46} TCPHandler: Code: 42. DB::Exception: Number of arguments for function cutFragment doesn't match: passed 2, should be 1: While processing cutFragment([], '\0'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:30.355157 [ 21995 ] {ced70aeb-7dfc-4d2c-b4f9-4e35a64a4388} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:30.447661 [ 21984 ] {927f3757-c24b-47b6-9b0a-97f874ee7ade} executeQuery: Code: 42. DB::Exception: Number of arguments for function toYear doesn't match: passed 0, should be 1 or 2: While processing toYear(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toYear();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x00000000126e54b1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:60: DB::FunctionDateOrDateTimeToSomething, DB::ToYearImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000126e309f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:30.556543 [ 21993 ] {7c88992c-e08f-4c98-90e0-c4fd8e19f96b} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57042) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal64('64.1', 5) : toDecimal32('32.2', 1) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000000f108332 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f10764d in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f1072ac in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000000f1038ba in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdb610 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd5f45 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd220c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:30.556544 [ 21984 ] {927f3757-c24b-47b6-9b0a-97f874ee7ade} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toYear doesn't match: passed 0, should be 1 or 2: While processing toYear(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:135: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x00000000126e54b1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:60: DB::FunctionDateOrDateTimeToSomething, DB::ToYearImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000126e309f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:30.557709 [ 21993 ] {7c88992c-e08f-4c98-90e0-c4fd8e19f96b} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000000f108332 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f10764d in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f1072ac in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000000f1038ba in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdb610 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd5f45 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd220c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:30.587205 [ 21995 ] {4d83a534-ffb9-4f77-8bca-93bf27f2ddb1} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:30.683953 [ 21984 ] {3ca367c2-bd51-4ca1-a8e8-0313c18a3db9} executeQuery: Code: 42. DB::Exception: Number of arguments for function subtractMicroseconds doesn't match: passed 0, should be 2 or 3: While processing subtractMicroseconds(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT subtractMicroseconds();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:531: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c3ec5df in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:30.704669 [ 21995 ] {bcc63b5e-2598-459b-bdc1-a66aae579936} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:30.789786 [ 21993 ] {275f332d-0fd4-4dd9-a27e-03e5a7755fb8} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57042) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal64('64.1', 5) : toDecimal64('64.2', 2) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000000f109fd2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f1092ed in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f108f4c in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000000f10393a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdb62a in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd5f45 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd220c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:30.789818 [ 21984 ] {3ca367c2-bd51-4ca1-a8e8-0313c18a3db9} TCPHandler: Code: 42. DB::Exception: Number of arguments for function subtractMicroseconds doesn't match: passed 0, should be 2 or 3: While processing subtractMicroseconds(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionDateOrDateTimeAddInterval.h:531: DB::FunctionDateOrDateTimeAddInterval::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c3ec5df in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:30.790823 [ 21993 ] {275f332d-0fd4-4dd9-a27e-03e5a7755fb8} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>(std::vector> const&) @ 0x000000000f109fd2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal, DB::ColumnDecimal>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f1092ed in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f108f4c in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>(auto const&) const @ 0x000000000f10393a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdb62a in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd5f45 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd220c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:30.801033 [ 21984 ] {c49024db-0d00-4162-89c6-851ba8f102e0} executeQuery: Code: 42. DB::Exception: Number of arguments for function ifNull doesn't match: passed 0, should be 2: While processing '\0', CAST(ifNull(), 'String'), '\0'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '\0', (CAST((ifNull()) AS String)), '\0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:30.802768 [ 21984 ] {c49024db-0d00-4162-89c6-851ba8f102e0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function ifNull doesn't match: passed 0, should be 2: While processing '\0', CAST(ifNull(), 'String'), '\0'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:30.831955 [ 21995 ] {661e5a55-18ad-4021-adaa-6f52d6b4f34d} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:30.907978 [ 21993 ] {19e9ef87-5e70-4375-9876-29619a73eb4a} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57042) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal64('64.1', 5) : toDecimal128('128.2', 3) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>>(std::vector> const&) @ 0x000000000f10bc72 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal>, DB::ColumnDecimal>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f10af50 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f10ab8c in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>>(auto const&) const @ 0x000000000f1039ba in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdb644 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd5f45 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd220c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:30.908127 [ 21984 ] {e8da58ed-8723-455c-ab83-17add7b263c4} executeQuery: Code: 42. DB::Exception: Number of arguments for function uptime doesn't match: passed 1, should be 0: While processing uptime(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT uptime(NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:30.909110 [ 21993 ] {19e9ef87-5e70-4375-9876-29619a73eb4a} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale, DB::Decimal>>(std::vector> const&) @ 0x000000000f10bc72 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType, DB::Decimal>, DB::ColumnDecimal>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f10af50 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f10ab8c in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::Decimal>>>(auto const&) const @ 0x000000000f1039ba in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdb644 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:122: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd5f45 in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd220c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:30.910391 [ 21984 ] {e8da58ed-8723-455c-ab83-17add7b263c4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function uptime doesn't match: passed 1, should be 0: While processing uptime(NULL). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:30.957327 [ 21995 ] {b8d38504-1be2-493b-bb55-8a312654c340} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:31.026307 [ 21993 ] {0551422d-4e3b-4d3a-8436-b6a3a278f236} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57042) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal128('128.1', 5) : toDecimal32('32.2', 1) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>(std::vector> const&) @ 0x000000000f1141b2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal, DB::ColumnDecimal>>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f113493 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f1130ec in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>(auto const&) const @ 0x000000000f10f6fa in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdb8d0 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd5f5b in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd220c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:31.026425 [ 21984 ] {690b5509-092a-4b06-8ed2-c85ead7da66e} executeQuery: Code: 42. DB::Exception: Number of arguments for function enabledRoles doesn't match: passed 2, should be 0: While processing CAST(enabledRoles('I', ''), 'DateTime'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST((enabledRoles('I', '')) AS DateTime));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:31.027352 [ 21993 ] {0551422d-4e3b-4d3a-8436-b6a3a278f236} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>(std::vector> const&) @ 0x000000000f1141b2 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal, DB::ColumnDecimal>>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f113493 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f1130ec in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>(auto const&) const @ 0x000000000f10f6fa in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:51: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdb8d0 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd5f5b in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd220c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:31.028421 [ 21984 ] {690b5509-092a-4b06-8ed2-c85ead7da66e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function enabledRoles doesn't match: passed 2, should be 0: While processing CAST(enabledRoles('I', ''), 'DateTime'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:31.074133 [ 21995 ] {5f0a7394-0d59-40aa-a7d2-4c92e8f6b18b} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:31.157814 [ 21984 ] {07b3e211-c643-4254-a509-afa8c942f891} executeQuery: Code: 36. DB::Exception: Wrong number of arguments for function randNormal. Should be 2 or 3: While processing randNormal(). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT 1748553.97722, toRelativeSecondNum(''), [exponentialTimeDecayedMax(randNormal())], 'b';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&&) @ 0x000000001240ed68 in /usr/bin/clickhouse 6. /build/src/Functions/randDistribution.cpp:248: DB::FunctionRandomDistribution::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001240010b in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:502: DB::ExpressionAnalyzer::getRootActionsNoMakeSet(std::shared_ptr const&, std::shared_ptr&, bool) @ 0x000000001bfaa862 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:557: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfaad36 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:31:31.198813 [ 21995 ] {788d9033-f090-4c64-bbbe-9e3ea26bb065} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:31.275051 [ 21984 ] {07b3e211-c643-4254-a509-afa8c942f891} TCPHandler: Code: 36. DB::Exception: Wrong number of arguments for function randNormal. Should be 2 or 3: While processing randNormal(). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&&) @ 0x000000001240ed68 in /usr/bin/clickhouse 6. /build/src/Functions/randDistribution.cpp:248: DB::FunctionRandomDistribution::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001240010b in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:502: DB::ExpressionAnalyzer::getRootActionsNoMakeSet(std::shared_ptr const&, std::shared_ptr&, bool) @ 0x000000001bfaa862 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:557: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfaad36 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:31:31.275099 [ 21993 ] {1853d6de-86af-447a-a21f-499ad6ee3b47} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57042) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal128('128.1', 5) : toDecimal64('64.2', 2) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>(std::vector> const&) @ 0x000000000f115f52 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal, DB::ColumnDecimal>>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f115233 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f114e8c in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>(auto const&) const @ 0x000000000f10f77a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdb8ea in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd5f5b in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd220c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:31.276178 [ 21993 ] {1853d6de-86af-447a-a21f-499ad6ee3b47} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>(std::vector> const&) @ 0x000000000f115f52 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal, DB::ColumnDecimal>>, DB::ColumnDecimal>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f115233 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f114e8c in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>(auto const&) const @ 0x000000000f10f77a in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:52: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdb8ea in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd5f5b in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd220c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:31.289177 [ 21984 ] {15dde95c-b5f5-4ead-8c24-8430708d6066} executeQuery: Code: 42. DB::Exception: Number of arguments for function tupleElement doesn't match: passed 0, should be 2 or 3: While processing tupleElement(): While processing (SELECT tupleElement()) AS _subquery758: While processing ((SELECT tupleElement()) AS _subquery758, (SELECT * FROM zeros_mt()) AS _subquery759): While processing CAST(((SELECT tupleElement()) AS _subquery758, (SELECT * FROM zeros_mt()) AS _subquery759), 'Date'): While processing lengthUTF8(NULL, CAST(((SELECT tupleElement()) AS _subquery758, (SELECT * FROM zeros_mt()) AS _subquery759), 'Date')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT CHAR_LENGTH(NULL, (CAST((( SELECT tupleElement() ) , ( SELECT * FROM zeros_mt() ) ) AS Date)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long const&) @ 0x000000000be7272c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:49: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a59b1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:31.290919 [ 21984 ] {15dde95c-b5f5-4ead-8c24-8430708d6066} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tupleElement doesn't match: passed 0, should be 2 or 3: While processing tupleElement(): While processing (SELECT tupleElement()) AS _subquery758: While processing ((SELECT tupleElement()) AS _subquery758, (SELECT * FROM zeros_mt()) AS _subquery759): While processing CAST(((SELECT tupleElement()) AS _subquery758, (SELECT * FROM zeros_mt()) AS _subquery759), 'Date'): While processing lengthUTF8(NULL, CAST(((SELECT tupleElement()) AS _subquery758, (SELECT * FROM zeros_mt()) AS _subquery759), 'Date')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long const&) @ 0x000000000be7272c in /usr/bin/clickhouse 6. /build/src/Functions/tupleElement.cpp:49: DB::(anonymous namespace)::FunctionTupleElement::getReturnTypeImpl(std::vector> const&) const @ 0x00000000127a59b1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:31.385419 [ 21995 ] {fbb5f458-7c36-46a4-b072-91f1436a1046} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:31.412655 [ 21993 ] {3f9d8852-0918-4ff9-aee5-b348a334e6b5} executeQuery: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57042) (comment: 00700_decimal_complex_types.sql) (in query: SELECT number % 2 ? toDecimal128('128.1', 5) : toDecimal128('128.2', 3) FROM system.numbers LIMIT 2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>>(std::vector> const&) @ 0x000000000f117d32 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal>, DB::ColumnDecimal>>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f116ff3 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f116c2c in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>>(auto const&) const @ 0x000000000f10f7fa in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdb904 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd5f5b in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd220c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:31.412854 [ 21984 ] {66a04b8d-32f7-4beb-a0d9-7fc71e3d79ba} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing '', CAST(CAST('vI;477', 'String'), 'Date'): While processing (SELECT '', CAST(CAST('vI;477', 'String'), 'Date')) AS puwocpce: While processing [(SELECT '', CAST(CAST('vI;477', 'String'), 'Date')) AS puwocpce, (SELECT * FROM generateRandom((SELECT * FROM s3()) AS sldtg, 'vKY')) AS _subquery760]. (CANNOT_PARSE_DATE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [( SELECT '', (CAST(((CAST(('vI;477') AS String))) AS Date)) ) AS puwocpce, ( SELECT * FROM generateRandom(( SELECT * FROM s3() ) AS sldtg, 'vKY') ) ], '';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:31.413788 [ 21993 ] {3f9d8852-0918-4ff9-aee5-b348a334e6b5} TCPHandler: Code: 48. DB::Exception: Conditional functions with different Decimal scales. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [52]) @ 0x000000000be7a37e in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:229: unsigned int DB::(anonymous namespace)::FunctionIf::decimalScale>, DB::Decimal>>(std::vector> const&) @ 0x000000000f117d32 in /usr/bin/clickhouse 7. /build/src/Functions/if.cpp:283: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeConstRightType>, DB::Decimal>, DB::ColumnDecimal>>, DB::ColumnDecimal>>>(DB::ColumnVector const*, std::vector> const&, DB::ColumnConst const*) const @ 0x000000000f116ff3 in /usr/bin/clickhouse 8. /build/src/Functions/if.cpp:432: COW::immutable_ptr DB::(anonymous namespace)::FunctionIf::executeTyped>, DB::Decimal>>(DB::ColumnVector const*, std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f116c2c in /usr/bin/clickhouse 9. /build/src/Functions/if.cpp:1095: bool DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator()>, DB::Decimal>>>(auto const&) const @ 0x000000000f10f7fa in /usr/bin/clickhouse 10. /build/src/Core/callOnTypeIndex.h:53: bool DB::callOnBasicType>, true, true, true, false, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efdb904 in /usr/bin/clickhouse 11. /build/src/Core/callOnTypeIndex.h:123: bool DB::callOnBasicTypes> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)&) @ 0x000000000efd5f5b in /usr/bin/clickhouse 12. /build/src/Functions/if.cpp:1108: DB::(anonymous namespace)::FunctionIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000efd220c in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 14. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExpressionTransform.cpp:8: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001ebc8607 in /usr/bin/clickhouse 21. /build/src/Processors/QueryPlan/ExpressionStep.cpp:31: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001ee2e5e6 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001cac8031 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:2769: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001cabc882 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:1720: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab4645 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:31:31.414914 [ 21984 ] {66a04b8d-32f7-4beb-a0d9-7fc71e3d79ba} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing '', CAST(CAST('vI;477', 'String'), 'Date'): While processing (SELECT '', CAST(CAST('vI;477', 'String'), 'Date')) AS puwocpce: While processing [(SELECT '', CAST(CAST('vI;477', 'String'), 'Date')) AS puwocpce, (SELECT * FROM generateRandom((SELECT * FROM s3()) AS sldtg, 'vKY')) AS _subquery760]. (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:31.511192 [ 21995 ] {b5d730a7-f5f3-4537-8fe5-d697dc65ea91} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:31.614477 [ 21984 ] {e8c6cbdb-538d-4893-aa1d-fb6a75462209} executeQuery: Code: 6. DB::Exception: Cannot parse string 'HNBM!l' as IntervalYear: syntax error at begin of string: While processing toIntervalYear('HNBM!l'). (CANNOT_PARSE_TEXT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toIntervalYear('HNBM!l');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b7834b7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b77e838 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b76e699 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b76d9c8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b76cbde in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:31:31.616533 [ 21984 ] {e8c6cbdb-538d-4893-aa1d-fb6a75462209} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'HNBM!l' as IntervalYear: syntax error at begin of string: While processing toIntervalYear('HNBM!l'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:1201: DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x000000000b215bb1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1432: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b7834b7 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b77e838 in /usr/bin/clickhouse 9. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b76e699 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b76d9c8 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b76cbde in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 01:31:31.624902 [ 21984 ] {751bdb2f-6657-4325-a11e-7e2b47139571} executeQuery: Code: 42. DB::Exception: SQLite database requires 2 arguments: database path, table name. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM sqlite([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [64]) @ 0x000000000bb55cde in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionSQLite.cpp:61: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d03dd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:31.626458 [ 21984 ] {751bdb2f-6657-4325-a11e-7e2b47139571} TCPHandler: Code: 42. DB::Exception: SQLite database requires 2 arguments: database path, table name. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [64]) @ 0x000000000bb55cde in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionSQLite.cpp:61: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d03dd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:31.630027 [ 21995 ] {671dc66a-a122-41f3-b856-7671e096760c} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:31.735681 [ 21995 ] {464d740a-7f31-4134-aff7-331ea8c20d23} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:31.765414 [ 21984 ] {55ef0c0e-60c7-46da-83f5-7aa41b2c3e07} executeQuery: Code: 36. DB::Exception: Unknown explain kind '': While processing (SELECT * FROM viewExplain('\0', 34242)) AS zl. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '', '!FE2', (CAST(((CAST((-1716358.5) AS Date))) AS Date)), [['\0']], ( SELECT * FROM viewExplain('\0', 34242) ) AS zl, ( SELECT * FROM executable([subtractMilliseconds()], h3IsValid('', ['GqVqu'])) ) AS f;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTExplainQuery.h:66: DB::ASTExplainQuery::fromString(String const&) @ 0x000000001a9dd2dc in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionExplain.cpp:56: DB::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9dba79 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 31. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9be22 in /usr/bin/clickhouse 2024.12.17 01:31:31.850497 [ 21995 ] {bf1ea5a5-e0d9-45d1-8dc2-87aac6e447cb} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:31.917855 [ 21996 ] {ecd0f46c-ba55-49f9-ad27-b02d99b1b778} executeQuery: Code: 190. DB::Exception: Elements 'n.x' and 'n.y' of Nested data structure 'n' (Array columns) have different array sizes. (SIZES_OF_ARRAYS_DONT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50808) (comment: 00698_validate_array_sizes_for_nested.sql) (in query: INSERT INTO mergetree_00698 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String&) @ 0x000000001b9d6208 in /usr/bin/clickhouse 6. /build/src/DataTypes/NestedUtils.cpp:257: DB::Nested::validateArraySizes(DB::Block const&) @ 0x000000001b9d4c82 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:16: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d6bf in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:31:31.917917 [ 21984 ] {55ef0c0e-60c7-46da-83f5-7aa41b2c3e07} TCPHandler: Code: 36. DB::Exception: Unknown explain kind '': While processing (SELECT * FROM viewExplain('\0', 34242)) AS zl. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Parsers/ASTExplainQuery.h:66: DB::ASTExplainQuery::fromString(String const&) @ 0x000000001a9dd2dc in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionExplain.cpp:56: DB::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9dba79 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 31. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9be22 in /usr/bin/clickhouse 2024.12.17 01:31:31.919250 [ 21996 ] {ecd0f46c-ba55-49f9-ad27-b02d99b1b778} TCPHandler: Code: 190. DB::Exception: Elements 'n.x' and 'n.y' of Nested data structure 'n' (Array columns) have different array sizes. (SIZES_OF_ARRAYS_DONT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String&) @ 0x000000001b9d6208 in /usr/bin/clickhouse 6. /build/src/DataTypes/NestedUtils.cpp:257: DB::Nested::validateArraySizes(DB::Block const&) @ 0x000000001b9d4c82 in /usr/bin/clickhouse 7. /build/src/Processors/Sinks/SinkToStorage.cpp:16: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d6bf in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:31:31.926030 [ 21984 ] {bef975be-bcff-464a-9e2d-08a21061d0c6} executeQuery: Code: 42. DB::Exception: The signature of table function deltaLake shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM deltaLake();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995d8f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9b32df in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:31.927902 [ 21984 ] {bef975be-bcff-464a-9e2d-08a21061d0c6} TCPHandler: Code: 42. DB::Exception: The signature of table function deltaLake shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995d8f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionDataLake.h:61: DB::ITableFunctionDataLake>, DB::TableFunctionS3>::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9b32df in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:31.962000 [ 21995 ] {b48db5c7-f868-45d8-95a1-f75e3c119db9} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:32.049668 [ 21984 ] {d95a2292-6411-4e2d-8d2b-049464722c96} executeQuery: Code: 43. DB::Exception: Illegal type UInt16 of argument of function IPv6NumToString, expected IPv6 or FixedString(16): While processing IPv6NumToString(5887). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT INET6_NTOA(5887);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long const&) @ 0x000000000ba00208 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.cpp:67: DB::FunctionIPv6NumToString::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ba12d28 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:32.051443 [ 21984 ] {d95a2292-6411-4e2d-8d2b-049464722c96} TCPHandler: Code: 43. DB::Exception: Illegal type UInt16 of argument of function IPv6NumToString, expected IPv6 or FixedString(16): While processing IPv6NumToString(5887). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long const&) @ 0x000000000ba00208 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingIP.cpp:67: DB::FunctionIPv6NumToString::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000ba12d28 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:32.084389 [ 21995 ] {10fddf4a-a49a-446f-b5ce-f86633e95c94} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:32.170698 [ 21984 ] {d68abdd6-f9e7-4b70-a31e-1313afb380c3} executeQuery: Code: 344. DB::Exception: Natural language processing function 'detectProgrammingLanguage' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing ['tqeK'], detectProgrammingLanguage(CAST(NULL, 'String')). (SUPPORT_IS_DISABLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ['tqeK'], detectProgrammingLanguage((CAST((NULL) AS String)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsTextClassification.h:32: DB::FunctionTextClassificationString::create(std::shared_ptr) @ 0x000000000c150ccf in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.h:80: std::shared_ptr DB::FunctionFactory::adaptFunctionToOverloadResolver>(std::shared_ptr) @ 0x000000000c150b4a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr)>()(std::declval>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr), std::shared_ptr>(std::shared_ptr (*&)(std::shared_ptr), std::shared_ptr&&) @ 0x000000000b1a10d6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr), std::shared_ptr>(std::shared_ptr (*&)(std::shared_ptr), std::shared_ptr&&) @ 0x000000000b1a107d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr), std::shared_ptr (std::shared_ptr)>::operator()[abi:v15000](std::shared_ptr&&) @ 0x000000000b1a103d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr)>::__call_impl (*)(std::shared_ptr), std::shared_ptr (std::shared_ptr)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x000000000b1a0fe5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr)>::operator()[abi:v15000](std::shared_ptr&&) const @ 0x000000001abf8cbe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr)>::operator()(std::shared_ptr) const @ 0x000000001abf4181 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionFactory.cpp:108: DB::FunctionFactory::tryGetImpl(String const&, std::shared_ptr) const @ 0x000000001abf2f03 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionFactory.cpp:57: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x000000001abf2abd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x000000001abf344a in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe7c44 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:31:32.172452 [ 21984 ] {d68abdd6-f9e7-4b70-a31e-1313afb380c3} TCPHandler: Code: 344. DB::Exception: Natural language processing function 'detectProgrammingLanguage' is experimental. Set `allow_experimental_nlp_functions` setting to enable it: While processing ['tqeK'], detectProgrammingLanguage(CAST(NULL, 'String')). (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsTextClassification.h:32: DB::FunctionTextClassificationString::create(std::shared_ptr) @ 0x000000000c150ccf in /usr/bin/clickhouse 7. /build/src/Functions/FunctionFactory.h:80: std::shared_ptr DB::FunctionFactory::adaptFunctionToOverloadResolver>(std::shared_ptr) @ 0x000000000c150b4a in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr)>()(std::declval>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr), std::shared_ptr>(std::shared_ptr (*&)(std::shared_ptr), std::shared_ptr&&) @ 0x000000000b1a10d6 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr), std::shared_ptr>(std::shared_ptr (*&)(std::shared_ptr), std::shared_ptr&&) @ 0x000000000b1a107d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr), std::shared_ptr (std::shared_ptr)>::operator()[abi:v15000](std::shared_ptr&&) @ 0x000000000b1a103d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr)>::__call_impl (*)(std::shared_ptr), std::shared_ptr (std::shared_ptr)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x000000000b1a0fe5 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr)>::operator()[abi:v15000](std::shared_ptr&&) const @ 0x000000001abf8cbe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr)>::operator()(std::shared_ptr) const @ 0x000000001abf4181 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionFactory.cpp:108: DB::FunctionFactory::tryGetImpl(String const&, std::shared_ptr) const @ 0x000000001abf2f03 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionFactory.cpp:57: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x000000001abf2abd in /usr/bin/clickhouse 16. /build/src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x000000001abf344a in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe7c44 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:31:32.187722 [ 21995 ] {36cf1c19-abb7-4acd-8197-91acb320c4be} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:32.190044 [ 21984 ] {9717987d-b1c8-41bc-8e9d-766b4caa42ba} executeQuery: Code: 170. DB::Exception: Bad get: has Array, requested String. (BAD_GET) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cluster('', []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x000000000b78a4ac in /usr/bin/clickhouse 6. /build/src/Core/Field.h:890: auto& DB::Field::safeGet() @ 0x000000000b78a30d in /usr/bin/clickhouse 7. /build/src/Interpreters/evaluateConstantExpression.cpp:132: DB::evaluateConstantExpressionForDatabaseName(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a784 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:168: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a948d35 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:32.191391 [ 21984 ] {9717987d-b1c8-41bc-8e9d-766b4caa42ba} TCPHandler: Code: 170. DB::Exception: Bad get: has Array, requested String. (BAD_GET), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, DB::Field::Types::Which const&>(int, FormatStringHelperImpl>>::type, std::type_identity::type>, std::basic_string_view>&&, DB::Field::Types::Which const&) @ 0x000000000b78a4ac in /usr/bin/clickhouse 6. /build/src/Core/Field.h:890: auto& DB::Field::safeGet() @ 0x000000000b78a30d in /usr/bin/clickhouse 7. /build/src/Interpreters/evaluateConstantExpression.cpp:132: DB::evaluateConstantExpressionForDatabaseName(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a784 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionRemote.cpp:168: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a948d35 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:32.305425 [ 21995 ] {493d233c-607d-4152-a550-c05b84c94d5c} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:32.327064 [ 21984 ] {8f8fbee6-d321-45ca-a202-597e86d61966} executeQuery: Code: 42. DB::Exception: Function tuple requires at least one argument.: While processing NOT tuple(): While processing (SELECT NOT tuple()) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM file(( SELECT NULL ) , ( SELECT not() ) , NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/tuple.h:49: DB::FunctionTuple::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000127a2492 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:31:32.329722 [ 21984 ] {8f8fbee6-d321-45ca-a202-597e86d61966} TCPHandler: Code: 42. DB::Exception: Function tuple requires at least one argument.: While processing NOT tuple(): While processing (SELECT NOT tuple()) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/tuple.h:49: DB::FunctionTuple::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000127a2492 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:31:32.367685 [ 21984 ] {37a8b73a-2247-43b5-b150-8a7ec864d9af} executeQuery: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing [], CAST('', 'DateTime'). (CANNOT_PARSE_DATETIME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT aggThrow([], (CAST(('') AS DateTime)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b2636b7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000001398a7f6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:966: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59acd6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1047: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59a9a5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1077: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b59a8d4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b59a7bb in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b594df8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b584a59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583d88 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 2024.12.17 01:31:32.369401 [ 21984 ] {37a8b73a-2247-43b5-b150-8a7ec864d9af} TCPHandler: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing [], CAST('', 'DateTime'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x000000000b2636b7 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000001398a7f6 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:966: void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59acd6 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:1047: DB::readDateTimeText(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b59a9a5 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsConversion.h:1077: void DB::parseImpl(DB::DataTypeDateTime::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b59a8d4 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b59a7bb in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b594df8 in /usr/bin/clickhouse 12. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b584a59 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583d88 in /usr/bin/clickhouse 14. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 15. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 27. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 28. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 29. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 2024.12.17 01:31:32.404212 [ 21995 ] {e11e3f68-1839-4a9f-a7d9-386a295f90bf} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:32.507634 [ 21984 ] {0905b254-1fe6-49b3-a074-3ec52adb37f4} executeQuery: Code: 36. DB::Exception: Argument 'random_seed' must be a literal with type UInt64, got Array. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM generateRandom([['']], 22.13843);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: unsigned long DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da490cb in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:84: DB::TableFunctionGenerateRandom::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a989338 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:32.509206 [ 21984 ] {0905b254-1fe6-49b3-a074-3ec52adb37f4} TCPHandler: Code: 36. DB::Exception: Argument 'random_seed' must be a literal with type UInt64, got Array. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: unsigned long DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da490cb in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionGenerateRandom.cpp:84: DB::TableFunctionGenerateRandom::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a989338 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:32.517876 [ 21995 ] {904cdfbf-4eed-48ac-8e1f-28978691c09c} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:32.639424 [ 21995 ] {eb4019b1-5212-456f-9744-29a76b20d67c} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:32.673990 [ 21984 ] {a41e6427-7d6f-488a-8d40-2c6051983cdf} executeQuery: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys: While processing (SELECT * FROM hive(NULL, abs(''))) AS _subquery770: While processing CAST((SELECT * FROM hive(NULL, abs(''))) AS _subquery770, 'DateTime'): While processing (SELECT [], CAST((SELECT * FROM hive(NULL, abs(''))), 'DateTime')) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM values(( SELECT [], (CAST((( SELECT * FROM hive(NULL, abs('')) ) ) AS DateTime)) ) , '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e9c77 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 2024.12.17 01:31:32.676844 [ 21984 ] {a41e6427-7d6f-488a-8d40-2c6051983cdf} TCPHandler: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys: While processing (SELECT * FROM hive(NULL, abs(''))) AS _subquery770: While processing CAST((SELECT * FROM hive(NULL, abs(''))) AS _subquery770, 'DateTime'): While processing (SELECT [], CAST((SELECT * FROM hive(NULL, abs(''))), 'DateTime')) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e9c77 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 2024.12.17 01:31:32.684110 [ 21984 ] {82df098f-ef64-4c25-9cbc-20e269335e8f} executeQuery: Code: 42. DB::Exception: The signature of table function oss shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM oss();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995d8f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:32.685526 [ 21984 ] {82df098f-ef64-4c25-9cbc-20e269335e8f} TCPHandler: Code: 42. DB::Exception: The signature of table function oss shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995d8f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:32.692770 [ 21984 ] {47c94dfb-fdaf-449c-90cf-45b3dd7de31b} executeQuery: Code: 42. DB::Exception: The signature of table function cosn shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cosn();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995d8f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:32.694207 [ 21984 ] {47c94dfb-fdaf-449c-90cf-45b3dd7de31b} TCPHandler: Code: 42. DB::Exception: The signature of table function cosn shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995d8f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:32.713365 [ 21995 ] {af28cc56-8342-488b-9162-9d7af9076be9} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:32.827756 [ 21995 ] {c661a626-e8a2-4c1c-9cca-503fdbb7423a} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:32.838990 [ 21984 ] {9ff6719d-9a17-40ef-80df-ddfeb1e083f9} executeQuery: Code: 42. DB::Exception: The signature of table function file shall be the following: - filename - filename, format - filename, format, structure - filename, format, structure, compression_method : While processing (SELECT * FROM file()) AS _subquery771. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '', [], ( SELECT * FROM file() ) , ( SELECT [], (CAST((NULL) AS Date)), [[NULL]] ) AS xbrgs, ( SELECT * FROM values([NULL], '\0') ) , ( SELECT '', [], NULL, (CAST((( SELECT subtractWeeks([-398039], NULL) ) AS kplwpcy, ( SELECT * FROM jdbc() ) ) AS DateTime)) ) , (CAST(('\0') AS String));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97a42a in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 31. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9be22 in /usr/bin/clickhouse 2024.12.17 01:31:32.841052 [ 21984 ] {9ff6719d-9a17-40ef-80df-ddfeb1e083f9} TCPHandler: Code: 42. DB::Exception: The signature of table function file shall be the following: - filename - filename, format - filename, format, structure - filename, format, structure, compression_method : While processing (SELECT * FROM file()) AS _subquery771. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97a42a in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 31. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9be22 in /usr/bin/clickhouse 2024.12.17 01:31:32.947940 [ 21995 ] {09c0a6ee-74a2-4182-bf53-3a34a9792615} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:33.001661 [ 21984 ] {7b0f3272-34fb-4c17-8df8-a6e9672eef33} executeQuery: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']).: While processing (SELECT * FROM mysql(h3GetResolution())) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM s3((SELECT * FROM mysql(h3GetResolution())))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [161]) @ 0x000000001d7d27be in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:315: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x000000001d7d0f96 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:56: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9c9e81 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1334: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa0d80 in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:70: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089d6e in /usr/bin/clickhouse 27. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a5dd in /usr/bin/clickhouse 28. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a6f2 in /usr/bin/clickhouse 29. /build/src/Storages/StorageURL.cpp:1249: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x000000001da05cff in /usr/bin/clickhouse 30. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995c49 in /usr/bin/clickhouse 31. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 2024.12.17 01:31:33.003981 [ 21984 ] {7b0f3272-34fb-4c17-8df8-a6e9672eef33} TCPHandler: Code: 42. DB::Exception: Storage MySQL requires 5-7 parameters: MySQL('host:port' (or 'addresses_pattern'), database, table, 'user', 'password'[, replace_query, 'on_duplicate_clause']).: While processing (SELECT * FROM mysql(h3GetResolution())) AS constant_expression. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [161]) @ 0x000000001d7d27be in /usr/bin/clickhouse 6. /build/src/Storages/StorageMySQL.cpp:315: DB::StorageMySQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr, DB::MySQLSettings&) @ 0x000000001d7d0f96 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionMySQL.cpp:56: DB::TableFunctionMySQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9c9e81 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 24. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 25. /build/src/Interpreters/TreeRewriter.cpp:1334: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa0d80 in /usr/bin/clickhouse 26. /build/src/Interpreters/evaluateConstantExpression.cpp:70: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089d6e in /usr/bin/clickhouse 27. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a5dd in /usr/bin/clickhouse 28. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a6f2 in /usr/bin/clickhouse 29. /build/src/Storages/StorageURL.cpp:1249: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x000000001da05cff in /usr/bin/clickhouse 30. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995c49 in /usr/bin/clickhouse 31. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 2024.12.17 01:31:33.015398 [ 21984 ] {469b34ba-2b48-4574-ac13-fb2f26172706} executeQuery: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hive(( SELECT toUUIDOrZero(( SELECT toUInt32OrNull() ) AS qen, ( SELECT bitmapAndnotCardinality(-0272) ) AS i, floor([], ( SELECT emptyArrayInt64(49.9883) ) )) ) AS dvvm, NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e9c77 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:33.017025 [ 21984 ] {469b34ba-2b48-4574-ac13-fb2f26172706} TCPHandler: Code: 42. DB::Exception: The signature of function hive is: - hive_url, hive_database, hive_table, structure, partition_by_keys. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/Hive/TableFunctionHive.cpp:36: DB::TableFunctionHive::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e9c77 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:33.051610 [ 21995 ] {622e786a-a82e-44b6-b5bf-7feab286f1dc} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:33.057595 [ 21984 ] {207b9708-94f8-407a-890d-fac15f5a1cd0} executeQuery: Code: 42. DB::Exception: Number of arguments for function s2CapUnion doesn't match: passed 2, should be 4: While processing s2CapUnion('', CAST(410, 'String')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT s2CapUnion('', (CAST((0410) AS String)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:33.059291 [ 21984 ] {207b9708-94f8-407a-890d-fac15f5a1cd0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function s2CapUnion doesn't match: passed 2, should be 4: While processing s2CapUnion('', CAST(410, 'String')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:33.091200 [ 21984 ] {0689090b-525a-4df5-8fcb-f0cd1d065e41} executeQuery: Code: 42. DB::Exception: The signature of table function s3 shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM s3();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995d8f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:33.092633 [ 21984 ] {0689090b-525a-4df5-8fcb-f0cd1d065e41} TCPHandler: Code: 42. DB::Exception: The signature of table function s3 shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionS3.cpp:75: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995d8f in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:33.099496 [ 21984 ] {ae504f8b-2749-473b-80d3-bf35ab315505} executeQuery: Code: 42. DB::Exception: Table function 'zeros_mt' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM zeros_mt();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a96ca08 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:33.100877 [ 21984 ] {ae504f8b-2749-473b-80d3-bf35ab315505} TCPHandler: Code: 42. DB::Exception: Table function 'zeros_mt' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a96ca08 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:33.108764 [ 21984 ] {4f9be998-1024-44a2-8fba-b8f83481a50d} executeQuery: Code: 42. DB::Exception: Number of arguments for function repeat doesn't match: passed 1, should be 2: While processing repeat(['']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT repeat(['']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:33.110977 [ 21984 ] {4f9be998-1024-44a2-8fba-b8f83481a50d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function repeat doesn't match: passed 1, should be 2: While processing repeat(['']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:33.159374 [ 21995 ] {f2fdc110-7226-4eda-bcda-7323741bc3e1} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:33.273284 [ 21995 ] {64fc8c4b-8395-4a0a-a145-e63956a15386} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:33.295025 [ 21984 ] {c01b61b8-a5e6-4893-9a90-a0e9d87f3c79} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing NULL, NULL, -67236959.41, -601124, CAST(toUUIDOrDefault([CAST(NULL, 'DateTime')]), 'String'). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT NULL, NULL, -67236959.41, -601124, (CAST((toUUIDOrDefault([(CAST((NULL) AS DateTime))])) AS String));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1f92be in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3831: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b78cba3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b78c65c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc842e9 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:31:33.297212 [ 21984 ] {c01b61b8-a5e6-4893-9a90-a0e9d87f3c79} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing NULL, NULL, -67236959.41, -601124, CAST(toUUIDOrDefault([CAST(NULL, 'DateTime')]), 'String'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1f92be in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3831: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b78cba3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b78c65c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc842e9 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 01:31:33.378615 [ 21995 ] {63cc6342-772e-40a3-9f1c-5f3f0ea8626b} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:33.480755 [ 21995 ] {d7138e17-18ca-4e6d-8ece-67c34542ab45} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:33.492826 [ 21984 ] {c3a29397-45ec-4725-b61c-84907513c246} executeQuery: Code: 43. DB::Exception: Illegal type Array(Array(Nothing)) of argument of function toDateTime: While processing [], [], CAST([[]], 'DateTime'), CAST([], 'DateTime'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [], [], (CAST(([[]]) AS DateTime)), (CAST(([]) AS DateTime));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583e86 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:33.494660 [ 21984 ] {c3a29397-45ec-4725-b61c-84907513c246} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Array(Nothing)) of argument of function toDateTime: While processing [], [], CAST([[]], 'DateTime'), CAST([], 'DateTime'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583e86 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:33.600014 [ 21995 ] {e9f39800-a3de-449f-871c-722597e45013} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:33.645089 [ 21984 ] {13cfe082-7aa9-4102-8ad8-a8367f29bd42} executeQuery: Code: 42. DB::Exception: Number of arguments for function geoDistance doesn't match: passed 1, should be 4: While processing parseDateTime64BestEffortOrNull([geoDistance(CAST('', 'String'))]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT parseDateTime64BestEffortOrNull([geoDistance((CAST(('') AS String)))]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:31:33.646823 [ 21984 ] {13cfe082-7aa9-4102-8ad8-a8367f29bd42} TCPHandler: Code: 42. DB::Exception: Number of arguments for function geoDistance doesn't match: passed 1, should be 4: While processing parseDateTime64BestEffortOrNull([geoDistance(CAST('', 'String'))]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 01:31:33.653368 [ 21984 ] {6e74b8ee-30a7-4c42-b72b-3d658a4131ce} executeQuery: Code: 42. DB::Exception: The signature of table function hdfs shall be the following: - uri - uri, format - uri, format, structure - uri, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfs();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97a42a in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:33.654696 [ 21984 ] {6e74b8ee-30a7-4c42-b72b-3d658a4131ce} TCPHandler: Code: 42. DB::Exception: The signature of table function hdfs shall be the following: - uri - uri, format - uri, format, structure - uri, format, structure, compression_method . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97a42a in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:33.660502 [ 21995 ] {6392028a-8948-4b97-91d6-5bacd3b9d045} StorageBuffer (test_mhsdohc1.buffer_00763_1): Destination table test_mhsdohc1.mt_00763_1 has different type of column s (UInt32 != String). Data from destination table are converted. 2024.12.17 01:31:33.782555 [ 21984 ] {4696cc27-67e1-409f-9b66-13c2b059a1b0} executeQuery: Code: 42. DB::Exception: Number of arguments for function dictGetInt64OrDefault doesn't match: the function requires more arguments: While processing dictGetInt64OrDefault(''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT dictGetInt64OrDefault('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:156: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeafb6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:33.784287 [ 21984 ] {4696cc27-67e1-409f-9b66-13c2b059a1b0} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dictGetInt64OrDefault doesn't match: the function requires more arguments: While processing dictGetInt64OrDefault(''). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:156: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeafb6 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:33.914214 [ 21984 ] {3859e7b7-0fab-4692-977c-bf83a3645a4a} executeQuery: Code: 42. DB::Exception: Aggregate function quantilesTimingWeighted requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT quantilesTimingWeighted();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013dfb541 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:240: DB::AggregateFunctionQuantile, DB::NameQuantilesTimingWeighted, true, float, true>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x0000000014c64db0 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileTimingWeighted.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014c46da4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:31:33.915902 [ 21984 ] {3859e7b7-0fab-4692-977c-bf83a3645a4a} TCPHandler: Code: 42. DB::Exception: Aggregate function quantilesTimingWeighted requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013dfb541 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionQuantile.h:240: DB::AggregateFunctionQuantile, DB::NameQuantilesTimingWeighted, true, float, true>::assertSecondArg(std::vector, std::allocator>> const&) @ 0x0000000014c64db0 in /usr/bin/clickhouse 8. /build/src/AggregateFunctions/AggregateFunctionQuantileTimingWeighted.cpp:32: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionQuantile(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000014c46da4 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 16. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 2024.12.17 01:31:34.061225 [ 21984 ] {f8440b54-09dd-42aa-8c7e-225f9ade6230} executeQuery: Code: 42. DB::Exception: Number of arguments for function dateTrunc doesn't match: passed 1, should be 2 or 3: While processing dateTrunc(597). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT dateTrunc(597);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/date_trunc.cpp:102: DB::(anonymous namespace)::FunctionDateTrunc::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d9f8380 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:34.062995 [ 21984 ] {f8440b54-09dd-42aa-8c7e-225f9ade6230} TCPHandler: Code: 42. DB::Exception: Number of arguments for function dateTrunc doesn't match: passed 1, should be 2 or 3: While processing dateTrunc(597). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/date_trunc.cpp:102: DB::(anonymous namespace)::FunctionDateTrunc::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d9f8380 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:34.099373 [ 21984 ] {d1791689-dbcd-4237-b137-768ce41dd04f} executeQuery: Code: 42. DB::Exception: Number of arguments for function s2RectIntersection doesn't match: passed 0, should be 4: While processing s2RectIntersection(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT s2RectIntersection();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:34.100968 [ 21984 ] {d1791689-dbcd-4237-b137-768ce41dd04f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function s2RectIntersection doesn't match: passed 0, should be 4: While processing s2RectIntersection(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:34.119744 [ 21984 ] {21b71b36-a72e-4497-b36f-21249476b0ac} executeQuery: Code: 42. DB::Exception: The signature of table function hdfs shall be the following: - uri - uri, format - uri, format, structure - uri, format, structure, compression_method : While processing (SELECT * FROM hdfs()) AS _subquery783: While processing (SELECT (SELECT * FROM hdfs()), [], -96297293, emptyArrayDate('')) AS _subquery779: While processing [(SELECT (SELECT * FROM hdfs()), [], -96297293, emptyArrayDate('')) AS _subquery779, (SELECT [-90989.43037], lower(CAST(84, 'String')), [], '\0', []) AS _subquery780]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [(CAST(((CAST(('\0') AS Date))) AS Date))], [( SELECT ( SELECT * FROM hdfs() ) , [], -96297293, emptyArrayDate('') ) , ( SELECT [-90989.43037], lower((CAST((84) AS String))), [], '\0', [] ) ], (CAST(([[]]) AS DateTime)), ( SELECT * FROM iceberg() ) , ( SELECT * FROM numbers_mt(01451450) ) , [' m8?&'];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97a42a in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 31. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9be22 in /usr/bin/clickhouse 2024.12.17 01:31:34.121613 [ 21984 ] {21b71b36-a72e-4497-b36f-21249476b0ac} TCPHandler: Code: 42. DB::Exception: The signature of table function hdfs shall be the following: - uri - uri, format - uri, format, structure - uri, format, structure, compression_method : While processing (SELECT * FROM hdfs()) AS _subquery783: While processing (SELECT (SELECT * FROM hdfs()), [], -96297293, emptyArrayDate('')) AS _subquery779: While processing [(SELECT (SELECT * FROM hdfs()), [], -96297293, emptyArrayDate('')) AS _subquery779, (SELECT [-90989.43037], lower(CAST(84, 'String')), [], '\0', []) AS _subquery780]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionFileLike.cpp:55: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97a42a in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 31. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9be22 in /usr/bin/clickhouse 2024.12.17 01:31:34.251865 [ 21984 ] {8ee5bd9c-f330-4a93-beaf-f2875be27bc1} executeQuery: Code: 42. DB::Exception: Aggregate function groupBitOr requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT 2.9910, (CAST((NULL) AS String)), BIT_OR('B8bH`A}', '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8abc1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionBitwise.cpp:25: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionBitwise(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017520f95 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:31:34.253854 [ 21984 ] {8ee5bd9c-f330-4a93-beaf-f2875be27bc1} TCPHandler: Code: 42. DB::Exception: Aggregate function groupBitOr requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8abc1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionBitwise.cpp:25: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionBitwise(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000017520f95 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:31:34.376570 [ 21984 ] {c41f2722-42ac-40b7-b8e1-0748aef1c18f} executeQuery: Code: 43. DB::Exception: Illegal type UInt32 of argument of function toDayOfMonth. Should be Date, Date32, DateTime or DateTime64: While processing toDayOfMonth(223430). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toDayOfMonth(223430);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001263d8f1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:60: DB::FunctionDateOrDateTimeToSomething, DB::ToDayOfMonthImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001263bf9f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:34.378547 [ 21984 ] {c41f2722-42ac-40b7-b8e1-0748aef1c18f} TCPHandler: Code: 43. DB::Exception: Illegal type UInt32 of argument of function toDayOfMonth. Should be Date, Date32, DateTime or DateTime64: While processing toDayOfMonth(223430). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/IFunctionDateOrDateTime.h:114: DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000001263d8f1 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionDateOrDateTimeToSomething.h:60: DB::FunctionDateOrDateTimeToSomething, DB::ToDayOfMonthImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000001263bf9f in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:34.387135 [ 21984 ] {9fc3c518-1d1f-47c6-857e-29ed41393305} executeQuery: Code: 42. DB::Exception: Number of arguments for function proportionsZTest doesn't match: passed 2, should be 6: While processing proportionsZTest(7, '\0'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT proportionsZTest(07, '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:34.388696 [ 21984 ] {9fc3c518-1d1f-47c6-857e-29ed41393305} TCPHandler: Code: 42. DB::Exception: Number of arguments for function proportionsZTest doesn't match: passed 2, should be 6: While processing proportionsZTest(7, '\0'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:34.396258 [ 21984 ] {21b760e6-2db2-40be-814d-411f48a52f41} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3GetUnidirectionalEdgesFromHexagon doesn't match: passed 0, should be 1: While processing h3GetUnidirectionalEdgesFromHexagon(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT h3GetUnidirectionalEdgesFromHexagon();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:34.398074 [ 21984 ] {21b760e6-2db2-40be-814d-411f48a52f41} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3GetUnidirectionalEdgesFromHexagon doesn't match: passed 0, should be 1: While processing h3GetUnidirectionalEdgesFromHexagon(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:34.515410 [ 21984 ] {bfabf4dc-1211-41ef-847e-d96cd4209943} executeQuery: Code: 42. DB::Exception: Table function 'null' requires 'structure' argument or empty argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM null([''], -5310109);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNull.cpp:28: DB::TableFunctionNull::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a95a5b9 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:34.517051 [ 21984 ] {bfabf4dc-1211-41ef-847e-d96cd4209943} TCPHandler: Code: 42. DB::Exception: Table function 'null' requires 'structure' argument or empty argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNull.cpp:28: DB::TableFunctionNull::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a95a5b9 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:34.524587 [ 21984 ] {bca7f790-bd17-430d-9162-b8fefea7afe1} executeQuery: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM azureBlobStorage();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [184]) @ 0x000000001a9e3e3e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:66: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e04ca in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e1f04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:34.526124 [ 21984 ] {bca7f790-bd17-430d-9162-b8fefea7afe1} TCPHandler: Code: 42. DB::Exception: Storage Azure requires 3 to 7 arguments: AzureBlobStorage(connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [184]) @ 0x000000001a9e3e3e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:66: DB::TableFunctionAzureBlobStorage::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e04ca in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e1f04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:34.643952 [ 21984 ] {3a789e4b-60b7-4622-9193-640d81013b24} executeQuery: Code: 42. DB::Exception: Table function 'numbers_mt' requires 'length' or 'offset, length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM numbers_mt();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:40: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9562c8 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:34.645628 [ 21984 ] {3a789e4b-60b7-4622-9193-640d81013b24} TCPHandler: Code: 42. DB::Exception: Table function 'numbers_mt' requires 'length' or 'offset, length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNumbers.cpp:40: DB::TableFunctionNumbers::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9562c8 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:34.764523 [ 21984 ] {cad8126c-9e14-4fff-89ec-84d5d1e741fa} executeQuery: Code: 43. DB::Exception: Illegal type String of argument 0 of function geoToS2. Must be Float64: While processing geoToS2(CAST('i\'*n6', 'String'), ''): While processing (SELECT geoToS2(CAST('i\'*n6', 'String'), '')) AS _subquery784. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT 0, ( SELECT geoToS2((CAST(('i\'*n6') AS String)), '') ) , '', 'p((int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, String&&) @ 0x000000000e47a048 in /usr/bin/clickhouse 6. /build/src/Functions/geoToS2.cpp:60: DB::(anonymous namespace)::FunctionGeoToS2::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e4792d9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:34.787575 [ 21984 ] {cad8126c-9e14-4fff-89ec-84d5d1e741fa} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument 0 of function geoToS2. Must be Float64: While processing geoToS2(CAST('i\'*n6', 'String'), ''): While processing (SELECT geoToS2(CAST('i\'*n6', 'String'), '')) AS _subquery784. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, String&&) @ 0x000000000e47a048 in /usr/bin/clickhouse 6. /build/src/Functions/geoToS2.cpp:60: DB::(anonymous namespace)::FunctionGeoToS2::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e4792d9 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:34.794956 [ 21984 ] {9528c783-523b-4278-ba15-ac69acfc1734} executeQuery: Code: 42. DB::Exception: Number of arguments for function addInterval doesn't match: passed 0, should be 2: While processing addInterval(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT addInterval();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:34.796458 [ 21984 ] {9528c783-523b-4278-ba15-ac69acfc1734} TCPHandler: Code: 42. DB::Exception: Number of arguments for function addInterval doesn't match: passed 0, should be 2: While processing addInterval(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:34.910093 [ 21984 ] {2853c0fd-1ceb-4c09-882d-5ab803376218} executeQuery: Code: 42. DB::Exception: Aggregate function stddevSamp requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT stddevSamp();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8abc1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:247: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsUnary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015ba8d55 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:31:34.911944 [ 21984 ] {2853c0fd-1ceb-4c09-882d-5ab803376218} TCPHandler: Code: 42. DB::Exception: Aggregate function stddevSamp requires single argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:27: DB::assertUnary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013d8abc1 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionStatisticsSimple.h:247: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsUnary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000015ba8d55 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:31:35.026789 [ 21984 ] {47e623d1-0ae3-423e-a7c0-fd63068bf5a8} executeQuery: Code: 42. DB::Exception: Number of arguments for function position doesn't match: passed 0, should be 2 or 3: While processing position(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT locate();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:103: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000012333c20 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:35.028583 [ 21984 ] {47e623d1-0ae3-423e-a7c0-fd63068bf5a8} TCPHandler: Code: 42. DB::Exception: Number of arguments for function position doesn't match: passed 0, should be 2 or 3: While processing position(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringSearch.h:103: DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000012333c20 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:35.175097 [ 21984 ] {3af1a87b-b16b-4cd1-ae88-8260ea2f7048} executeQuery: Code: 36. DB::Exception: Table function 'viewExplain' requires 2 or 3 arguments, got 0: While processing (SELECT * FROM viewExplain()) AS _subquery785: While processing groupBitAnd((SELECT * FROM viewExplain()) AS _subquery785, (SELECT * FROM odbc()) AS _subquery786, CAST([(SELECT * FROM file()) AS _subquery787], 'DateTime')). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '', groupBitAnd(( SELECT * FROM viewExplain() ) , ( SELECT * FROM odbc() ) , (CAST(([( SELECT * FROM file() ) ]) AS DateTime))), 68;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000bc9b84c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExplain.cpp:46: DB::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9db7d4 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 2024.12.17 01:31:35.177614 [ 21984 ] {3af1a87b-b16b-4cd1-ae88-8260ea2f7048} TCPHandler: Code: 36. DB::Exception: Table function 'viewExplain' requires 2 or 3 arguments, got 0: While processing (SELECT * FROM viewExplain()) AS _subquery785: While processing groupBitAnd((SELECT * FROM viewExplain()) AS _subquery785, (SELECT * FROM odbc()) AS _subquery786, CAST([(SELECT * FROM file()) AS _subquery787], 'DateTime')). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&) @ 0x000000000bc9b84c in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExplain.cpp:46: DB::TableFunctionExplain::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9db7d4 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 2024.12.17 01:31:35.324981 [ 21984 ] {ee656d6b-2701-49d9-806f-60995b2c7c60} executeQuery: Code: 36. DB::Exception: Cannot determine the file format by it's extension. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM file((CAST(([[34923]]) AS String)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [51]) @ 0x000000000b19511e in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:621: DB::FormatFactory::getFormatFromFileName(String, bool) @ 0x000000001e6719aa in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFile.cpp:62: DB::TableFunctionFile::getFormatFromFirstArgument() @ 0x000000001a976244 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:66: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97a671 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:35.326603 [ 21984 ] {ee656d6b-2701-49d9-806f-60995b2c7c60} TCPHandler: Code: 36. DB::Exception: Cannot determine the file format by it's extension. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [51]) @ 0x000000000b19511e in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:621: DB::FormatFactory::getFormatFromFileName(String, bool) @ 0x000000001e6719aa in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFile.cpp:62: DB::TableFunctionFile::getFormatFromFirstArgument() @ 0x000000001a976244 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionFileLike.cpp:66: DB::ITableFunctionFileLike::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a97a671 in /usr/bin/clickhouse 9. /build/src/TableFunctions/ITableFunctionFileLike.cpp:49: DB::ITableFunctionFileLike::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a97a301 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:35.494778 [ 21984 ] {a7b4f02e-b0c9-4c4e-adcf-d1c086b7d262} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing '', 97165951.764827, [''], CAST(NULL, 'String'). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '', 97165951.764827, [''], (CAST((NULL) AS String));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1f92be in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3831: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b78cba3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b78c65c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc842e9 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 2024.12.17 01:31:35.496739 [ 21984 ] {a7b4f02e-b0c9-4c4e-adcf-d1c086b7d262} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing '', 97165951.764827, [''], CAST(NULL, 'String'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1f92be in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3831: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b78cba3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b78c65c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc842e9 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 2024.12.17 01:31:35.503155 [ 21984 ] {478edbd0-7bc8-4250-a454-8bb7d7893a6e} executeQuery: Code: 42. DB::Exception: SQLite database requires 2 arguments: database path, table name. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57106) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM sqlite();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [64]) @ 0x000000000bb55cde in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionSQLite.cpp:61: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d03dd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:35.504501 [ 21984 ] {478edbd0-7bc8-4250-a454-8bb7d7893a6e} TCPHandler: Code: 42. DB::Exception: SQLite database requires 2 arguments: database path, table name. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [64]) @ 0x000000000bb55cde in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionSQLite.cpp:61: DB::TableFunctionSQLite::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d03dd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:39.523830 [ 22004 ] {8ac64970-3b82-4d3d-8bac-cd9e7e89161e} executeQuery: Code: 73. DB::Exception: Unknown format . (UNKNOWN_FORMAT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM format('\0', '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:38: DB::FormatFactory::getCreators(String const&) const @ 0x000000001e66d47c in /usr/bin/clickhouse 7. /build/src/Formats/FormatFactory.cpp:759: DB::FormatFactory::checkIfFormatHasExternalSchemaReader(String const&) const @ 0x000000001e672b5d in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:57: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e694e9e in /usr/bin/clickhouse 9. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e697148 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d5d58 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFormat.cpp:100: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9d66f0 in /usr/bin/clickhouse 12. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 14. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:31:39.525678 [ 22004 ] {8ac64970-3b82-4d3d-8bac-cd9e7e89161e} TCPHandler: Code: 73. DB::Exception: Unknown format . (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Formats/FormatFactory.cpp:38: DB::FormatFactory::getCreators(String const&) const @ 0x000000001e66d47c in /usr/bin/clickhouse 7. /build/src/Formats/FormatFactory.cpp:759: DB::FormatFactory::checkIfFormatHasExternalSchemaReader(String const&) const @ 0x000000001e672b5d in /usr/bin/clickhouse 8. /build/src/Formats/ReadSchemaUtils.cpp:57: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001e694e9e in /usr/bin/clickhouse 9. /build/src/Formats/ReadSchemaUtils.cpp:239: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001e697148 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFormat.cpp:60: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001a9d5d58 in /usr/bin/clickhouse 11. /build/src/TableFunctions/TableFunctionFormat.cpp:100: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a9d66f0 in /usr/bin/clickhouse 12. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 13. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 14. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:31:39.553840 [ 22004 ] {e0c73167-6368-4dbe-81fe-78eec24e9c61} executeQuery: Code: 42. DB::Exception: Number of arguments for function tuplePlus doesn't match: passed 0, should be 2: While processing tuplePlus(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT vectorSum();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:39.556114 [ 22004 ] {e0c73167-6368-4dbe-81fe-78eec24e9c61} TCPHandler: Code: 42. DB::Exception: Number of arguments for function tuplePlus doesn't match: passed 0, should be 2: While processing tuplePlus(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:39.700603 [ 22004 ] {798a7562-86b5-46dc-987b-fe21cfc50f45} executeQuery: Code: 701. DB::Exception: Requested cluster '' not found. (CLUSTER_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM clusterAllReplicas('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:3174: DB::Context::getCluster(String const&) const @ 0x000000001bdd4dfc in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionRemote.cpp:244: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a949706 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:39.702445 [ 22004 ] {798a7562-86b5-46dc-987b-fe21cfc50f45} TCPHandler: Code: 701. DB::Exception: Requested cluster '' not found. (CLUSTER_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/Context.cpp:3174: DB::Context::getCluster(String const&) const @ 0x000000001bdd4dfc in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionRemote.cpp:244: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a949706 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:39.848021 [ 22004 ] {8eb92365-da28-4481-b70b-e95ae6c1a221} executeQuery: Code: 36. DB::Exception: Argument 'length' must be a literal with type UInt64, got String: While processing (SELECT * FROM zeros('\0')) AS nqumntbs: While processing initialQueryID(bitmapHasAny('=a1,#;'), (SELECT * FROM zeros('\0')) AS nqumntbs, (SELECT * FROM generateRandom([])) AS x): While processing dictGetChildren(initialQueryID(bitmapHasAny('=a1,#;'), (SELECT * FROM zeros('\0')) AS nqumntbs, (SELECT * FROM generateRandom([])) AS x)). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT dictGetChildren(initialQueryID(bitmapHasAny('=a1,#;'), ( SELECT * FROM zeros('\0') ) AS nqumntbs, ( SELECT * FROM generateRandom([]) ) AS x));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: unsigned long DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da490cb in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: unsigned long DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da48de7 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionZeros.cpp:80: DB::TableFunctionZeros::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a96f204 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionZeros.cpp:40: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a96eea6 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 2024.12.17 01:31:39.850172 [ 22004 ] {8eb92365-da28-4481-b70b-e95ae6c1a221} TCPHandler: Code: 36. DB::Exception: Argument 'length' must be a literal with type UInt64, got String: While processing (SELECT * FROM zeros('\0')) AS nqumntbs: While processing initialQueryID(bitmapHasAny('=a1,#;'), (SELECT * FROM zeros('\0')) AS nqumntbs, (SELECT * FROM generateRandom([])) AS x): While processing dictGetChildren(initialQueryID(bitmapHasAny('=a1,#;'), (SELECT * FROM zeros('\0')) AS nqumntbs, (SELECT * FROM generateRandom([])) AS x)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: unsigned long DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da490cb in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: unsigned long DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da48de7 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionZeros.cpp:80: DB::TableFunctionZeros::evaluateArgument(std::shared_ptr, std::shared_ptr&) const @ 0x000000001a96f204 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionZeros.cpp:40: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a96eea6 in /usr/bin/clickhouse 10. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 2024.12.17 01:31:39.973956 [ 22004 ] {e9776c17-1b37-4ec8-8636-60d1eeb27dfd} executeQuery: Code: 42. DB::Exception: Invalid number of arguments for function multiIf: While processing multiIf(): While processing (SELECT multiIf()) AS _subquery793. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT 'ak^@', groupBitmapXor(NULL, ''), ( SELECT multiIf() ) , ( SELECT 'mx', 'F', [], '\0' ) AS uhyhzmbe, 'v', NULL;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/multiIf.cpp:89: DB::(anonymous namespace)::FunctionMultiIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001114586d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:39.975879 [ 22004 ] {e9776c17-1b37-4ec8-8636-60d1eeb27dfd} TCPHandler: Code: 42. DB::Exception: Invalid number of arguments for function multiIf: While processing multiIf(): While processing (SELECT multiIf()) AS _subquery793. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/multiIf.cpp:89: DB::(anonymous namespace)::FunctionMultiIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000001114586d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:39.994664 [ 22004 ] {7bfbdeb2-0421-4501-9be3-0e41401e1d3e} executeQuery: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM executable(19256950);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:62: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a96f988 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:39.996040 [ 22004 ] {7bfbdeb2-0421-4501-9be3-0e41401e1d3e} TCPHandler: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:62: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a96f988 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:40.138894 [ 22004 ] {a67067d8-c060-4930-ad69-54ed264d2030} executeQuery: Code: 42. DB::Exception: Function mapContainsKeyLike requires at least one argument, passed 0: While processing mapContainsKeyLike(): While processing (SELECT mapContainsKeyLike()) AS cceamdax. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT 'JydxA', ( SELECT mapContainsKeyLike() ) AS cceamdax, ( SELECT toUInt32OrZero() ) AS vwoqt, '\0', (CAST(('\0') AS Date));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:66: DB::FunctionMapToArrayAdapter, DB::MapKeyLikeAdapter, DB::NameMapContainsKeyLike>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012936569 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:40.141128 [ 22004 ] {a67067d8-c060-4930-ad69-54ed264d2030} TCPHandler: Code: 42. DB::Exception: Function mapContainsKeyLike requires at least one argument, passed 0: While processing mapContainsKeyLike(): While processing (SELECT mapContainsKeyLike()) AS cceamdax. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/array/FunctionsMapMiscellaneous.cpp:66: DB::FunctionMapToArrayAdapter, DB::MapKeyLikeAdapter, DB::NameMapContainsKeyLike>::getReturnTypeImpl(std::vector> const&) const @ 0x0000000012936569 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:40.177220 [ 22004 ] {8fcfc3d7-8b0c-4360-9674-0903ac6046b6} executeQuery: Code: 42. DB::Exception: Number of arguments for function log doesn't match: passed 0, should be 1: While processing log(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ln();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:40.179222 [ 22004 ] {8fcfc3d7-8b0c-4360-9674-0903ac6046b6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function log doesn't match: passed 0, should be 1: While processing log(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:40.189036 [ 22004 ] {bf2aa8e6-c7ac-4021-8808-f3e1d6adb464} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM postgresql((SELECT dictGetUInt64OrDefault(50248789.103721, 4), 'nU3#9If'))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91bd33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7d99e0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cd536 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:40.190778 [ 22004 ] {bf2aa8e6-c7ac-4021-8808-f3e1d6adb464} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91bd33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7d99e0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cd536 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:40.405064 [ 22004 ] {c018d3a1-7808-43c0-8526-2e28d380e6f1} executeQuery: Code: 36. DB::Exception: Argument 'format/NOSIGN' must be a literal with type String, got UInt64: While processing (SELECT * FROM cosn(219.22, 6)) AS iiykmagb: While processing toDayOfMonth('\0', (SELECT * FROM cosn(219.22, 6)) AS iiykmagb, (SELECT 'giRU', s2CapUnion('}')) AS be): While processing (SELECT 'ur5 ^Z', toDayOfMonth('\0', (SELECT * FROM cosn(219.22, 6)) AS iiykmagb, (SELECT 'giRU', s2CapUnion('}')) AS be), '') AS _subquery794. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT 'ur5 ^Z', DAYOFMONTH('\0', ( SELECT * FROM cosn(219.22, 6) ) AS iiykmagb, ( SELECT 'giRU', s2CapUnion('}') ) AS be), '' ) , ( SELECT parseDateTimeInJodaSyntax([[]]) ) AS qx, ( SELECT toUInt256('\0') ) AS kbie, ' >/d';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:97: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9961df in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 2024.12.17 01:31:40.407944 [ 22004 ] {c018d3a1-7808-43c0-8526-2e28d380e6f1} TCPHandler: Code: 36. DB::Exception: Argument 'format/NOSIGN' must be a literal with type String, got UInt64: While processing (SELECT * FROM cosn(219.22, 6)) AS iiykmagb: While processing toDayOfMonth('\0', (SELECT * FROM cosn(219.22, 6)) AS iiykmagb, (SELECT 'giRU', s2CapUnion('}')) AS be): While processing (SELECT 'ur5 ^Z', toDayOfMonth('\0', (SELECT * FROM cosn(219.22, 6)) AS iiykmagb, (SELECT 'giRU', s2CapUnion('}')) AS be), '') AS _subquery794. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity>>::type>, String const&, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000001194de28 in /usr/bin/clickhouse 6. /build/src/Storages/checkAndGetLiteralArgument.cpp:32: String DB::checkAndGetLiteralArgument(DB::ASTLiteral const&, String const&) @ 0x000000001da48d08 in /usr/bin/clickhouse 7. /build/src/Storages/checkAndGetLiteralArgument.cpp:16: String DB::checkAndGetLiteralArgument(std::shared_ptr const&, String const&) @ 0x000000001da489fd in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionS3.cpp:97: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9961df in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 10. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 12. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 20. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:321: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc9001d in /usr/bin/clickhouse 30. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:71: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d997 in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 2024.12.17 01:31:40.421838 [ 22004 ] {fed98eb1-b849-4487-949a-a0511d5ad46f} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDateTime: While processing '5 wgq,', CAST([], 'DateTime'), '\0'. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '5 wgq,', (CAST(([]) AS DateTime)), '\0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583e86 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:40.425771 [ 22004 ] {fed98eb1-b849-4487-949a-a0511d5ad46f} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDateTime: While processing '5 wgq,', CAST([], 'DateTime'), '\0'. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583e86 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:40.433304 [ 22004 ] {04e38a99-dd48-4c74-a441-14dd685e69c6} executeQuery: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM remoteSecure();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x000000001a94cea9 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94889d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:40.435064 [ 22004 ] {04e38a99-dd48-4c74-a441-14dd685e69c6} TCPHandler: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:72: DB::Exception::Exception(String const&, int, bool) @ 0x000000000b1febea in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:41: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x000000001a94cea9 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a94889d in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:40.443000 [ 22004 ] {26ba5870-5932-4027-a63c-3270fe56e356} executeQuery: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM jdbc('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9beb48 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:40.445159 [ 22004 ] {26ba5870-5932-4027-a63c-3270fe56e356} TCPHandler: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9beb48 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:40.589377 [ 22004 ] {8aa07acb-aa50-46ec-a5c8-502f67473ac7} executeQuery: Code: 42. DB::Exception: Aggregate function covarSampStable requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT covarSampStable(), 'TI0,', arrayZip(), kurtSamp();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013dfb541 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionStatistics.cpp:42: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001589b115 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:31:40.592895 [ 22004 ] {8aa07acb-aa50-46ec-a5c8-502f67473ac7} TCPHandler: Code: 42. DB::Exception: Aggregate function covarSampStable requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013dfb541 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionStatistics.cpp:42: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionStatisticsBinary(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001589b115 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:31:40.619797 [ 22004 ] {5b870d23-b82d-45a6-9390-38b6eaac22d4} executeQuery: Code: 42. DB::Exception: Number of arguments for function trimLeft doesn't match: passed 0, should be 1: While processing trimLeft(): While processing (SELECT trimLeft()) AS _subquery796: While processing (SELECT simpleJSONExtractUInt(), '.&\'6qc', (SELECT trimLeft()), (SELECT toRelativeYearNum([])) AS bynnzhqi) AS tg: While processing intHash64('', (SELECT simpleJSONExtractUInt(), '.&\'6qc', (SELECT trimLeft()), (SELECT toRelativeYearNum([])) AS bynnzhqi) AS tg): While processing (SELECT intHash64('', (SELECT simpleJSONExtractUInt(), '.&\'6qc', (SELECT trimLeft()), (SELECT toRelativeYearNum([])) AS bynnzhqi) AS tg), (SELECT addSeconds('\0')) AS qjvwcmpi, '$:zd', NULL) AS _subquery795: While processing toFloat32OrDefault(['\0'], (SELECT intHash64('', (SELECT simpleJSONExtractUInt(), '.&\'6qc', (SELECT trimLeft()), (SELECT toRelativeYearNum([])) AS bynnzhqi) AS tg), (SELECT addSeconds('\0')) AS qjvwcmpi, '$:zd', NULL) AS _subquery795). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT toFloat32OrDefault(['\0'], ( SELECT intHash64('', ( SELECT simpleJSONExtractUInt(), '.&\'6qc', ( SELECT trimLeft() ) , ( SELECT toRelativeYearNum([]) ) AS bynnzhqi ) AS tg), ( SELECT addSeconds('\0') ) AS qjvwcmpi, '$:zd', NULL ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 2024.12.17 01:31:40.624227 [ 22004 ] {5b870d23-b82d-45a6-9390-38b6eaac22d4} TCPHandler: Code: 42. DB::Exception: Number of arguments for function trimLeft doesn't match: passed 0, should be 1: While processing trimLeft(): While processing (SELECT trimLeft()) AS _subquery796: While processing (SELECT simpleJSONExtractUInt(), '.&\'6qc', (SELECT trimLeft()), (SELECT toRelativeYearNum([])) AS bynnzhqi) AS tg: While processing intHash64('', (SELECT simpleJSONExtractUInt(), '.&\'6qc', (SELECT trimLeft()), (SELECT toRelativeYearNum([])) AS bynnzhqi) AS tg): While processing (SELECT intHash64('', (SELECT simpleJSONExtractUInt(), '.&\'6qc', (SELECT trimLeft()), (SELECT toRelativeYearNum([])) AS bynnzhqi) AS tg), (SELECT addSeconds('\0')) AS qjvwcmpi, '$:zd', NULL) AS _subquery795: While processing toFloat32OrDefault(['\0'], (SELECT intHash64('', (SELECT simpleJSONExtractUInt(), '.&\'6qc', (SELECT trimLeft()), (SELECT toRelativeYearNum([])) AS bynnzhqi) AS tg), (SELECT addSeconds('\0')) AS qjvwcmpi, '$:zd', NULL) AS _subquery795). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 2024.12.17 01:31:40.766906 [ 22004 ] {f0efa67e-068a-4f1d-a47d-b4e7bc485585} executeQuery: Code: 42. DB::Exception: Wrong number of arguments for function ULIDStringToDateTime: should be 1 or 2: While processing tid(ULIDStringToDateTime()), NULL, ' aN\'5w', 712.64. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT tid(ULIDStringToDateTime()), NULL, ' aN\'5w', 712.64;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingULID.cpp:53: DB::FunctionULIDStringToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ba2098e in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:31:40.770281 [ 22004 ] {f0efa67e-068a-4f1d-a47d-b4e7bc485585} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments for function ULIDStringToDateTime: should be 1 or 2: While processing tid(ULIDStringToDateTime()), NULL, ' aN\'5w', 712.64. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsCodingULID.cpp:53: DB::FunctionULIDStringToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x000000000ba2098e in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:31:40.782079 [ 22004 ] {b9d98cbc-3190-459d-a5c7-575eb2467e73} executeQuery: Code: 42. DB::Exception: Number of arguments for function reinterpretAsInt16 doesn't match: passed 2, should be 1: While processing reinterpretAsInt16('\0', []). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT reinterpretAsInt16('\0', []);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:40.784629 [ 22004 ] {b9d98cbc-3190-459d-a5c7-575eb2467e73} TCPHandler: Code: 42. DB::Exception: Number of arguments for function reinterpretAsInt16 doesn't match: passed 2, should be 1: While processing reinterpretAsInt16('\0', []). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:40.799105 [ 22004 ] {bf0ce5eb-c611-4dd7-a206-2cb60c6ee6e0} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nullable(Nothing)) of argument of function toDateTime: While processing '%1p\'Rn', CAST(-847, 'Date'), '\0', CAST([NULL], 'DateTime'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '%1p\'Rn', (CAST((-847) AS Date)), '\0', (CAST(([NULL]) AS DateTime));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583e86 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:40.802582 [ 22004 ] {bf0ce5eb-c611-4dd7-a206-2cb60c6ee6e0} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nullable(Nothing)) of argument of function toDateTime: While processing '%1p\'Rn', CAST(-847, 'Date'), '\0', CAST([NULL], 'DateTime'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583e86 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:40.812938 [ 22004 ] {d99f445e-eb3a-4d23-a906-db91206e2978} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3CellAreaM2 doesn't match: passed 0, should be 1: While processing sipHash128Keyed(h3CellAreaM2()). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT sipHash128Keyed(h3CellAreaM2());), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:40.814500 [ 22004 ] {d99f445e-eb3a-4d23-a906-db91206e2978} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3CellAreaM2 doesn't match: passed 0, should be 1: While processing sipHash128Keyed(h3CellAreaM2()). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:40.998976 [ 22004 ] {33f56e3f-47a2-4d80-8fac-f0fbf6711e7c} executeQuery: Code: 184. DB::Exception: Aggregate function groupArrayLast() is found in wrong place in query: While processing groupArrayLast(). (ILLEGAL_AGGREGATION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM azureBlobStorageCluster((CAST((kostikConsistentHash([groupArrayLast()], [])) AS DateTime)), '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd6db1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:59: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd6cc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfd6ac0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd73e1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd6a4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bfd7486 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd73ee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd6a4a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bfd7486 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd73ee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd6a4a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bfd7486 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd73ee in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd6a4a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bfd7486 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd73ee in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd6a4a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bfd7486 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd73ee in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd6a4a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bfd7486 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd73ee in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd6a4a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfc1045 in /usr/bin/clickhouse 30. /build/src/Interpreters/GetAggregatesVisitor.h:112: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x000000001cfac359 in /usr/bin/clickhouse 31. /build/src/Interpreters/TreeRewriter.cpp:1353: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa1027 in /usr/bin/clickhouse 2024.12.17 01:31:41.000640 [ 22004 ] {33f56e3f-47a2-4d80-8fac-f0fbf6711e7c} TCPHandler: Code: 184. DB::Exception: Aggregate function groupArrayLast() is found in wrong place in query: While processing groupArrayLast(). (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/GetAggregatesVisitor.h:67: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd6db1 in /usr/bin/clickhouse 7. /build/src/Interpreters/GetAggregatesVisitor.h:59: DB::GetAggregatesMatcher::visit(std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x000000001bfd6cc1 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfd6ac0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd73e1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd6a4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bfd7486 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd73ee in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd6a4a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bfd7486 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd73ee in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd6a4a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bfd7486 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd73ee in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd6a4a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bfd7486 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd73ee in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd6a4a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bfd7486 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd73ee in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd6a4a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor const>::visitChildren(std::shared_ptr const&) @ 0x000000001bfd7486 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfd73ee in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfd6a4a in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfc1045 in /usr/bin/clickhouse 30. /build/src/Interpreters/GetAggregatesVisitor.h:112: DB::assertNoAggregates(std::shared_ptr const&, char const*) @ 0x000000001cfac359 in /usr/bin/clickhouse 31. /build/src/Interpreters/TreeRewriter.cpp:1353: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa1027 in /usr/bin/clickhouse 2024.12.17 01:31:41.158837 [ 22004 ] {d01ffd02-2205-4ef7-8eb1-13a840d330a7} executeQuery: Code: 42. DB::Exception: The signature of table function azureBlobStorageCluster shall be the following: - cluster, connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM azureBlobStorageCluster();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:53: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e7cf8 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e1f04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e7af7 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:41.161960 [ 22004 ] {d01ffd02-2205-4ef7-8eb1-13a840d330a7} TCPHandler: Code: 42. DB::Exception: The signature of table function azureBlobStorageCluster shall be the following: - cluster, connection_string|storage_account_url, container_name, blobpath, [account_name, account_key, format, compression, structure]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionCluster.h:53: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a9e7cf8 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionAzureBlobStorage.cpp:174: DB::TableFunctionAzureBlobStorage::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e1f04 in /usr/bin/clickhouse 8. /build/src/TableFunctions/ITableFunctionCluster.h:47: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9e7af7 in /usr/bin/clickhouse 9. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 11. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:41.169235 [ 22004 ] {5d45a092-22c4-40f9-8a40-fd655984592e} executeQuery: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM executable('');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:62: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a96f988 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:41.170633 [ 22004 ] {5d45a092-22c4-40f9-8a40-fd655984592e} TCPHandler: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:62: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a96f988 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:41.179753 [ 22004 ] {a64b0630-7ea8-4904-a08e-08e2bd358a0a} executeQuery: Code: 43. DB::Exception: Illegal type Array(Array(String)) of first argument (haystack) of function countMatches. Must be String/FixedString.: While processing countMatches([['']], '40!-'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT countMatches([['']], '40!-');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/countMatches.h:43: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseSensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d93ae02 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:41.181505 [ 22004 ] {a64b0630-7ea8-4904-a08e-08e2bd358a0a} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Array(String)) of first argument (haystack) of function countMatches. Must be String/FixedString.: While processing countMatches([['']], '40!-'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/countMatches.h:43: DB::FunctionCountMatches<(anonymous namespace)::FunctionCountMatchesCaseSensitive>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d93ae02 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:41.188111 [ 22004 ] {928028dd-1d57-4a00-b91b-eaa3ba3f5fce} executeQuery: Code: 36. DB::Exception: Bad arguments count when creating Redis table function. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM redis();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c158a3e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRedis.cpp:56: DB::TableFunctionRedis::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98f8bd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:41.189495 [ 22004 ] {928028dd-1d57-4a00-b91b-eaa3ba3f5fce} TCPHandler: Code: 36. DB::Exception: Bad arguments count when creating Redis table function. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c158a3e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRedis.cpp:56: DB::TableFunctionRedis::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98f8bd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:41.198201 [ 22004 ] {530b2a68-3e88-4f75-afb3-90f48df25595} executeQuery: Code: 42. DB::Exception: Number of arguments for function IPv6StringToNumOrNull doesn't match: passed 0, should be 1: While processing IPv6StringToNumOrNull(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT IPv6StringToNumOrNull();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:41.200177 [ 22004 ] {530b2a68-3e88-4f75-afb3-90f48df25595} TCPHandler: Code: 42. DB::Exception: Number of arguments for function IPv6StringToNumOrNull doesn't match: passed 0, should be 1: While processing IPv6StringToNumOrNull(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:41.219572 [ 22004 ] {d27dabd4-5e43-4846-818a-71341a1f6799} executeQuery: Code: 42. DB::Exception: Number of arguments for function positiveModulo doesn't match: passed 0, should be 2: While processing positiveModulo(): While processing (SELECT positiveModulo()) AS stcugdfy: While processing xxHash32('!v]jhp', (SELECT positiveModulo()) AS stcugdfy, (SELECT * FROM gcs([[toDate32OrDefault((SELECT * FROM dictionary('\0')), (SELECT splitByRegexp(CAST('\0', 'String'))) AS cjfrpgr)]])) AS fk). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT xxHash32('!v]jhp', ( SELECT positive_modulo() ) AS stcugdfy, ( SELECT * FROM gcs([[toDate32OrDefault(( SELECT * FROM dictionary('\0') ) , ( SELECT splitByRegexp((CAST(('\0') AS String))) ) AS cjfrpgr)]]) ) AS fk);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 2024.12.17 01:31:41.221970 [ 22004 ] {d27dabd4-5e43-4846-818a-71341a1f6799} TCPHandler: Code: 42. DB::Exception: Number of arguments for function positiveModulo doesn't match: passed 0, should be 2: While processing positiveModulo(): While processing (SELECT positiveModulo()) AS stcugdfy: While processing xxHash32('!v]jhp', (SELECT positiveModulo()) AS stcugdfy, (SELECT * FROM gcs([[toDate32OrDefault((SELECT * FROM dictionary('\0')), (SELECT splitByRegexp(CAST('\0', 'String'))) AS cjfrpgr)]])) AS fk). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 2024.12.17 01:31:41.352530 [ 22004 ] {6839d44d-7f75-4f60-a167-37aa2bd716ba} executeQuery: Code: 42. DB::Exception: Table function 'zeros' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM zeros('', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a96edc8 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:41.354320 [ 22004 ] {6839d44d-7f75-4f60-a167-37aa2bd716ba} TCPHandler: Code: 42. DB::Exception: Table function 'zeros' requires 'length'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionZeros.cpp:37: DB::TableFunctionZeros::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001a96edc8 in /usr/bin/clickhouse 7. /build/src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x000000001ac0b3f3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1744: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc8677 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:41.506168 [ 22004 ] {e6317df1-4845-4735-9c90-4be62384afc2} executeQuery: Code: 43. DB::Exception: Illegal type String of second argument of function rightUTF8: While processing rightUTF8('\0', '\0'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT rightUTF8('\0', '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/LeftRight.h:65: DB::FunctionLeftRight::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000124cba5d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:41.507955 [ 22004 ] {e6317df1-4845-4735-9c90-4be62384afc2} TCPHandler: Code: 43. DB::Exception: Illegal type String of second argument of function rightUTF8: While processing rightUTF8('\0', '\0'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/LeftRight.h:65: DB::FunctionLeftRight::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000124cba5d in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:41.637757 [ 22004 ] {6c1dd878-cd6d-4dc4-b836-2db0214e938e} executeQuery: Code: 35. DB::Exception: Function ngramSimHashUTF8 expect at least one argument: While processing ngramSimHashUTF8(): While processing (SELECT ngramSimHashUTF8()) AS r: While processing mannWhitneyUTest((SELECT ngramSimHashUTF8()) AS r, ''): While processing hasSubsequenceCaseInsensitiveUTF8(mannWhitneyUTest((SELECT ngramSimHashUTF8()) AS r, ''), ''): While processing lessOrEquals(hasSubsequenceCaseInsensitiveUTF8(mannWhitneyUTest((SELECT ngramSimHashUTF8()) AS r, ''), '')). (TOO_FEW_ARGUMENTS_FOR_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT lessOrEquals(hasSubsequenceCaseInsensitiveUTF8(mannWhitneyUTest(( SELECT ngramSimHashUTF8() ) AS r, ''), ''));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringHash.h:57: DB::FunctionsStringHash, DB::NameNgramSimHashUTF8, true, false>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c358f18 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:41.639765 [ 22004 ] {6c1dd878-cd6d-4dc4-b836-2db0214e938e} TCPHandler: Code: 35. DB::Exception: Function ngramSimHashUTF8 expect at least one argument: While processing ngramSimHashUTF8(): While processing (SELECT ngramSimHashUTF8()) AS r: While processing mannWhitneyUTest((SELECT ngramSimHashUTF8()) AS r, ''): While processing hasSubsequenceCaseInsensitiveUTF8(mannWhitneyUTest((SELECT ngramSimHashUTF8()) AS r, ''), ''): While processing lessOrEquals(hasSubsequenceCaseInsensitiveUTF8(mannWhitneyUTest((SELECT ngramSimHashUTF8()) AS r, ''), '')). (TOO_FEW_ARGUMENTS_FOR_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsStringHash.h:57: DB::FunctionsStringHash, DB::NameNgramSimHashUTF8, true, false>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c358f18 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:41.648451 [ 22004 ] {e8d3900a-c2b8-4be2-89ca-07546e96582b} executeQuery: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM odbc(['U=|G!']);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9beb48 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:41.650023 [ 22004 ] {e8d3900a-c2b8-4be2-89ca-07546e96582b} TCPHandler: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9beb48 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:41.709641 [ 22004 ] {8cf1db5c-832a-403c-8414-d5c729377d5c} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing NULL, CAST('wG', 'Date'), -3, '\0', CAST('', 'String'). (CANNOT_PARSE_DATE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT NULL, (CAST(('wG') AS Date)), -3, '\0', (CAST(('') AS String));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:41.711287 [ 22004 ] {8cf1db5c-832a-403c-8414-d5c729377d5c} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing NULL, CAST('wG', 'Date'), -3, '\0', CAST('', 'String'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:41.731880 [ 22004 ] {1f5fb995-1777-43d6-b43b-8227f83012e6} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing NULL, 903.8, CAST(NULL, 'String'). (CANNOT_CONVERT_TYPE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT NULL, 903.8, (CAST((NULL) AS String));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1f92be in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3831: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b78cba3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b78c65c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc842e9 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 2024.12.17 01:31:41.733651 [ 22004 ] {1f5fb995-1777-43d6-b43b-8227f83012e6} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: While processing NULL, 903.8, CAST(NULL, 'String'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1f92be in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:3831: DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000000b78cba3 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:2875: DB::FunctionCast::prepare(std::vector> const&) const @ 0x000000000b78c65c in /usr/bin/clickhouse 8. /build/src/Interpreters/ActionsDAG.cpp:272: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc842e9 in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 2024.12.17 01:31:41.853238 [ 22004 ] {b0d2252b-19db-4a17-bba6-35b4528a491d} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'json' of function JSONArrayLength, expected String, got Array(Nothing): While processing JSONArrayLength([]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT JSON_ARRAY_LENGTH([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e40 in /usr/bin/clickhouse 8. /build/src/Functions/JSONArrayLength.cpp:51: DB::(anonymous namespace)::FunctionJSONArrayLength::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c3da872 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:31:41.855133 [ 22004 ] {b0d2252b-19db-4a17-bba6-35b4528a491d} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'json' of function JSONArrayLength, expected String, got Array(Nothing): While processing JSONArrayLength([]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e40 in /usr/bin/clickhouse 8. /build/src/Functions/JSONArrayLength.cpp:51: DB::(anonymous namespace)::FunctionJSONArrayLength::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c3da872 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:31:41.870480 [ 22004 ] {c796a65b-cc76-4cc4-b715-71befeb98238} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing SHA256(CAST(CAST('', 'String'), 'Date'), '\0'). (CANNOT_PARSE_DATE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT SHA256((CAST(((CAST(('') AS String))) AS Date)), '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:41.872969 [ 22004 ] {c796a65b-cc76-4cc4-b715-71befeb98238} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing SHA256(CAST(CAST('', 'String'), 'Date'), '\0'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:41.882798 [ 22004 ] {bd2b3d39-4364-49a4-af17-0b01e3954117} executeQuery: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM mongodb(CAST(NULL, 'DateTime'))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e4797be in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98c036 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:41.884993 [ 22004 ] {bd2b3d39-4364-49a4-af17-0b01e3954117} TCPHandler: Code: 42. DB::Exception: Table function 'mongodb' requires from 6 to 7 parameters: mongodb('host:port', database, collection, 'user', 'password', structure, [, 'options']). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [147]) @ 0x000000000e4797be in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionMongoDB.cpp:64: DB::TableFunctionMongoDB::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98c036 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:41.899087 [ 22004 ] {2fbe0ce1-af8f-45a4-83e5-9d04e33b511f} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing max2('A0J', CAST(CAST('idJCW4,[', 'Date'), 'DateTime')). (CANNOT_PARSE_DATE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT max2('A0J', (CAST(((CAST(('idJCW4,[') AS Date))) AS DateTime)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:41.901411 [ 22004 ] {2fbe0ce1-af8f-45a4-83e5-9d04e33b511f} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing max2('A0J', CAST(CAST('idJCW4,[', 'Date'), 'DateTime')). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:42.046240 [ 22004 ] {644b628c-be5c-44ed-b98f-13f8905a678a} executeQuery: Code: 42. DB::Exception: Table function 'values' requires at least 1 argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM values();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionValues.cpp:91: DB::TableFunctionValues::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98293a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:42.048207 [ 22004 ] {644b628c-be5c-44ed-b98f-13f8905a678a} TCPHandler: Code: 42. DB::Exception: Table function 'values' requires at least 1 argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionValues.cpp:91: DB::TableFunctionValues::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98293a in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:42.058123 [ 22004 ] {7d2101b2-6384-4a8a-97c3-5d266e89f370} executeQuery: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractRaw doesn't match: passed 0, should be 2: While processing [simpleJSONExtractRaw()], -9, ['\0']. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [simpleJSONExtractRaw()], -9, ['\0'];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:42.060210 [ 22004 ] {7d2101b2-6384-4a8a-97c3-5d266e89f370} TCPHandler: Code: 42. DB::Exception: Number of arguments for function simpleJSONExtractRaw doesn't match: passed 0, should be 2: While processing [simpleJSONExtractRaw()], -9, ['\0']. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:42.227044 [ 22004 ] {741dbd32-07dd-48ac-848c-73f1ef6bbc5b} executeQuery: Code: 42. DB::Exception: Number of arguments for function parseDateTime32BestEffort doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: While processing parseDateTime32BestEffort(): While processing (SELECT parseDateTime32BestEffort()) AS _subquery798: While processing arrayReverseSplit(-2582413, (SELECT parseDateTime32BestEffort()) AS _subquery798). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM hdfsCluster(arrayReverseSplit(-2582413, ( SELECT parseDateTime32BestEffort() ) ), '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2174: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc0a4b3 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:42.229650 [ 22004 ] {741dbd32-07dd-48ac-848c-73f1ef6bbc5b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function parseDateTime32BestEffort doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: While processing parseDateTime32BestEffort(): While processing (SELECT parseDateTime32BestEffort()) AS _subquery798: While processing arrayReverseSplit(-2582413, (SELECT parseDateTime32BestEffort()) AS _subquery798). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2174: DB::FunctionConvertFromString::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc0a4b3 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:42.378011 [ 22004 ] {fa5e7b5c-0334-4f63-87c1-be579c37f819} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of 1st argument of function tryBase64Decode. Must be FixedString or String.: While processing tryBase64Decode([]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT tryBase64Decode([]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBase64Conversion.h:126: DB::FunctionBase64Conversion::getReturnTypeImpl(std::vector> const&) const @ 0x000000001279d044 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:42.380996 [ 22004 ] {fa5e7b5c-0334-4f63-87c1-be579c37f819} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of 1st argument of function tryBase64Decode. Must be FixedString or String.: While processing tryBase64Decode([]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionBase64Conversion.h:126: DB::FunctionBase64Conversion::getReturnTypeImpl(std::vector> const&) const @ 0x000000001279d044 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:42.525569 [ 22004 ] {9a9422cd-6c9d-46ca-8329-c3769113b24b} executeQuery: Code: 42. DB::Exception: Number of arguments for function toInt64OrNull doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: While processing toInt64OrNull(): While processing (SELECT toInt64OrNull()) AS _subquery799: While processing [(SELECT toInt64OrNull()) AS _subquery799, (SELECT covarSamp([])) AS _subquery800]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [( SELECT toInt64OrNull() ) , ( SELECT COVAR_SAMP([]) ) ], -64940;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2174: DB::FunctionConvertFromString, DB::NameToInt64OrNull, (DB::ConvertFromStringExceptionMode)2, (DB::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bb9e5f3 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:42.527495 [ 22004 ] {9a9422cd-6c9d-46ca-8329-c3769113b24b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toInt64OrNull doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: While processing toInt64OrNull(): While processing (SELECT toInt64OrNull()) AS _subquery799: While processing [(SELECT toInt64OrNull()) AS _subquery799, (SELECT covarSamp([])) AS _subquery800]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2174: DB::FunctionConvertFromString, DB::NameToInt64OrNull, (DB::ConvertFromStringExceptionMode)2, (DB::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bb9e5f3 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 2024.12.17 01:31:42.661873 [ 22004 ] {63092b07-cc2a-41fb-be77-77d34a0c8c19} executeQuery: Code: 36. DB::Exception: Default value type should be same as cast type. Expected Int64. Actual String: While processing toInt64OrDefault('', '4$W rZ'): While processing (SELECT toInt64OrDefault('', '4$W rZ')) AS px. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT MACStringToOUI('rL]/"Fd'), [] ) AS siyk, ( SELECT toInt64OrDefault('', '4$W rZ') ) AS px, 'zM>', ['q >'], 54767;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/castOrDefault.cpp:90: DB::FunctionCastOrDefault::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d8d4375 in /usr/bin/clickhouse 7. /build/src/Functions/castOrDefault.cpp:287: DB::FunctionCastOrDefaultTyped, DB::NameToInt64OrDefault>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d8e4c74 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:42.663852 [ 22004 ] {63092b07-cc2a-41fb-be77-77d34a0c8c19} TCPHandler: Code: 36. DB::Exception: Default value type should be same as cast type. Expected Int64. Actual String: While processing toInt64OrDefault('', '4$W rZ'): While processing (SELECT toInt64OrDefault('', '4$W rZ')) AS px. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/castOrDefault.cpp:90: DB::FunctionCastOrDefault::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d8d4375 in /usr/bin/clickhouse 7. /build/src/Functions/castOrDefault.cpp:287: DB::FunctionCastOrDefaultTyped, DB::NameToInt64OrDefault>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d8e4c74 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:42.826300 [ 22004 ] {4afa66e3-67b9-4832-814e-0b746b105339} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT [], globalNotIn();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/misc.h:45: DB::checkFunctionIsInOrGlobalInOperator(DB::ASTFunction const&) @ 0x000000001bd6c5ef in /usr/bin/clickhouse 7. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:92: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001bd6ba1c in /usr/bin/clickhouse 8. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001bd6b5fd in /usr/bin/clickhouse 9. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001bd6b5bf in /usr/bin/clickhouse 10. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:55: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001bd6b998 in /usr/bin/clickhouse 11. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001bd6b562 in /usr/bin/clickhouse 12. /build/src/Interpreters/ApplyWithSubqueryVisitor.h:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&) @ 0x000000001cac636e in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:412: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa6086 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:42.828182 [ 22004 ] {4afa66e3-67b9-4832-814e-0b746b105339} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/misc.h:45: DB::checkFunctionIsInOrGlobalInOperator(DB::ASTFunction const&) @ 0x000000001bd6c5ef in /usr/bin/clickhouse 7. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:92: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001bd6ba1c in /usr/bin/clickhouse 8. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001bd6b5fd in /usr/bin/clickhouse 9. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001bd6b5bf in /usr/bin/clickhouse 10. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:55: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001bd6b998 in /usr/bin/clickhouse 11. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001bd6b562 in /usr/bin/clickhouse 12. /build/src/Interpreters/ApplyWithSubqueryVisitor.h:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&) @ 0x000000001cac636e in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:412: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa6086 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:42.836118 [ 22004 ] {da5562e8-d507-4a4a-b73a-7f3209f1f81f} executeQuery: Code: 42. DB::Exception: Number of arguments for function abs doesn't match: passed 0, should be 1: While processing abs(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT abs();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:42.837686 [ 22004 ] {da5562e8-d507-4a4a-b73a-7f3209f1f81f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function abs doesn't match: passed 0, should be 1: While processing abs(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:42.845688 [ 22004 ] {5ef865ec-cdf3-4f9f-aa15-69eedaa285f9} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM postgresql([])), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91bd33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7d99e0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cd536 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:42.847634 [ 22004 ] {5ef865ec-cdf3-4f9f-aa15-69eedaa285f9} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91bd33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7d99e0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cd536 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:42.970227 [ 22004 ] {06b84a25-31da-4710-889c-adc2ad36f1a7} executeQuery: Code: 42. DB::Exception: Aggregate function sparkbar requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT sparkbar();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013dfb541 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSparkbar.cpp:52: DB::(anonymous namespace)::createAggregateFunctionSparkbar(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000178ee2c8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:31:42.972172 [ 22004 ] {06b84a25-31da-4710-889c-adc2ad36f1a7} TCPHandler: Code: 42. DB::Exception: Aggregate function sparkbar requires two arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/AggregateFunctions/FactoryHelpers.h:33: DB::assertBinary(String const&, std::vector, std::allocator>> const&) @ 0x0000000013dfb541 in /usr/bin/clickhouse 7. /build/src/AggregateFunctions/AggregateFunctionSparkbar.cpp:52: DB::(anonymous namespace)::createAggregateFunctionSparkbar(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000178ee2c8 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>()(std::declval(), std::declval, std::allocator>> const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000] (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2118 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*>(std::shared_ptr (*&)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de20b5 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) @ 0x0000000013de2055 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013de1fdd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()[abi:v15000](String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*&&) const @ 0x000000001ac05bd9 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::operator()(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) const @ 0x000000001ac025f5 in /usr/bin/clickhouse 14. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:161: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x000000001ac0108c in /usr/bin/clickhouse 15. /build/src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x000000001ac00299 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x000000001bfab2a7 in /usr/bin/clickhouse 17. /build/src/Interpreters/ExpressionAnalyzer.cpp:268: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x000000001bfa9070 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExpressionAnalyzer.cpp:197: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x000000001bfa8599 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.h:313: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x000000001cac5c13 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool, DB::SelectQueryOptions&, std::shared_ptr&>(std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&, std::vector> const&, bool&&, DB::SelectQueryOptions&, std::shared_ptr&) @ 0x000000001cacd020 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:674: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caad9a8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 30. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 2024.12.17 01:31:42.980937 [ 22004 ] {60c1c09e-13ad-4fe4-bfda-0cbf8e46f9af} executeQuery: Code: 42. DB::Exception: Number of arguments for function notInIgnoreSet doesn't match: passed 0, should be 2: While processing notInIgnoreSet(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT notInIgnoreSet();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:42.982590 [ 22004 ] {60c1c09e-13ad-4fe4-bfda-0cbf8e46f9af} TCPHandler: Code: 42. DB::Exception: Number of arguments for function notInIgnoreSet doesn't match: passed 0, should be 2: While processing notInIgnoreSet(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:42.990724 [ 22004 ] {b1f21950-0e39-4c03-bea2-40214f16b5f1} executeQuery: Code: 42. DB::Exception: Number of arguments for function extractAllGroupsHorizontal doesn't match: passed 1, should be 2: While processing extractAllGroupsHorizontal('\0'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT extractAllGroupsHorizontal('\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:42.992327 [ 22004 ] {b1f21950-0e39-4c03-bea2-40214f16b5f1} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extractAllGroupsHorizontal doesn't match: passed 1, should be 2: While processing extractAllGroupsHorizontal('\0'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:43.106477 [ 22004 ] {da67e975-2b32-4169-85b0-108b8becc772} executeQuery: Code: 36. DB::Exception: Unknown geometry type Int32: While processing polygonsWithinCartesian(-827976, [CAST([], 'String')]). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT polygonsWithinCartesian(-827976, [(CAST(([]) AS String))]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/geometryConverters.h:353: void DB::callOnGeometryDataType, void DB::callOnTwoGeometryDataTypes, DB::FunctionPolygonsWithin>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)>(std::shared_ptr, std::shared_ptr, auto&&)::'lambda'(auto const&)>(std::shared_ptr, auto&&) @ 0x00000000122bc7b6 in /usr/bin/clickhouse 7. /build/src/Functions/geometryConverters.h:360: void DB::callOnTwoGeometryDataTypes, DB::FunctionPolygonsWithin>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)>(std::shared_ptr, std::shared_ptr, auto&&) @ 0x00000000122bc1ea in /usr/bin/clickhouse 8. /build/src/Functions/polygonsWithin.cpp:72: DB::FunctionPolygonsWithin>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000122c2776 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:31:43.108367 [ 22004 ] {da67e975-2b32-4169-85b0-108b8becc772} TCPHandler: Code: 36. DB::Exception: Unknown geometry type Int32: While processing polygonsWithinCartesian(-827976, [CAST([], 'String')]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/geometryConverters.h:353: void DB::callOnGeometryDataType, void DB::callOnTwoGeometryDataTypes, DB::FunctionPolygonsWithin>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)>(std::shared_ptr, std::shared_ptr, auto&&)::'lambda'(auto const&)>(std::shared_ptr, auto&&) @ 0x00000000122bc7b6 in /usr/bin/clickhouse 7. /build/src/Functions/geometryConverters.h:360: void DB::callOnTwoGeometryDataTypes, DB::FunctionPolygonsWithin>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)>(std::shared_ptr, std::shared_ptr, auto&&) @ 0x00000000122bc1ea in /usr/bin/clickhouse 8. /build/src/Functions/polygonsWithin.cpp:72: DB::FunctionPolygonsWithin>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000122c2776 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 01:31:43.116651 [ 22004 ] {614523fd-9afd-43b7-bcf6-fcbb7350a407} executeQuery: Code: 42. DB::Exception: Table function 'input' requires exactly 1 argument: structure. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM input([], '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:40: DB::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9867fd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:43.118241 [ 22004 ] {614523fd-9afd-43b7-bcf6-fcbb7350a407} TCPHandler: Code: 42. DB::Exception: Table function 'input' requires exactly 1 argument: structure. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:40: DB::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9867fd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:43.254213 [ 22004 ] {fc3ada63-e415-4b58-b9ad-711c2df11aa0} executeQuery: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table): While processing (SELECT * FROM jdbc([])) AS iyhnsbyi. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST((7320.6) AS Date)), '\0', '', ( SELECT * FROM jdbc([]) ) AS iyhnsbyi;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9beb48 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9be22 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 2024.12.17 01:31:43.261936 [ 22004 ] {fc3ada63-e415-4b58-b9ad-711c2df11aa0} TCPHandler: Code: 42. DB::Exception: Table function 'jdbc' requires 2 or 3 arguments: jdbc('DSN', table) or jdbc('DSN', schema, table): While processing (SELECT * FROM jdbc([])) AS iyhnsbyi. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9beb48 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 16. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:102: DB::getQueryInterpreter(DB::ASTSubquery const&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc904dc in /usr/bin/clickhouse 17. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:163: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8e1c4 in /usr/bin/clickhouse 18. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 29. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 30. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9be22 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 2024.12.17 01:31:43.270166 [ 22004 ] {6349c6df-fb8f-49ff-a4a3-1b10bc3f450e} executeQuery: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM odbc(4);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9beb48 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:43.271510 [ 22004 ] {6349c6df-fb8f-49ff-a4a3-1b10bc3f450e} TCPHandler: Code: 42. DB::Exception: Table function 'odbc' requires 2 or 3 arguments: odbc('DSN', table) or odbc('DSN', schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/ITableFunctionXDBC.cpp:36: DB::ITableFunctionXDBC::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9beb48 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:43.280990 [ 22004 ] {3b7111cd-1c0e-493f-886c-01dc81f1eb5e} executeQuery: Code: 42. DB::Exception: Table function 'null' requires 'structure' argument or empty argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM null([], '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNull.cpp:28: DB::TableFunctionNull::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a95a5b9 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:43.282977 [ 22004 ] {3b7111cd-1c0e-493f-886c-01dc81f1eb5e} TCPHandler: Code: 42. DB::Exception: Table function 'null' requires 'structure' argument or empty argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionNull.cpp:28: DB::TableFunctionNull::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a95a5b9 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:43.416141 [ 22004 ] {3717b6b7-6572-4a76-93bc-b90b358fdb36} executeQuery: Code: 42. DB::Exception: Function arrayShiftLeft requires at least two arguments.: While processing ' =', '&', arrayShiftLeft(), []: While processing (SELECT ' =', '&', arrayShiftLeft(), []) AS mtiuzv. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT ( SELECT ' =', '&\a', arrayShiftLeft(), [] ) AS mtiuzv, [];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayShiftRotate.cpp:53: DB::FunctionArrayShiftRotate, DB::NameArrayShiftLeft>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000132c8a75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:43.417903 [ 22004 ] {3717b6b7-6572-4a76-93bc-b90b358fdb36} TCPHandler: Code: 42. DB::Exception: Function arrayShiftLeft requires at least two arguments.: While processing ' =', '&', arrayShiftLeft(), []: While processing (SELECT ' =', '&', arrayShiftLeft(), []) AS mtiuzv. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/array/arrayShiftRotate.cpp:53: DB::FunctionArrayShiftRotate, DB::NameArrayShiftLeft>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000132c8a75 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:43.427912 [ 22004 ] {3d1b67cb-54c0-455e-9724-d80fb9e7631d} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing CAST('', 'Date'), '\0', [NULL]. (CANNOT_PARSE_DATE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST(('') AS Date)), '\0', [NULL];), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:43.429636 [ 22004 ] {3d1b67cb-54c0-455e-9724-d80fb9e7631d} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing CAST('', 'Date'), '\0', [NULL]. (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsConversion.h:1059: void DB::parseImpl(DB::DataTypeDate::FieldType&, DB::ReadBuffer&, DateLUTImpl const*, bool) @ 0x000000000b54c01f in /usr/bin/clickhouse 12. /build/src/Functions/FunctionsConversion.h:1426: COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000b54beed in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2044: bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000b545838 in /usr/bin/clickhouse 14. /build/src/Core/callOnTypeIndex.h:204: bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000b533e39 in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsConversion.h:2091: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533168 in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 17. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 22. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 29. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 30. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 31. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 2024.12.17 01:31:43.437359 [ 22004 ] {6fb05f8e-3ea9-41b0-a7c7-45133f2bd76f} executeQuery: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM executable();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:62: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a96f988 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:43.438918 [ 22004 ] {6fb05f8e-3ea9-41b0-a7c7-45133f2bd76f} TCPHandler: Code: 42. DB::Exception: Table function 'executable' requires minimum 3 arguments: script_name, format, structure, [input_query...]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionExecutable.cpp:62: DB::TableFunctionExecutable::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a96f988 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:43.447804 [ 22004 ] {d95fb54e-ca0f-458c-89fa-cd5bf051df99} executeQuery: Code: 42. DB::Exception: Number of arguments for function initialQueryID doesn't match: passed 2, should be 0: While processing initialQueryID('ziP', [[]]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT initialQueryID('ziP', [[]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:43.449426 [ 22004 ] {d95fb54e-ca0f-458c-89fa-cd5bf051df99} TCPHandler: Code: 42. DB::Exception: Number of arguments for function initialQueryID doesn't match: passed 2, should be 0: While processing initialQueryID('ziP', [[]]). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:43.457173 [ 22004 ] {c7ff1402-47cc-423f-8192-7f984f916419} executeQuery: Code: 42. DB::Exception: Number of arguments for function emptyArrayString doesn't match: passed 1, should be 0: While processing emptyArrayString('.4"6E1y'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT emptyArrayString('.4"6E1y');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:43.458757 [ 22004 ] {c7ff1402-47cc-423f-8192-7f984f916419} TCPHandler: Code: 42. DB::Exception: Number of arguments for function emptyArrayString doesn't match: passed 1, should be 0: While processing emptyArrayString('.4"6E1y'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:43.468734 [ 22004 ] {c25defa7-40b5-4504-9acc-382184f0548b} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDateTime: While processing 'm', '\0', CAST([], 'DateTime'), isNotDistinctFrom(). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT 'm', '\0', (CAST(([]) AS DateTime)), isNotDistinctFrom();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583e86 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:43.470400 [ 22004 ] {c25defa7-40b5-4504-9acc-382184f0548b} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDateTime: While processing 'm', '\0', CAST([], 'DateTime'), isNotDistinctFrom(). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583e86 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:43.477586 [ 22004 ] {441f8884-55a0-4041-8bae-db9483b8f447} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT nullIn(NULL);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/misc.h:45: DB::checkFunctionIsInOrGlobalInOperator(DB::ASTFunction const&) @ 0x000000001bd6c5ef in /usr/bin/clickhouse 7. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:92: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001bd6ba1c in /usr/bin/clickhouse 8. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001bd6b5fd in /usr/bin/clickhouse 9. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001bd6b5bf in /usr/bin/clickhouse 10. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:55: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001bd6b998 in /usr/bin/clickhouse 11. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001bd6b562 in /usr/bin/clickhouse 12. /build/src/Interpreters/ApplyWithSubqueryVisitor.h:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&) @ 0x000000001cac636e in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:412: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa6086 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:43.479584 [ 22004 ] {441f8884-55a0-4041-8bae-db9483b8f447} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bba33 in /usr/bin/clickhouse 6. /build/src/Interpreters/misc.h:45: DB::checkFunctionIsInOrGlobalInOperator(DB::ASTFunction const&) @ 0x000000001bd6c5ef in /usr/bin/clickhouse 7. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:92: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001bd6ba1c in /usr/bin/clickhouse 8. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001bd6b5fd in /usr/bin/clickhouse 9. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001bd6b5bf in /usr/bin/clickhouse 10. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:55: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001bd6b998 in /usr/bin/clickhouse 11. /build/src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001bd6b562 in /usr/bin/clickhouse 12. /build/src/Interpreters/ApplyWithSubqueryVisitor.h:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&) @ 0x000000001cac636e in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:412: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa6086 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 29. ? @ 0x00007f3559e74ac3 in ? 30. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:43.497190 [ 22004 ] {d2015cb6-2ad4-4069-907a-b3e8723587c6} executeQuery: Code: 42. DB::Exception: Number of arguments for function minSampleSizeConversion doesn't match: passed 2, should be 4: While processing minSampleSizeConversion('2', ['']), -35805.514, ['C7 x;6?k'], __getScalar('16940710676435280544_13866599027108340407') AS wq, '\0'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT minSampleSizeConversion('2', ['']), -35805.514, ['C7 x;6?k'], ( SELECT [] ) AS wq, '\0';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:43.499183 [ 22004 ] {d2015cb6-2ad4-4069-907a-b3e8723587c6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function minSampleSizeConversion doesn't match: passed 2, should be 4: While processing minSampleSizeConversion('2', ['']), -35805.514, ['C7 x;6?k'], __getScalar('16940710676435280544_13866599027108340407') AS wq, '\0'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:43.639359 [ 22004 ] {11cf65e5-b9eb-4b30-9146-d7b77fe62639} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got String: While processing makeDate('\0', ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT makeDate('\0', '');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e40 in /usr/bin/clickhouse 8. /build/src/Functions/makeDate.cpp:100: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010312525 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:31:43.641473 [ 22004 ] {11cf65e5-b9eb-4b30-9146-d7b77fe62639} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got String: While processing makeDate('\0', ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x000000001abfc43a in /usr/bin/clickhouse 6. /build/src/Functions/FunctionHelpers.cpp:130: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x000000001abfa6be in /usr/bin/clickhouse 7. /build/src/Functions/FunctionHelpers.cpp:193: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x000000001abf9e40 in /usr/bin/clickhouse 8. /build/src/Functions/makeDate.cpp:100: DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x0000000010312525 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:31:43.649630 [ 22004 ] {f1baa858-716a-4290-a5ba-eb562e2ffacd} executeQuery: Code: 42. DB::Exception: Table function ('dictionary') requires 1 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM dictionary();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionDictionary.cpp:38: DB::TableFunctionDictionary::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d297e in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:43.651216 [ 22004 ] {f1baa858-716a-4290-a5ba-eb562e2ffacd} TCPHandler: Code: 42. DB::Exception: Table function ('dictionary') requires 1 arguments. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionDictionary.cpp:38: DB::TableFunctionDictionary::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9d297e in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:43.788708 [ 22004 ] {c7d189fe-c5ea-4c00-aefb-7551b10579bd} executeQuery: Code: 43. DB::Exception: Illegal type UInt8 of argument of function cutToFirstSignificantSubdomainWithWWWRFC: While processing cutToFirstSignificantSubdomainWithWWWRFC(42). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT cutToFirstSignificantSubdomainWithWWWRFC(42);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionStringToString.h:54: DB::FunctionStringToString>, DB::NameCutToFirstSignificantSubdomainWithWWWRFC, false>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000012846ef1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:43.790633 [ 22004 ] {c7d189fe-c5ea-4c00-aefb-7551b10579bd} TCPHandler: Code: 43. DB::Exception: Illegal type UInt8 of argument of function cutToFirstSignificantSubdomainWithWWWRFC: While processing cutToFirstSignificantSubdomainWithWWWRFC(42). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionStringToString.h:54: DB::FunctionStringToString>, DB::NameCutToFirstSignificantSubdomainWithWWWRFC, false>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000012846ef1 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 2024.12.17 01:31:43.935127 [ 22004 ] {21b52d70-e7b0-459f-bc54-6dfe42b4d1eb} executeQuery: Code: 42. DB::Exception: Number of arguments for function toDecimal64OrNull doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: While processing toDecimal64OrNull(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM cosn(toDecimal64OrNull(), (CAST((['\0']) AS String)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2174: DB::FunctionConvertFromString>, DB::NameToDecimal64OrNull, (DB::ConvertFromStringExceptionMode)2, (DB::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bbd1980 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb7ccd in /usr/bin/clickhouse 22. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089ecb in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a5dd in /usr/bin/clickhouse 24. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a6f2 in /usr/bin/clickhouse 25. /build/src/Storages/StorageURL.cpp:1249: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x000000001da05cff in /usr/bin/clickhouse 26. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995c49 in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 29. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 30. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 2024.12.17 01:31:43.936814 [ 22004 ] {21b52d70-e7b0-459f-bc54-6dfe42b4d1eb} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toDecimal64OrNull doesn't match: passed 0, should be 1 or 2. Second argument only make sense for DateTime (time zone, optional) and Decimal (scale).: While processing toDecimal64OrNull(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x000000000b230a2c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2174: DB::FunctionConvertFromString>, DB::NameToDecimal64OrNull, (DB::ConvertFromStringExceptionMode)2, (DB::ConvertFromStringParsingMode)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bbd1980 in /usr/bin/clickhouse 7. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1735: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x000000001bfb7ccd in /usr/bin/clickhouse 22. /build/src/Interpreters/evaluateConstantExpression.cpp:77: DB::evaluateConstantExpression(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d089ecb in /usr/bin/clickhouse 23. /build/src/Interpreters/evaluateConstantExpression.cpp:117: DB::evaluateConstantExpressionAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a5dd in /usr/bin/clickhouse 24. /build/src/Interpreters/evaluateConstantExpression.cpp:125: DB::evaluateConstantExpressionOrIdentifierAsLiteral(std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001d08a6f2 in /usr/bin/clickhouse 25. /build/src/Storages/StorageURL.cpp:1249: DB::StorageURL::collectHeaders(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::vector>&, std::shared_ptr) @ 0x000000001da05cff in /usr/bin/clickhouse 26. /build/src/TableFunctions/TableFunctionS3.cpp:70: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x000000001a995c49 in /usr/bin/clickhouse 27. /build/src/TableFunctions/TableFunctionS3.cpp:206: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a997a44 in /usr/bin/clickhouse 28. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 29. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 30. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 2024.12.17 01:31:44.077370 [ 22004 ] {894e80b8-4864-4791-ab6b-14329d4144d5} executeQuery: Code: 43. DB::Exception: Illegal type Float64 of argument of function bitSlice: While processing CAST(IPv6NumToString(bitSlice(1192.4, [''])), 'String'): While processing (SELECT CAST(IPv6NumToString(bitSlice(1192.4, [''])), 'String')) AS mmft. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT '\0', -5, ( SELECT (CAST((INET6_NTOA(bitSlice(1192.40, ['']))) AS String)) ) AS mmft, '';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/bitSlice.cpp:53: DB::FunctionBitSlice::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d56f49f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 2024.12.17 01:31:44.079037 [ 22004 ] {894e80b8-4864-4791-ab6b-14329d4144d5} TCPHandler: Code: 43. DB::Exception: Illegal type Float64 of argument of function bitSlice: While processing CAST(IPv6NumToString(bitSlice(1192.4, [''])), 'String'): While processing (SELECT CAST(IPv6NumToString(bitSlice(1192.4, [''])), 'String')) AS mmft. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/bitSlice.cpp:53: DB::FunctionBitSlice::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d56f49f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 2024.12.17 01:31:44.091133 [ 22004 ] {d24cb17b-56af-497b-a888-e69d9ce17b3f} executeQuery: Code: 43. DB::Exception: Illegal type Array(String) of argument of function toDateTime: While processing CAST(['\0'], 'DateTime'), 8, NULL, NULL, CAST(cutQueryString(CAST('w=*0N', 'String'), ['']), 'DateTime'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (CAST((['\0']) AS DateTime)), 8, NULL, NULL, (CAST((cutQueryString((CAST(('w=*0N') AS String)), [''])) AS DateTime));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583e86 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:44.092784 [ 22004 ] {d24cb17b-56af-497b-a888-e69d9ce17b3f} TCPHandler: Code: 43. DB::Exception: Illegal type Array(String) of argument of function toDateTime: While processing CAST(['\0'], 'DateTime'), 8, NULL, NULL, CAST(cutQueryString(CAST('w=*0N', 'String'), ['']), 'DateTime'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583e86 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:44.154167 [ 22004 ] {057501ad-7731-4eaf-8932-c465784822a1} executeQuery: Code: 36. DB::Exception: Bad arguments count when creating Redis table function. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM redis();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c158a3e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRedis.cpp:56: DB::TableFunctionRedis::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98f8bd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:44.155877 [ 22004 ] {057501ad-7731-4eaf-8932-c465784822a1} TCPHandler: Code: 36. DB::Exception: Bad arguments count when creating Redis table function. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [55]) @ 0x000000000c158a3e in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionRedis.cpp:56: DB::TableFunctionRedis::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a98f8bd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:44.167943 [ 22004 ] {b2dfd8ee-df6a-420d-be6a-c45f81802c53} executeQuery: Code: 42. DB::Exception: Table function 'input' requires exactly 1 argument: structure. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM input(( SELECT [83264901], 'np:8`.?' ) AS hxlt, ( SELECT * FROM s3Cluster([''], (CAST(('\0') AS Date))) ) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:40: DB::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9867fd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:44.169710 [ 22004 ] {b2dfd8ee-df6a-420d-be6a-c45f81802c53} TCPHandler: Code: 42. DB::Exception: Table function 'input' requires exactly 1 argument: structure. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:40: DB::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9867fd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:44.176653 [ 22004 ] {e299a81c-1dec-4c22-9564-a3c7e46bd3ff} executeQuery: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM postgresql()), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91bd33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7d99e0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cd536 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:44.178068 [ 22004 ] {e299a81c-1dec-4c22-9564-a3c7e46bd3ff} TCPHandler: Code: 42. DB::Exception: Storage PostgreSQL requires from 5 to 7 parameters: PostgreSQL('host:port', 'database', 'table', 'username', 'password' [, 'schema', 'ON CONFLICT ...']. Got: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x000000000d91bd33 in /usr/bin/clickhouse 6. /build/src/Storages/StoragePostgreSQL.cpp:499: DB::StoragePostgreSQL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>, std::shared_ptr) @ 0x000000001d7d99e0 in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionPostgreSQL.cpp:53: DB::TableFunctionPostgreSQL::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9cd536 in /usr/bin/clickhouse 8. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 9. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 10. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:44.185283 [ 22004 ] {da187ce5-0122-454a-98a1-1c1fd2b7924a} executeQuery: Code: 42. DB::Exception: Table function 'input' requires exactly 1 argument: structure. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM input([-46987425], [[NULL]]);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:40: DB::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9867fd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:44.186712 [ 22004 ] {da187ce5-0122-454a-98a1-1c1fd2b7924a} TCPHandler: Code: 42. DB::Exception: Table function 'input' requires exactly 1 argument: structure. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/TableFunctions/TableFunctionInput.cpp:40: DB::TableFunctionInput::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a9867fd in /usr/bin/clickhouse 7. /build/src/TableFunctions/TableFunctionFactory.cpp:49: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001ac138a3 in /usr/bin/clickhouse 8. /build/src/Interpreters/Context.cpp:1609: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x000000001bdc7424 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1ebb6 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:44.198558 [ 22004 ] {ef1b58aa-2204-4cee-9ec1-82dacfa1ebd9} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDateTime: While processing CAST([], 'DateTime'): While processing (SELECT * FROM urlCluster(CAST([], 'DateTime'), 7747148.91)) AS zpnw. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT -74722, NULL, NULL, ( SELECT * FROM urlCluster((CAST(([]) AS DateTime)), 7747148.91) ) AS zpnw;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583e86 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:44.200244 [ 22004 ] {ef1b58aa-2204-4cee-9ec1-82dacfa1ebd9} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function toDateTime: While processing CAST([], 'DateTime'): While processing (SELECT * FROM urlCluster(CAST([], 'DateTime'), 7747148.91)) AS zpnw. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583e86 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:44.225734 [ 22004 ] {888bf5c1-a9fb-4642-8e77-ab2290262852} executeQuery: Code: 43. DB::Exception: Illegal type Array(Array(Nothing)) of argument of function toDateTime: While processing CAST([[]], 'DateTime'), '', [], [[-4567711.3593]]: While processing (SELECT CAST([[]], 'DateTime'), '', [], [[-4567711.3593]]) AS yv. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT (SELECT CAST([[]], 'DateTime'), '', [], [[-4567711.3593]]) AS yv, (SELECT version()) AS nbje, CAST(((SELECT * FROM cosn('', (SELECT * FROM cluster('\0')) AS w, '[HIDDEN]')), (SELECT dictGetUUIDOrDefault()) AS p), 'DateTime'), CAST(currentRoles((SELECT LinfNorm()), ''), 'Date'), ''), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583e86 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:44.227772 [ 22004 ] {888bf5c1-a9fb-4642-8e77-ab2290262852} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Array(Nothing)) of argument of function toDateTime: While processing CAST([[]], 'DateTime'), '', [], [[-4567711.3593]]: While processing (SELECT CAST([[]], 'DateTime'), '', [], [[-4567711.3593]]) AS yv. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b583e86 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b582f7e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:44.362291 [ 22004 ] {d3ed5d98-310b-427e-b56d-63b661b7e7cd} executeQuery: Code: 42. DB::Exception: Number of arguments for function hopStart doesn't match: passed 0, should be 3 or 4: While processing hopStart(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT hopStart();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&&) @ 0x000000000c3be84c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsTimeWindow.cpp:312: DB::TimeWindowImpl<(DB::TimeWindowFunctionName)3>::getReturnType(std::vector> const&, String const&) @ 0x000000000c3c2088 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsTimeWindow.cpp:607: DB::TimeWindowImpl<(DB::TimeWindowFunctionName)4>::getReturnType(std::vector> const&, String const&) @ 0x000000000c3c5b52 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsTimeWindow.cpp:661: DB::FunctionTimeWindow<(DB::TimeWindowFunctionName)4>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c3c57f9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:31:44.363949 [ 22004 ] {d3ed5d98-310b-427e-b56d-63b661b7e7cd} TCPHandler: Code: 42. DB::Exception: Number of arguments for function hopStart doesn't match: passed 0, should be 3 or 4: While processing hopStart(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&&) @ 0x000000000c3be84c in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsTimeWindow.cpp:312: DB::TimeWindowImpl<(DB::TimeWindowFunctionName)3>::getReturnType(std::vector> const&, String const&) @ 0x000000000c3c2088 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsTimeWindow.cpp:607: DB::TimeWindowImpl<(DB::TimeWindowFunctionName)4>::getReturnType(std::vector> const&, String const&) @ 0x000000000c3c5b52 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsTimeWindow.cpp:661: DB::FunctionTimeWindow<(DB::TimeWindowFunctionName)4>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c3c57f9 in /usr/bin/clickhouse 9. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 2024.12.17 01:31:44.371843 [ 22004 ] {58672a63-16d5-4d77-a9ce-0c70f8ab1054} executeQuery: Code: 42. DB::Exception: Number of arguments for function LinfDistance doesn't match: passed 0, should be 2: While processing LinfDistance(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT distanceLinf();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:44.374133 [ 22004 ] {58672a63-16d5-4d77-a9ce-0c70f8ab1054} TCPHandler: Code: 42. DB::Exception: Number of arguments for function LinfDistance doesn't match: passed 0, should be 2: While processing LinfDistance(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 2024.12.17 01:31:44.386225 [ 22004 ] {c2701ca4-9ec9-4328-ba16-00d2aa3c340f} executeQuery: Code: 43. DB::Exception: Illegal type Array(Array(Nothing)) of argument of function toDate: While processing CAST(CAST(CAST([[]], 'Date'), 'String'), 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM numbers_mt((CAST(((CAST(((CAST(([[]]) AS Date))) AS String))) AS Date)), '\0');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533266 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:44.387872 [ 22004 ] {c2701ca4-9ec9-4328-ba16-00d2aa3c340f} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Array(Nothing)) of argument of function toDate: While processing CAST(CAST(CAST([[]], 'Date'), 'String'), 'Date'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsConversion.h:2103: DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b533266 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsConversion.h:1932: DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b53235e in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:141: DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000000b1922d2 in /usr/bin/clickhouse 13. /build/src/Functions/FunctionsConversion.h:2919: DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b7b1970 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&>()(std::declval>&>(), std::declval const&>(), std::declval(), std::declval())) std::__invoke[abi:v15000]::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1906 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: COW::immutable_ptr std::__invoke_void_return_wrapper::immutable_ptr, false>::__call::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long>(DB::FunctionCast::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)&, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b18a0 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) @ 0x000000000b7b1840 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000b7b17eb in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()[abi:v15000](std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*&&, unsigned long&&) const @ 0x000000000b1f90e7 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x000000000b1f5980 in /usr/bin/clickhouse 20. /build/src/Functions/FunctionsConversion.h:2806: DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1f4e2f in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.h:64: DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b195899 in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 23. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:307: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec62e in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:31:44.405700 [ 22004 ] {c2ea8ea3-4e02-4ad4-b7d8-7e1e5b127df6} executeQuery: Code: 42. DB::Exception: Number of arguments for function multiMatchAllIndices doesn't match: passed 1, should be 2: While processing multiMatchAllIndices(NULL): While processing (SELECT multiMatchAllIndices(NULL)) AS _subquery803: While processing bitShiftRight(left(), (SELECT multiMatchAllIndices(NULL)) AS _subquery803, (SELECT * FROM azureBlobStorage([], [encodeURLComponent((SELECT * FROM cluster(-6, '')) AS agboj, (SELECT xor('', '')))])) AS pwkhneje). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:51002) (comment: 00746_sql_fuzzy.sh) (in query: SELECT * FROM numbers_mt(bitShiftRight(left(), ( SELECT multiMatchAllIndices(NULL) ) , ( SELECT * FROM azureBlobStorage([], [encodeURLComponent(( SELECT * FROM cluster(-6, '') ) AS agboj, ( SELECT xor('', '') ) )]) ) AS pwkhneje), 'c');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 2024.12.17 01:31:44.407736 [ 22004 ] {c2ea8ea3-4e02-4ad4-b7d8-7e1e5b127df6} TCPHandler: Code: 42. DB::Exception: Number of arguments for function multiMatchAllIndices doesn't match: passed 1, should be 2: While processing multiMatchAllIndices(NULL): While processing (SELECT multiMatchAllIndices(NULL)) AS _subquery803: While processing bitShiftRight(left(), (SELECT multiMatchAllIndices(NULL)) AS _subquery803, (SELECT * FROM azureBlobStorage([], [encodeURLComponent((SELECT * FROM cluster(-6, '')) AS agboj, (SELECT xor('', '')))])) AS pwkhneje). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000018839448 in /usr/bin/clickhouse 6. /build/src/Functions/IFunction.cpp:398: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x000000001abed78f in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.cpp:464: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abedc56 in /usr/bin/clickhouse 8. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 22. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions&) @ 0x000000001cc913f4 in /usr/bin/clickhouse 2024.12.17 01:31:59.942052 [ 21996 ] {9706389d-3740-4ddd-b54b-ad0d628c68ea} executeQuery: Code: 420. DB::Exception: Cannot UPDATE key column `d`. (CANNOT_UPDATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42490) (comment: 00652_mutations_alter_update.sh) (in query: ALTER TABLE alter_update UPDATE d = today() WHERE 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:431: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x000000001cc6b384 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:539: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc66b46 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65d21 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65520 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47d2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:31:59.944066 [ 21996 ] {9706389d-3740-4ddd-b54b-ad0d628c68ea} TCPHandler: Code: 420. DB::Exception: Cannot UPDATE key column `d`. (CANNOT_UPDATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:431: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x000000001cc6b384 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:539: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc66b46 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65d21 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65520 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47d2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:32:01.823541 [ 11801 ] {92c326c2-ef43-4906-9970-76bfa0b671a3} executeQuery: Code: 420. DB::Exception: Cannot UPDATE key column `key`. (CANNOT_UPDATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43006) (comment: 00652_mutations_alter_update.sh) (in query: ALTER TABLE alter_update UPDATE key = 1 WHERE 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:431: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x000000001cc6b384 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:539: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc66b46 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65d21 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65520 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47d2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:32:01.824969 [ 11801 ] {92c326c2-ef43-4906-9970-76bfa0b671a3} TCPHandler: Code: 420. DB::Exception: Cannot UPDATE key column `key`. (CANNOT_UPDATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:431: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x000000001cc6b384 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:539: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc66b46 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65d21 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65520 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47d2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:32:03.803016 [ 11801 ] {2440c4aa-309a-4671-99ac-9e088b7f377e} executeQuery: Code: 420. DB::Exception: Cannot UPDATE materialized column `materialized_value`. (CANNOT_UPDATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43052) (comment: 00652_mutations_alter_update.sh) (in query: ALTER TABLE alter_update UPDATE materialized_value = 'aaa' WHERE 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x000000001cc6b0b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:539: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc66b46 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65d21 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65520 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47d2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:32:03.805132 [ 11801 ] {2440c4aa-309a-4671-99ac-9e088b7f377e} TCPHandler: Code: 420. DB::Exception: Cannot UPDATE materialized column `materialized_value`. (CANNOT_UPDATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:424: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x000000001cc6b0b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:539: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc66b46 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65d21 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65520 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47d2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:32:05.815546 [ 21996 ] {3feb4630-1cc6-443d-8f2f-3a1a4194d34b} executeQuery: Code: 43. DB::Exception: Illegal type String of first argument (condition) of function if. Must be UInt8.: While processing _CAST(if('string', _CAST('aaa', 'String'), value1), 'String'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43108) (comment: 00652_mutations_alter_update.sh) (in query: ALTER TABLE alter_update UPDATE value1 = 'aaa' WHERE 'string'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:1039: DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000efd2c96 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1669: DB::ExpressionAnalyzer::appendExpression(DB::ExpressionActionsChain&, std::shared_ptr const&, bool) @ 0x000000001bfb74d4 in /usr/bin/clickhouse 25. /build/src/Interpreters/MutationsInterpreter.cpp:1020: DB::MutationsInterpreter::prepareMutationStages(std::vector>&, bool) @ 0x000000001cc6cd36 in /usr/bin/clickhouse 26. /build/src/Interpreters/MutationsInterpreter.cpp:934: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc6ab23 in /usr/bin/clickhouse 27. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65d21 in /usr/bin/clickhouse 28. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65520 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47d2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:32:05.817137 [ 21996 ] {3feb4630-1cc6-443d-8f2f-3a1a4194d34b} TCPHandler: Code: 43. DB::Exception: Illegal type String of first argument (condition) of function if. Must be UInt8.: While processing _CAST(if('string', _CAST('aaa', 'String'), value1), 'String'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/if.cpp:1039: DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000efd2c96 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:521: DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1973ec in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1200: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe92ff in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 20. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 23. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 24. /build/src/Interpreters/ExpressionAnalyzer.cpp:1669: DB::ExpressionAnalyzer::appendExpression(DB::ExpressionActionsChain&, std::shared_ptr const&, bool) @ 0x000000001bfb74d4 in /usr/bin/clickhouse 25. /build/src/Interpreters/MutationsInterpreter.cpp:1020: DB::MutationsInterpreter::prepareMutationStages(std::vector>&, bool) @ 0x000000001cc6cd36 in /usr/bin/clickhouse 26. /build/src/Interpreters/MutationsInterpreter.cpp:934: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc6ab23 in /usr/bin/clickhouse 27. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65d21 in /usr/bin/clickhouse 28. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65520 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47d2 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:32:08.312820 [ 21993 ] {161afdca-80ac-4f6b-a184-41d8bf121d4b} executeQuery: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'isZeroOrNull(nonexistent = 0), _row_exists, _part_index, s, _partition_id, x, _part, _partition_value, m, _part_offset, _sample_factor, _part_uuid, d', required columns: 'nonexistent' '_partition_id' '_part_index' 's' '_part' 'x' 'm' '_part_offset' '_sample_factor' 'd' '_part_uuid' '_row_exists' '_partition_value', maybe you meant: 's', 'x', 'm' or 'd'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43176) (comment: 00652_replicated_mutations_zookeeper.sh) (in query: ALTER TABLE mutations_r1 DELETE WHERE nonexistent = 0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1355: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa1078 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:989: DB::MutationsInterpreter::prepareMutationStages(std::vector>&, bool) @ 0x000000001cc6c711 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:934: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc6ab23 in /usr/bin/clickhouse 10. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65d21 in /usr/bin/clickhouse 11. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65520 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47d2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:32:08.314440 [ 21993 ] {161afdca-80ac-4f6b-a184-41d8bf121d4b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'isZeroOrNull(nonexistent = 0), _row_exists, _part_index, s, _partition_id, x, _part, _partition_value, m, _part_offset, _sample_factor, _part_uuid, d', required columns: 'nonexistent' '_partition_id' '_part_index' 's' '_part' 'x' 'm' '_part_offset' '_sample_factor' 'd' '_part_uuid' '_row_exists' '_partition_value', maybe you meant: 's', 'x', 'm' or 'd'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1355: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001cfa1078 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:989: DB::MutationsInterpreter::prepareMutationStages(std::vector>&, bool) @ 0x000000001cc6c711 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:934: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc6ab23 in /usr/bin/clickhouse 10. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65d21 in /usr/bin/clickhouse 11. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65520 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47d2 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:32:10.324744 [ 21984 ] {52bc4708-d389-4af7-b622-8fb3bb567edf} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: while converting '11' to Date. (CANNOT_PARSE_DATE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43236) (comment: 00652_replicated_mutations_zookeeper.sh) (in query: ALTER TABLE mutations_r1 DELETE WHERE d = '11'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationDate.cpp:30: DB::SerializationDate::deserializeTextEscaped(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba3473e in /usr/bin/clickhouse 12. /build/src/DataTypes/Serializations/SerializationDate.cpp:22: DB::SerializationDate::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba34614 in /usr/bin/clickhouse 13. /build/src/Interpreters/convertFieldToType.cpp:503: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06c59c in /usr/bin/clickhouse 14. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d068fbd in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsComparison.h:919: DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ddfa20e in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsComparison.h:1313: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000dde2fc4 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 24. /build/src/Processors/Transforms/FilterTransform.cpp:44: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x000000001ebcb1e2 in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/FilterStep.cpp:43: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x000000001ee4cd45 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, String const&, bool>(DB::DataStream const&, std::shared_ptr&, String const&, bool&&) @ 0x000000001cc74aad in /usr/bin/clickhouse 27. /build/src/Interpreters/MutationsInterpreter.cpp:1248: DB::MutationsInterpreter::addStreamsForLaterStages(std::vector> const&, DB::QueryPlan&) const @ 0x000000001cc6d69c in /usr/bin/clickhouse 28. /build/src/Interpreters/MutationsInterpreter.cpp:1298: DB::MutationsInterpreter::validate() @ 0x000000001cc6f1fa in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47e3 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:32:10.326279 [ 21984 ] {52bc4708-d389-4af7-b622-8fb3bb567edf} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: while converting '11' to Date. (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000f820f9e in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x0000000013989af5 in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.cpp:1087: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x0000000013989771 in /usr/bin/clickhouse 8. /build/src/IO/ReadHelpers.h:719: void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x000000000b54c697 in /usr/bin/clickhouse 9. /build/src/IO/ReadHelpers.h:743: void DB::readDateTextImpl(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c38a in /usr/bin/clickhouse 10. /build/src/IO/ReadHelpers.h:774: DB::readDateText(StrongTypedef&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000b54c345 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationDate.cpp:30: DB::SerializationDate::deserializeTextEscaped(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba3473e in /usr/bin/clickhouse 12. /build/src/DataTypes/Serializations/SerializationDate.cpp:22: DB::SerializationDate::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba34614 in /usr/bin/clickhouse 13. /build/src/Interpreters/convertFieldToType.cpp:503: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06c59c in /usr/bin/clickhouse 14. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d068fbd in /usr/bin/clickhouse 15. /build/src/Functions/FunctionsComparison.h:919: DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x000000000ddfa20e in /usr/bin/clickhouse 16. /build/src/Functions/FunctionsComparison.h:1313: DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000dde2fc4 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 18. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 21. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsDAG.cpp:541: DB::executeActionForHeader(DB::ActionsDAG::Node const*, std::vector>) @ 0x000000001bc88888 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsDAG.cpp:660: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x000000001bc88288 in /usr/bin/clickhouse 24. /build/src/Processors/Transforms/FilterTransform.cpp:44: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x000000001ebcb1e2 in /usr/bin/clickhouse 25. /build/src/Processors/QueryPlan/FilterStep.cpp:43: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x000000001ee4cd45 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, String const&, bool>(DB::DataStream const&, std::shared_ptr&, String const&, bool&&) @ 0x000000001cc74aad in /usr/bin/clickhouse 27. /build/src/Interpreters/MutationsInterpreter.cpp:1248: DB::MutationsInterpreter::addStreamsForLaterStages(std::vector> const&, DB::QueryPlan&) const @ 0x000000001cc6d69c in /usr/bin/clickhouse 28. /build/src/Interpreters/MutationsInterpreter.cpp:1298: DB::MutationsInterpreter::validate() @ 0x000000001cc6f1fa in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47e3 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 2024.12.17 01:32:17.500288 [ 21996 ] {fed2bf65-8d3f-454b-a7c9-ba4bed486b87} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 217.00 B) in table 'test_qgkz5vhe.`.inner_id.b428f02f-e32a-4cbe-94a5-1205b32ae974` (cd2f87ee-c0b3-44a5-8568-7812ff6865d2)'. Merges are processing significantly slower than inserts: while pushing to view test_qgkz5vhe.b (b428f02f-e32a-4cbe-94a5-1205b32ae974). (TOO_MANY_PARTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59680) (comment: 00633_materialized_view_and_too_many_parts_zookeeper.sh) (in query: INSERT INTO root VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001def2608 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001dea4b04 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1081: DB::ReplicatedMergeTreeSinkImpl::onStart() @ 0x000000001e31d236 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001ebc7db9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc7d95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc7d75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7d55 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7d1d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc7135 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001e6fa196 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:841: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bcca in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:32:17.503381 [ 21996 ] {fed2bf65-8d3f-454b-a7c9-ba4bed486b87} TCPHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 217.00 B) in table 'test_qgkz5vhe.`.inner_id.b428f02f-e32a-4cbe-94a5-1205b32ae974` (cd2f87ee-c0b3-44a5-8568-7812ff6865d2)'. Merges are processing significantly slower than inserts: while pushing to view test_qgkz5vhe.b (b428f02f-e32a-4cbe-94a5-1205b32ae974). (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001def2608 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4511: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001dea4b04 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1081: DB::ReplicatedMergeTreeSinkImpl::onStart() @ 0x000000001e31d236 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work()::$_0::operator()() const @ 0x000000001ebc7db9 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc7d95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_0&) @ 0x000000001ebc7d75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7d55 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7d1d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:136: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc7135 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:93: DB::PushingPipelineExecutor::start() @ 0x000000001e6fa196 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:841: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bcca in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 01:32:45.710679 [ 22004 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:47752). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000013cebd6c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000013ceafe0 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::TCPHandler::runImpl() @ 0x000000001e641041 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 15. ? @ 0x00007f3559e74ac3 in ? 16. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:32:45.711231 [ 2885 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:53204). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000013cebd6c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000013ceafe0 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::TCPHandler::runImpl() @ 0x000000001e641041 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 15. ? @ 0x00007f3559e74ac3 in ? 16. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:32:50.658634 [ 3551 ] {test_00601_test_gsuaa9f0} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35746) (comment: 00601_kill_running_query.sh) (in query: SELECT sum(ignore(*)) FROM (SELECT number % 1000 AS k, groupArray(number) FROM numbers(50000000) GROUP BY k)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b3b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:32:50.667060 [ 3551 ] {test_00601_test_gsuaa9f0} DynamicQueryHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b3b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:32:56.362458 [ 2669 ] {b6690ede-97ff-49dd-8731-3146ab8be077} executeQuery: Code: 141. DB::Exception: Illegal SAMPLE: table doesn't support sampling. (SAMPLING_NOT_SUPPORTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38126) (comment: 00578_merge_table_sampling.sql) (in query: SELECT * FROM merge(currentDatabase(), '^numbers\\d+$') SAMPLE 0.1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [47]) @ 0x000000000b5b469e in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:494: DB::ReadFromMerge::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001d75311b in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:32:56.363230 [ 2669 ] {b6690ede-97ff-49dd-8731-3146ab8be077} TCPHandler: Code: 141. DB::Exception: Illegal SAMPLE: table doesn't support sampling. (SAMPLING_NOT_SUPPORTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [47]) @ 0x000000000b5b469e in /usr/bin/clickhouse 6. /build/src/Storages/StorageMerge.cpp:494: DB::ReadFromMerge::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001d75311b in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/ISourceStep.cpp:20: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee505ec in /usr/bin/clickhouse 8. /build/src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001ee76b7f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc1ab in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:33:00.416504 [ 2669 ] {489f653e-bdf4-48b8-9487-b13b884eec72} executeQuery: Code: 420. DB::Exception: Updated column `value` affects MATERIALIZED column `key`, which is a key column. Cannot UPDATE it. (CANNOT_UPDATE_COLUMN) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53816) (comment: 00652_mutations_alter_update.sh) (in query: ALTER TABLE materialized_key UPDATE value = 1 WHERE 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:439: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x000000001cc6b614 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:539: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc66b46 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65d21 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65520 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47d2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:33:00.418202 [ 2669 ] {489f653e-bdf4-48b8-9487-b13b884eec72} TCPHandler: Code: 420. DB::Exception: Updated column `value` affects MATERIALIZED column `key`, which is a key column. Cannot UPDATE it. (CANNOT_UPDATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Interpreters/MutationsInterpreter.cpp:439: DB::validateUpdateColumns(DB::MutationsInterpreter::Source const&, std::shared_ptr const&, std::unordered_set, std::equal_to, std::allocator> const&, std::unordered_map>, std::hash, std::equal_to, std::allocator>>>> const&) @ 0x000000001cc6b614 in /usr/bin/clickhouse 7. /build/src/Interpreters/MutationsInterpreter.cpp:539: DB::MutationsInterpreter::prepare(bool) @ 0x000000001cc66b46 in /usr/bin/clickhouse 8. /build/src/Interpreters/MutationsInterpreter.cpp:365: DB::MutationsInterpreter::MutationsInterpreter(DB::MutationsInterpreter::Source, std::shared_ptr, DB::MutationCommands, std::vector>, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65d21 in /usr/bin/clickhouse 9. /build/src/Interpreters/MutationsInterpreter.cpp:320: DB::MutationsInterpreter::MutationsInterpreter(std::shared_ptr, std::shared_ptr, DB::MutationCommands, std::shared_ptr, DB::MutationsInterpreter::Settings) @ 0x000000001cc65520 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterAlterQuery.cpp:178: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d47d2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:33:02.845816 [ 8668 ] {4b8c3e49-5df3-4266-8e78-b34b26d19f44} executeQuery: Code: 168. DB::Exception: AST is too big. Maximum: 500000. (TOO_BIG_AST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38070) (comment: 00596_limit_on_expanded_ast.sh) (in query: select 1 as a, a+a as b, b+b as c, c+c as d, d+d as e, e+e as f, f+f as g, g+g as h, h+h as i, i+i as j, j+j as k, k+k as l, l+l as m, m+m as n, n+n as o, o+o as p, p+p as q, q+q as r, r+r as s, s+s as t, t+t as u, u+u as v, v+v as w, w+w as x, x+x as y, y+y as z ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bba33 in /usr/bin/clickhouse 6. /build/src/Parsers/IAST.cpp:111: DB::IAST::checkSize(unsigned long) const @ 0x000000001f3fc44a in /usr/bin/clickhouse 7. /build/src/Parsers/IAST.cpp:108: DB::IAST::checkSize(unsigned long) const @ 0x000000001f3fc3cc in /usr/bin/clickhouse 8. /build/src/Interpreters/QueryNormalizer.cpp:139: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001d0181d2 in /usr/bin/clickhouse 9. /build/src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001d0186fe in /usr/bin/clickhouse 10. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001d01933d in /usr/bin/clickhouse 11. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001d018a47 in /usr/bin/clickhouse 12. /build/src/Interpreters/QueryNormalizer.cpp:256: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001d01954a in /usr/bin/clickhouse 13. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001d018a47 in /usr/bin/clickhouse 14. /build/src/Interpreters/QueryNormalizer.cpp:177: DB::QueryNormalizer::visit(DB::ASTSelectQuery&, std::shared_ptr const&, DB::QueryNormalizer::Data&) @ 0x000000001d018dda in /usr/bin/clickhouse 15. /build/src/Interpreters/QueryNormalizer.cpp:290: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001d0187ba in /usr/bin/clickhouse 16. /build/src/Interpreters/QueryNormalizer.h:77: DB::QueryNormalizer::visit(std::shared_ptr&) @ 0x000000001cfac6a0 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:1438: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9e0ad in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9bd47 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:33:02.848106 [ 8668 ] {4b8c3e49-5df3-4266-8e78-b34b26d19f44} TCPHandler: Code: 168. DB::Exception: AST is too big. Maximum: 500000. (TOO_BIG_AST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x000000000c0bba33 in /usr/bin/clickhouse 6. /build/src/Parsers/IAST.cpp:111: DB::IAST::checkSize(unsigned long) const @ 0x000000001f3fc44a in /usr/bin/clickhouse 7. /build/src/Parsers/IAST.cpp:108: DB::IAST::checkSize(unsigned long) const @ 0x000000001f3fc3cc in /usr/bin/clickhouse 8. /build/src/Interpreters/QueryNormalizer.cpp:139: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001d0181d2 in /usr/bin/clickhouse 9. /build/src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001d0186fe in /usr/bin/clickhouse 10. /build/src/Interpreters/QueryNormalizer.cpp:240: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001d01933d in /usr/bin/clickhouse 11. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001d018a47 in /usr/bin/clickhouse 12. /build/src/Interpreters/QueryNormalizer.cpp:256: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x000000001d01954a in /usr/bin/clickhouse 13. /build/src/Interpreters/QueryNormalizer.cpp:304: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001d018a47 in /usr/bin/clickhouse 14. /build/src/Interpreters/QueryNormalizer.cpp:177: DB::QueryNormalizer::visit(DB::ASTSelectQuery&, std::shared_ptr const&, DB::QueryNormalizer::Data&) @ 0x000000001d018dda in /usr/bin/clickhouse 15. /build/src/Interpreters/QueryNormalizer.cpp:290: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x000000001d0187ba in /usr/bin/clickhouse 16. /build/src/Interpreters/QueryNormalizer.h:77: DB::QueryNormalizer::visit(std::shared_ptr&) @ 0x000000001cfac6a0 in /usr/bin/clickhouse 17. /build/src/Interpreters/TreeRewriter.cpp:1438: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9e0ad in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9bd47 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 26. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 27. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 2024.12.17 01:33:09.617086 [ 21984 ] {e873c61b-1a13-4e93-9e8f-318f8bf50b78} executeQuery: Code: 42. DB::Exception: Array data type family must have exactly one argument - type of elements: While processing CAST(0, 'Array'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54090) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS Array)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [73]) @ 0x000000000b65117e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeArray.cpp:66: DB::create(std::shared_ptr const&) @ 0x000000001b8a7493 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6f3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6efd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a6ebd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a6e65 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c011e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8bffdd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8bede3 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8be4e7 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8be128 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bbdfd in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78beaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:33:09.618801 [ 21984 ] {e873c61b-1a13-4e93-9e8f-318f8bf50b78} TCPHandler: Code: 42. DB::Exception: Array data type family must have exactly one argument - type of elements: While processing CAST(0, 'Array'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [73]) @ 0x000000000b65117e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeArray.cpp:66: DB::create(std::shared_ptr const&) @ 0x000000001b8a7493 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6f3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6efd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a6ebd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a6e65 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c011e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8bffdd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8bede3 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8be4e7 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8be128 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bbdfd in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78beaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:33:11.663117 [ 21995 ] {bd94b1a5-aa88-406d-a1e5-520c1042c585} executeQuery: Code: 42. DB::Exception: Data type AggregateFunction requires parameters: version(optionally), name of aggregate function and list of data types for arguments: While processing CAST(0, 'AggregateFunction'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34760) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS AggregateFunction)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [134]) @ 0x000000001b8a59be in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeAggregateFunction.cpp:175: DB::create(std::shared_ptr const&) @ 0x000000001b8a3a80 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6f3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6efd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a6ebd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a6e65 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c011e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8bffdd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8bede3 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8be4e7 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8be128 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bbdfd in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78beaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:33:11.667115 [ 21995 ] {bd94b1a5-aa88-406d-a1e5-520c1042c585} TCPHandler: Code: 42. DB::Exception: Data type AggregateFunction requires parameters: version(optionally), name of aggregate function and list of data types for arguments: While processing CAST(0, 'AggregateFunction'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [134]) @ 0x000000001b8a59be in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeAggregateFunction.cpp:175: DB::create(std::shared_ptr const&) @ 0x000000001b8a3a80 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6f3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6efd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a6ebd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a6e65 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c011e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8bffdd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8bede3 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8be4e7 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8be128 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bbdfd in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78beaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:33:13.712154 [ 21981 ] {cebd7a1f-778b-41a0-b7f3-0350d11a75eb} executeQuery: Code: 42. DB::Exception: Nullable data type family must have exactly one argument - nested type: While processing CAST(0, 'Nullable'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34820) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS Nullable)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [71]) @ 0x000000001855c13e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeNullable.cpp:68: DB::create(std::shared_ptr const&) @ 0x000000001b995133 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6f3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6efd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a6ebd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a6e65 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c011e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8bffdd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8bede3 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8be4e7 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8be128 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bbdfd in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78beaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:33:13.713955 [ 21981 ] {cebd7a1f-778b-41a0-b7f3-0350d11a75eb} TCPHandler: Code: 42. DB::Exception: Nullable data type family must have exactly one argument - nested type: While processing CAST(0, 'Nullable'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [71]) @ 0x000000001855c13e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeNullable.cpp:68: DB::create(std::shared_ptr const&) @ 0x000000001b995133 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6f3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6efd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a6ebd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a6e65 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c011e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8bffdd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8bede3 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8be4e7 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8be128 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bbdfd in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78beaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:33:15.689162 [ 3551 ] {1dfe05b3-d08d-4cc2-8cd0-24e3aa3ab9ae} executeQuery: Code: 92. DB::Exception: Tuple cannot be empty: While processing CAST(0, 'Tuple'). (EMPTY_DATA_PASSED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34880) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS Tuple)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [22]) @ 0x000000000b23f39e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:339: DB::create(std::shared_ptr const&) @ 0x000000001b9a031b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6f3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6efd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a6ebd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a6e65 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c011e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8bffdd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8bede3 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8be4e7 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8be128 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bbdfd in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78beaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:33:15.690811 [ 3551 ] {1dfe05b3-d08d-4cc2-8cd0-24e3aa3ab9ae} TCPHandler: Code: 92. DB::Exception: Tuple cannot be empty: While processing CAST(0, 'Tuple'). (EMPTY_DATA_PASSED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [22]) @ 0x000000000b23f39e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeTuple.cpp:339: DB::create(std::shared_ptr const&) @ 0x000000001b9a031b in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6f3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6efd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a6ebd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a6e65 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c011e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8bffdd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8bede3 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8be4e7 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8be128 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bbdfd in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78beaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:33:17.757906 [ 21995 ] {3e68ea4e-2139-46bd-9235-f641bda358bb} executeQuery: Code: 42. DB::Exception: FixedString data type family must have exactly one argument - size in bytes: While processing CAST(0, 'FixedString'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34906) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS FixedString)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [76]) @ 0x000000001395cbbe in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeFixedString.cpp:50: DB::create(std::shared_ptr const&) @ 0x000000001b8c7573 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6f3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6efd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a6ebd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a6e65 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c011e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8bffdd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8bede3 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8be4e7 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8be128 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bbdfd in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78beaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:33:17.759616 [ 21995 ] {3e68ea4e-2139-46bd-9235-f641bda358bb} TCPHandler: Code: 42. DB::Exception: FixedString data type family must have exactly one argument - size in bytes: While processing CAST(0, 'FixedString'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [76]) @ 0x000000001395cbbe in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeFixedString.cpp:50: DB::create(std::shared_ptr const&) @ 0x000000001b8c7573 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6f3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6efd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a6ebd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a6e65 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c011e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8bffdd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8bede3 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8be4e7 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8be128 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bbdfd in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78beaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:33:19.758258 [ 11801 ] {446f50dd-7703-43e1-ba60-14c1c4eb3ef2} executeQuery: Code: 92. DB::Exception: Enum data type cannot be empty: While processing CAST(0, 'Enum'). (EMPTY_DATA_PASSED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34946) (comment: 00540_bad_data_types.sh) (in query: SELECT CAST(0 AS Enum)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57131e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeEnum.cpp:312: DB::create(std::shared_ptr const&) @ 0x000000001b8b3f38 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6f3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6efd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a6ebd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a6e65 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c011e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8bffdd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8bede3 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8be4e7 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8be128 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bbdfd in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78beaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:33:19.759911 [ 11801 ] {446f50dd-7703-43e1-ba60-14c1c4eb3ef2} TCPHandler: Code: 92. DB::Exception: Enum data type cannot be empty: While processing CAST(0, 'Enum'). (EMPTY_DATA_PASSED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [31]) @ 0x000000000d57131e in /usr/bin/clickhouse 6. /build/src/DataTypes/DataTypeEnum.cpp:312: DB::create(std::shared_ptr const&) @ 0x000000001b8b3f38 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(std::shared_ptr const&)>()(std::declval const&>())) std::__invoke[abi:v15000] (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6f3d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(std::shared_ptr const&), std::shared_ptr const&>(std::shared_ptr (*&)(std::shared_ptr const&), std::shared_ptr const&) @ 0x000000001b8a6efd in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) @ 0x000000001b8a6ebd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001b8a6e65 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (std::shared_ptr const&)>::operator()[abi:v15000](std::shared_ptr const&) const @ 0x000000001b8c011e in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (std::shared_ptr const&)>::operator()(std::shared_ptr const&) const @ 0x000000001b8bffdd in /usr/bin/clickhouse 13. /build/src/DataTypes/DataTypeFactory.cpp:161: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x000000001b8bede3 in /usr/bin/clickhouse 14. /build/src/DataTypes/DataTypeFactory.cpp:92: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001b8be4e7 in /usr/bin/clickhouse 15. /build/src/DataTypes/DataTypeFactory.cpp:68: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001b8be128 in /usr/bin/clickhouse 16. /build/src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001b8bbdfd in /usr/bin/clickhouse 17. /build/src/Functions/CastOverloadResolver.h:91: DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b78beaf in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 19. /build/src/Functions/IFunction.cpp:445: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abedbf5 in /usr/bin/clickhouse 20. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 31. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 2024.12.17 01:33:23.703125 [ 21995 ] {e4a4d922-f722-4a54-95a9-9fc08b8fc7f0} executeQuery: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60108) (comment: 00540_bad_data_types.sh) (in query: SELECT * FROM system.one WHERE toString(dummy)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1263: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb3f88 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb91b6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:33:23.704653 [ 21995 ] {e4a4d922-f722-4a54-95a9-9fc08b8fc7f0} TCPHandler: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1263: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb3f88 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb91b6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:33:25.693175 [ 21995 ] {5c9a844e-5c85-4209-813b-5d74815b164e} executeQuery: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60152) (comment: 00540_bad_data_types.sh) (in query: SELECT * FROM system.one WHERE toString(1)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1263: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb3f88 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb91b6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:33:25.695055 [ 21995 ] {5c9a844e-5c85-4209-813b-5d74815b164e} TCPHandler: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExpressionAnalyzer.cpp:1263: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb3f88 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb91b6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:33:27.920582 [ 21995 ] {1f3a4e3c-3772-417a-8544-239f8504562a} executeQuery: Code: 59. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60190) (comment: 00540_bad_data_types.sh) (in query: SELECT * FROM system.one WHERE 256), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x000000001d5767d3 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1912: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb9528 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:33:27.922243 [ 21995 ] {1f3a4e3c-3772-417a-8544-239f8504562a} TCPHandler: Code: 59. DB::Exception: Illegal type UInt16 of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x000000001d5767d3 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1912: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb9528 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:33:29.824359 [ 2669 ] {15045b9a-1cbb-43e1-b664-38bc578e7576} executeQuery: Code: 59. DB::Exception: Illegal type Int8 of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60230) (comment: 00540_bad_data_types.sh) (in query: SELECT * FROM system.one WHERE -1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x000000001d5767d3 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1912: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb9528 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:33:29.826829 [ 2669 ] {15045b9a-1cbb-43e1-b664-38bc578e7576} TCPHandler: Code: 59. DB::Exception: Illegal type Int8 of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x000000001d5767d3 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1912: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb9528 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:33:31.699036 [ 22004 ] {d2db7b0c-e8f3-497c-82e5-788fd76ecbe6} executeQuery: Code: 59. DB::Exception: Illegal type Nullable(UInt16) of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53746) (comment: 00540_bad_data_types.sh) (in query: SELECT * FROM system.one WHERE CAST(256 AS Nullable(UInt16))), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x000000001d5767d3 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1912: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb9528 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:33:31.700919 [ 22004 ] {d2db7b0c-e8f3-497c-82e5-788fd76ecbe6} TCPHandler: Code: 59. DB::Exception: Illegal type Nullable(UInt16) of column for constant filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Columns/FilterDescription.cpp:38: DB::ConstantFilterDescription::ConstantFilterDescription(DB::IColumn const&) @ 0x000000001d5767d3 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExpressionAnalyzer.cpp:1912: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb9528 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:34:02.677507 [ 21981 ] {796a830b-1748-4195-959c-db50f66a6d4c} executeQuery: Code: 153. DB::Exception: Division by zero: While processing intDiv(1, 3600 - timeZoneOffset(CAST('2024-05-06 12:00:00', 'DateTime'))). (ILLEGAL_DIVISION) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:37508) (comment: 00265_http_content_type_format_timezone.sh) (in query: SELECT intDiv(1, (3600-timeZoneOffset('2024-05-06 12:00:00'::DateTime))) SETTINGS session_timezone = 'Europe/Lisbon' ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(signed char, long) @ 0x000000000e46d516 in /usr/bin/clickhouse 7. /build/src/Functions/DivisionUtils.h:59: auto DB::checkedDivision(signed char, long) @ 0x000000000f1eee01 in /usr/bin/clickhouse 8. /build/src/Functions/DivisionUtils.h:83: signed char DB::DivideIntegralImpl::apply(char8_t, long) @ 0x000000000f1eedc1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, signed char>::process(char8_t, long) @ 0x000000000f1eeb21 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000f3c33da in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000f3c31bb in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000f3bf004 in /usr/bin/clickhouse 13. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000f3be86d in /usr/bin/clickhouse 14. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000f3be59d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000f3bdff3 in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000f3bd827 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000f3bd7bd in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000f3bcbf1 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000f3bc8bf in /usr/bin/clickhouse 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f3ba456 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f3b8e2c in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 2024.12.17 01:34:02.680161 [ 21981 ] {796a830b-1748-4195-959c-db50f66a6d4c} DynamicQueryHandler: Code: 153. DB::Exception: Division by zero: While processing intDiv(1, 3600 - timeZoneOffset(CAST('2024-05-06 12:00:00', 'DateTime'))). (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [17]) @ 0x000000000b25735e in /usr/bin/clickhouse 6. /build/src/Functions/DivisionUtils.h:26: void DB::throwIfDivisionLeadsToFPE(signed char, long) @ 0x000000000e46d516 in /usr/bin/clickhouse 7. /build/src/Functions/DivisionUtils.h:59: auto DB::checkedDivision(signed char, long) @ 0x000000000f1eee01 in /usr/bin/clickhouse 8. /build/src/Functions/DivisionUtils.h:83: signed char DB::DivideIntegralImpl::apply(char8_t, long) @ 0x000000000f1eedc1 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionBinaryArithmetic.h:255: DB::impl_::BinaryOperation, signed char>::process(char8_t, long) @ 0x000000000f1eeb21 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionBinaryArithmetic.h:1961: COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000f3c33da in /usr/bin/clickhouse 11. /build/src/Functions/FunctionBinaryArithmetic.h:2131: auto DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeNumber>(auto const&, auto const&) const @ 0x000000000f3c31bb in /usr/bin/clickhouse 12. /build/src/Functions/FunctionBinaryArithmetic.h:791: auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000f3bf004 in /usr/bin/clickhouse 13. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000f3be86d in /usr/bin/clickhouse 14. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000f3be59d in /usr/bin/clickhouse 15. /build/src/Functions/FunctionBinaryArithmetic.h:789: auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000f3bdff3 in /usr/bin/clickhouse 16. /build/src/Functions/castTypeToEither.h:17: bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000f3bd827 in /usr/bin/clickhouse 17. /build/src/Functions/FunctionBinaryArithmetic.h:781: bool DB::FunctionBinaryArithmetic::castType::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000f3bd7bd in /usr/bin/clickhouse 18. /build/src/Functions/FunctionBinaryArithmetic.h:787: bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&) @ 0x000000000f3bcbf1 in /usr/bin/clickhouse 19. /build/src/Functions/FunctionBinaryArithmetic.h:2098: DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000f3bc8bf in /usr/bin/clickhouse 20. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f3ba456 in /usr/bin/clickhouse 21. /build/src/Functions/FunctionBinaryArithmetic.h:0: DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f3b8e2c in /usr/bin/clickhouse 22. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 23. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 24. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 25. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 26. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 27. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 28. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 29. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 30. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 31. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:34:08.773506 [ 21996 ] {0d98ab64-22ac-4f31-9fa8-54adc9299e0f} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(plus(1, dummy) :: 2) -> throwIf(plus(1, dummy)) UInt8 : 0': While processing (SELECT throwIf(1 + dummy)) AS _subquery1298. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42618) (comment: 00205_scalar_subqueries.sql) (in query: -- SELECT (SELECT uniqState('')); SELECT ( SELECT throwIf(1 + dummy) );), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012601363 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:105: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000125ffe58 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 2024.12.17 01:34:08.774628 [ 21996 ] {0d98ab64-22ac-4f31-9fa8-54adc9299e0f} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(plus(1, dummy) :: 2) -> throwIf(plus(1, dummy)) UInt8 : 0': While processing (SELECT throwIf(1 + dummy)) AS _subquery1298. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012601363 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:105: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000125ffe58 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 2024.12.17 01:34:08.953407 [ 21996 ] {b28745d7-4225-4cea-b837-50690f79159d} executeQuery: Code: 125. DB::Exception: Scalar subquery returned empty result of type Tuple(UInt8, UInt8) which cannot be Nullable: While processing (SELECT 1, 2 WHERE 0) AS _subquery1300. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42618) (comment: 00205_scalar_subqueries.sql) (in query: -- But tuple and array can't be inside nullable SELECT (SELECT 1, 2 WHERE 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:204: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8ea01 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9be22 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:34:08.954524 [ 21996 ] {b28745d7-4225-4cea-b837-50690f79159d} TCPHandler: Code: 125. DB::Exception: Scalar subquery returned empty result of type Tuple(UInt8, UInt8) which cannot be Nullable: While processing (SELECT 1, 2 WHERE 0) AS _subquery1300. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:204: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8ea01 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9be22 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:34:08.968748 [ 21996 ] {30267055-3392-41ec-b6ca-5c692c25b203} executeQuery: Code: 125. DB::Exception: Scalar subquery returned empty result of type Array(UInt8) which cannot be Nullable: While processing (SELECT [1] WHERE 0) AS _subquery1301. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42618) (comment: 00205_scalar_subqueries.sql) (in query: SELECT (SELECT [1] WHERE 0);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:204: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8ea01 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9be22 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:34:08.969599 [ 21996 ] {30267055-3392-41ec-b6ca-5c692c25b203} TCPHandler: Code: 125. DB::Exception: Scalar subquery returned empty result of type Array(UInt8) which cannot be Nullable: While processing (SELECT [1] WHERE 0) AS _subquery1301. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:204: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8ea01 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9be22 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:34:09.144630 [ 21996 ] {ea8ee628-25f3-4e87-945b-1b527d1e75c5} executeQuery: Code: 125. DB::Exception: Scalar subquery returned more than one row: While processing (SELECT number FROM numbers(2)) AS _subquery1304. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42618) (comment: 00205_scalar_subqueries.sql) (in query: -- Several rows SELECT (SELECT number FROM numbers(2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1f92be in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:220: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8ed7a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9be22 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:34:09.145752 [ 21996 ] {ea8ee628-25f3-4e87-945b-1b527d1e75c5} TCPHandler: Code: 125. DB::Exception: Scalar subquery returned more than one row: While processing (SELECT number FROM numbers(2)) AS _subquery1304. (INCORRECT_RESULT_OF_SCALAR_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [43]) @ 0x000000000b1f92be in /usr/bin/clickhouse 6. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:220: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8ed7a in /usr/bin/clickhouse 7. /build/src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:69: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x000000001cc8d961 in /usr/bin/clickhouse 8. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001cc8cac0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8cca1 in /usr/bin/clickhouse 10. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 11. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 12. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 13. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 14. /build/src/Interpreters/InDepthNodeVisitor.h:83: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x000000001cc8cd46 in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:65: void DB::InDepthNodeVisitor>::visitImplMain(std::shared_ptr&) @ 0x000000001cc8ccae in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor>::visitImpl(std::shared_ptr&) @ 0x000000001cc8ca4a in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor>::visit(std::shared_ptr&) @ 0x000000001cc8c7a5 in /usr/bin/clickhouse 18. /build/src/Interpreters/TreeRewriter.cpp:465: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001cf9eec8 in /usr/bin/clickhouse 19. /build/src/Interpreters/TreeRewriter.cpp:1225: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9be22 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 01:34:27.459733 [ 21984 ] {b73664ee-8a71-42e4-8115-090b6227cb85} executeQuery: Code: 186. DB::Exception: Unsupported collation locale: qq. (UNSUPPORTED_COLLATION_LOCALE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50600) (comment: 00105_shard_collations.sql) (in query: --- Trash locales SELECT '' as x ORDER BY x COLLATE 'qq';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x000000001d1e8e07 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x000000001c8dbf06 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x000000001c8dbcc1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x000000001c8db9c7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x000000001c8db857 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x000000001c8db3a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1120: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x000000001cab6edf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2879: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x000000001cabde42 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1817: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab50a7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:34:27.460507 [ 21984 ] {b73664ee-8a71-42e4-8115-090b6227cb85} TCPHandler: Code: 186. DB::Exception: Unsupported collation locale: qq. (UNSUPPORTED_COLLATION_LOCALE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x000000001d1e8e07 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x000000001c8dbf06 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x000000001c8dbcc1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x000000001c8db9c7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x000000001c8db857 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x000000001c8db3a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1120: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x000000001cab6edf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2879: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x000000001cabde42 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1817: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab50a7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:34:27.469482 [ 21984 ] {6b0ff84a-49b6-48d9-af87-01b138e5d228} executeQuery: Code: 186. DB::Exception: Unsupported collation locale: qwe. (UNSUPPORTED_COLLATION_LOCALE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50600) (comment: 00105_shard_collations.sql) (in query: SELECT '' as x ORDER BY x COLLATE 'qwe';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x000000001d1e8e07 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x000000001c8dbf06 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x000000001c8dbcc1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x000000001c8db9c7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x000000001c8db857 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x000000001c8db3a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1120: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x000000001cab6edf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2879: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x000000001cabde42 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1817: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab50a7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:34:27.470236 [ 21984 ] {6b0ff84a-49b6-48d9-af87-01b138e5d228} TCPHandler: Code: 186. DB::Exception: Unsupported collation locale: qwe. (UNSUPPORTED_COLLATION_LOCALE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x000000001d1e8e07 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x000000001c8dbf06 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x000000001c8dbcc1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x000000001c8db9c7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x000000001c8db857 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x000000001c8db3a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1120: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x000000001cab6edf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2879: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x000000001cabde42 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1817: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab50a7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:34:27.477997 [ 21984 ] {b978a459-fbcc-4b80-9209-ac68fa3ad80e} executeQuery: Code: 186. DB::Exception: Unsupported collation locale: some_non_existing_locale. (UNSUPPORTED_COLLATION_LOCALE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50600) (comment: 00105_shard_collations.sql) (in query: SELECT '' as x ORDER BY x COLLATE 'some_non_existing_locale';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x000000001d1e8e07 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x000000001c8dbf06 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x000000001c8dbcc1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x000000001c8db9c7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x000000001c8db857 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x000000001c8db3a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1120: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x000000001cab6edf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2879: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x000000001cabde42 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1817: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab50a7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:34:27.478653 [ 21984 ] {b978a459-fbcc-4b80-9209-ac68fa3ad80e} TCPHandler: Code: 186. DB::Exception: Unsupported collation locale: some_non_existing_locale. (UNSUPPORTED_COLLATION_LOCALE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x000000001d1e8e07 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x000000001c8dbf06 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x000000001c8dbcc1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x000000001c8db9c7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x000000001c8db857 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x000000001c8db3a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1120: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x000000001cab6edf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2879: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x000000001cabde42 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1817: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab50a7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:34:27.487781 [ 21984 ] {27922617-bb88-4c36-adbb-155608187dde} executeQuery: Code: 186. DB::Exception: Unsupported collation locale: ру. (UNSUPPORTED_COLLATION_LOCALE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50600) (comment: 00105_shard_collations.sql) (in query: SELECT '' as x ORDER BY x COLLATE 'ру';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x000000001d1e8e07 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x000000001c8dbf06 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x000000001c8dbcc1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x000000001c8db9c7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x000000001c8db857 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x000000001c8db3a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1120: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x000000001cab6edf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2879: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x000000001cabde42 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1817: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab50a7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:34:27.488688 [ 21984 ] {27922617-bb88-4c36-adbb-155608187dde} TCPHandler: Code: 186. DB::Exception: Unsupported collation locale: ру. (UNSUPPORTED_COLLATION_LOCALE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Columns/Collator.cpp:99: Collator::Collator(String const&) @ 0x000000001d1e8e07 in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: Collator* std::construct_at[abi:v15000](Collator*, String&) @ 0x000000001c8dbf06 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000](std::allocator&, Collator*, String&) @ 0x000000001c8dbcc1 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000](std::allocator, String&) @ 0x000000001c8db9c7 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, void>(std::allocator const&, String&) @ 0x000000001c8db857 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000](String&) @ 0x000000001c8db3a6 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectQuery.cpp:1120: DB::InterpreterSelectQuery::getSortDescription(DB::ASTSelectQuery const&, std::shared_ptr const&) @ 0x000000001cab6edf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:2879: DB::InterpreterSelectQuery::executeOrder(DB::QueryPlan&, std::shared_ptr) @ 0x000000001cabde42 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:1817: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab50a7 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:35:06.724184 [ 21996 ] {59f77bb2-83c6-4744-90bb-f95cbd385455} executeQuery: Code: 388. DB::Exception: Cannot OPTIMIZE table: There are no parts inside partition. Cannot select parts for optimization. (CANNOT_ASSIGN_OPTIMIZE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42428) (comment: 00029_test_zookeeper_optimize_exception.sh) (in query: OPTIMIZE TABLE test_optimize_exception PARTITION 201710), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1565: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e3711aa in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca92a05 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:35:06.725725 [ 21996 ] {59f77bb2-83c6-4744-90bb-f95cbd385455} TCPHandler: Code: 388. DB::Exception: Cannot OPTIMIZE table: There are no parts inside partition. Cannot select parts for optimization. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:1565: DB::StorageMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001e3711aa in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca92a05 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:35:08.750510 [ 21996 ] {a195d149-9a5e-433b-ab65-b1143807bc10} executeQuery: Code: 388. DB::Exception: Cannot select parts for optimization: there are no parts in partition 201710. (CANNOT_ASSIGN_OPTIMIZE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42442) (comment: 00029_test_zookeeper_optimize_exception.sh) (in query: OPTIMIZE TABLE test_optimize_exception_replicated PARTITION 201710), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:5443: auto DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr)::$_0::operator()(FormatStringHelperImpl::type>, String const&) const @ 0x000000001d8d2941 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:5470: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr)::$_1::operator()(String const&) const @ 0x000000001d8764bf in /usr/bin/clickhouse 8. /build/src/Storages/StorageReplicatedMergeTree.cpp:5566: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001d8760df in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca92a05 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:35:08.752170 [ 21996 ] {a195d149-9a5e-433b-ab65-b1143807bc10} TCPHandler: Code: 388. DB::Exception: Cannot select parts for optimization: there are no parts in partition 201710. (CANNOT_ASSIGN_OPTIMIZE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:5443: auto DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr)::$_0::operator()(FormatStringHelperImpl::type>, String const&) const @ 0x000000001d8d2941 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:5470: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr)::$_1::operator()(String const&) const @ 0x000000001d8764bf in /usr/bin/clickhouse 8. /build/src/Storages/StorageReplicatedMergeTree.cpp:5566: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001d8760df in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterOptimizeQuery.cpp:82: DB::InterpreterOptimizeQuery::execute() @ 0x000000001ca92a05 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:35:26.755920 [ 936 ] {} test_yqqgk4vo.dst_r2 (f073481f-48ab-4a30-8764-f2c7a3626176): Part 1_23_23_0 doesn't have metadata version on disk, setting it to 0. It's okay if the part was created by an old version of ClickHouse 2024.12.17 01:41:54.572024 [ 8668 ] {bdae60cb-6578-4cc5-b1c3-e2a583642d7e} executeQuery: Code: 36. DB::Exception: Invalid cache key hex: kek. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44508) (comment: 02808_filesystem_cache_drop_query.sh) (in query: SYSTEM DROP FILESYSTEM CACHE '02808_filesystem_cache_drop_query_test_de774sg1' KEY kek;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/Cache/FileCacheKey.cpp:38: DB::FileCacheKey::fromKeyString(String const&) @ 0x000000001d118441 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:382: DB::InterpreterSystemQuery::execute() @ 0x000000001cbd8d2f in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:41:54.573543 [ 8668 ] {bdae60cb-6578-4cc5-b1c3-e2a583642d7e} TCPHandler: Code: 36. DB::Exception: Invalid cache key hex: kek. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/Cache/FileCacheKey.cpp:38: DB::FileCacheKey::fromKeyString(String const&) @ 0x000000001d118441 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterSystemQuery.cpp:382: DB::InterpreterSystemQuery::execute() @ 0x000000001cbd8d2f in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:42:07.069382 [ 8668 ] {a0c4f4f9-2deb-4f9f-8737-2f4dfe530318} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 2'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52792) (comment: 02796_calculate_text_stack_trace.sql) (in query: SELECT 'Hello', throwIf(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012601046 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000125ffdfd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 2024.12.17 01:42:07.070482 [ 8668 ] {a0c4f4f9-2deb-4f9f-8737-2f4dfe530318} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 2'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012601046 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000125ffdfd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 2024.12.17 01:42:09.466268 [ 8668 ] {c1b65c47-fb28-48e0-ba90-b134971e9e3a} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 2'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52792) (comment: 02796_calculate_text_stack_trace.sql) (in query: SELECT 'World', throwIf(1);) 2024.12.17 01:42:09.466958 [ 8668 ] {c1b65c47-fb28-48e0-ba90-b134971e9e3a} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 2'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) 2024.12.17 01:42:37.673989 [ 2669 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x000000001b0f7451 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:535: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f717d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f6f8f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b181d69 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f6eda in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb0eac in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:42:37.675152 [ 2669 ] {} DynamicQueryHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:42:37.679569 [ 2669 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x000000001b0f7451 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:535: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f717d in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f6f8f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b181d69 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f6eda in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb0eac in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:42:37.680485 [ 2669 ] {} DynamicQueryHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:42:37.687078 [ 8668 ] {464e8e00-a7d3-45a9-a3f7-e02fe7b680b4} executeQuery: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=default&password=wrong. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) : While executing LineAsStringRowInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43608) (comment: 02725_url_support_virtual_column.sql) (in query: select _path, _file, s from url('http://127.0.0.1:8123/?query=select+1&user=default&password=wrong', LineAsString, 's String');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cac1a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca03cb in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cabf71 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca026b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca0086 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c641b0 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c67fb0 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c66980 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c68fb6 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::LineAsStringRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e8cd9bb in /usr/bin/clickhouse 16. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 24. /build/src/Storages/StorageURL.cpp:401: DB::StorageURLSource::generate() @ 0x000000001d9fff1c in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 26. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 2024.12.17 01:42:37.693609 [ 8668 ] {464e8e00-a7d3-45a9-a3f7-e02fe7b680b4} TCPHandler: Code: 86. DB::HTTPException: Received error from remote server /?query=select+1&user=default&password=wrong. HTTP status code: 403 Forbidden, body: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) : While executing LineAsStringRowInputFormat: While executing URL. (RECEIVED_ERROR_FROM_REMOTE_IO_SERVER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String const&, int&&, String const&, String const&) @ 0x0000000013cac1a4 in /usr/bin/clickhouse 6. /build/src/IO/HTTPCommon.cpp:418: DB::HTTPException::makeExceptionMessage(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013ca03cb in /usr/bin/clickhouse 7. /build/src/IO/HTTPCommon.h:31: DB::HTTPException::HTTPException(int, String const&, Poco::Net::HTTPResponse::HTTPStatus, String const&, String const&) @ 0x0000000013cabf71 in /usr/bin/clickhouse 8. /build/src/IO/HTTPCommon.cpp:407: DB::assertResponseIsOk(Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, std::basic_istream>&, bool) @ 0x0000000013ca026b in /usr/bin/clickhouse 9. /build/src/IO/HTTPCommon.cpp:386: DB::receiveResponse(Poco::Net::HTTPClientSession&, Poco::Net::HTTPRequest const&, Poco::Net::HTTPResponse&, bool) @ 0x0000000013ca0086 in /usr/bin/clickhouse 10. /build/src/IO/ReadWriteBufferFromHTTP.cpp:162: DB::detail::ReadWriteBufferFromHTTPBase>>::callImpl(std::shared_ptr>&, Poco::URI, Poco::Net::HTTPResponse&, String const&, bool) @ 0x0000000017c641b0 in /usr/bin/clickhouse 11. /build/src/IO/ReadWriteBufferFromHTTP.cpp:341: DB::detail::ReadWriteBufferFromHTTPBase>>::call(std::shared_ptr>&, Poco::Net::HTTPResponse&, String const&, bool, bool) @ 0x0000000017c67fb0 in /usr/bin/clickhouse 12. /build/src/IO/ReadWriteBufferFromHTTP.cpp:378: DB::detail::ReadWriteBufferFromHTTPBase>>::initialize() @ 0x0000000017c66980 in /usr/bin/clickhouse 13. /build/src/IO/ReadWriteBufferFromHTTP.cpp:504: DB::detail::ReadWriteBufferFromHTTPBase>>::nextImpl() @ 0x0000000017c68fb6 in /usr/bin/clickhouse 14. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 15. /build/src/IO/ReadBuffer.h:105: DB::LineAsStringRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e8cd9bb in /usr/bin/clickhouse 16. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 24. /build/src/Storages/StorageURL.cpp:401: DB::StorageURLSource::generate() @ 0x000000001d9fff1c in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 26. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 2024.12.17 01:42:51.325511 [ 962 ] {} PushingToViews: Cannot push to the storage, ignoring the error: Code: 60. DB::Exception: Table test_hjmdtvwt.receiver_02572 does not exist: while pushing to view test_hjmdtvwt.push_to_logs_proxy_mv_02572 (05db722a-5367-48ce-b8f2-9b45fba9b134). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7dc92 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca7fc86 in /usr/bin/clickhouse 11. /build/src/Storages/Distributed/DistributedSink.cpp:704: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000001dd051a6 in /usr/bin/clickhouse 12. /build/src/Storages/Distributed/DistributedSink.cpp:677: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000001dd020c7 in /usr/bin/clickhouse 13. /build/src/Storages/Distributed/DistributedSink.cpp:181: DB::DistributedSink::writeAsync(DB::Block const&) @ 0x000000001dd01a9a in /usr/bin/clickhouse 14. /build/src/Storages/Distributed/DistributedSink.cpp:153: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001dd00cbe in /usr/bin/clickhouse 15. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 24. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 30. /build/src/Interpreters/SystemLog.cpp:508: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000001cece1fd in /usr/bin/clickhouse 31. /build/src/Interpreters/SystemLog.cpp:448: DB::SystemLog::savingThreadFunction() @ 0x000000001cecd18e in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:42:53.137459 [ 962 ] {} PushingToViews: Cannot push to the storage, ignoring the error: Code: 60. DB::Exception: Table test_hjmdtvwt.receiver_02572 does not exist: while pushing to view test_hjmdtvwt.push_to_logs_proxy_mv_02572 (05db722a-5367-48ce-b8f2-9b45fba9b134). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7dc92 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca7fc86 in /usr/bin/clickhouse 11. /build/src/Storages/Distributed/DistributedSink.cpp:704: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000001dd051a6 in /usr/bin/clickhouse 12. /build/src/Storages/Distributed/DistributedSink.cpp:677: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000001dd020c7 in /usr/bin/clickhouse 13. /build/src/Storages/Distributed/DistributedSink.cpp:181: DB::DistributedSink::writeAsync(DB::Block const&) @ 0x000000001dd01a9a in /usr/bin/clickhouse 14. /build/src/Storages/Distributed/DistributedSink.cpp:153: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001dd00cbe in /usr/bin/clickhouse 15. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 16. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 23. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 24. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 30. /build/src/Interpreters/SystemLog.cpp:508: DB::SystemLog::flushImpl(std::vector> const&, unsigned long) @ 0x000000001cece1fd in /usr/bin/clickhouse 31. /build/src/Interpreters/SystemLog.cpp:448: DB::SystemLog::savingThreadFunction() @ 0x000000001cecd18e in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:43:18.571837 [ 2669 ] {d1375f8b-4b94-4264-82e5-9f80dd6ca6bc} executeQuery: Code: 60. DB::Exception: Table test_4o3mq3qq.table_merge_tree_02561 does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:49172) (comment: 02561_temporary_table_sessions.sh) (in query: SELECT * FROM table_merge_tree_02561), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 21. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:43:18.573224 [ 2669 ] {d1375f8b-4b94-4264-82e5-9f80dd6ca6bc} DynamicQueryHandler: Code: 60. DB::Exception: Table test_4o3mq3qq.table_merge_tree_02561 does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 21. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:48:01.523838 [ 1435 ] {308c62d6-5efc-45a3-b87d-5b112c9e9a9f} executeQuery: Code: 60. DB::Exception: Table test_wu19kbwa.t_async_insert_cleanup (131216e6-6386-42a7-bae9-6af998707413) does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 02515_cleanup_async_insert_block_ids.sh) (in query: INSERT INTO test_wu19kbwa.t_async_insert_cleanup FORMAT Values), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:345: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bede938 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7dc92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca7fc86 in /usr/bin/clickhouse 10. /build/src/Interpreters/AsynchronousInsertQueue.cpp:517: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x000000001bd79ba2 in /usr/bin/clickhouse 11. /build/src/Interpreters/AsynchronousInsertQueue.cpp:202: DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0::operator()() @ 0x000000001bd7cd2a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval>, std::shared_ptr)::$_0&>()()) std::__invoke[abi:v15000]>, std::shared_ptr)::$_0&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0&) @ 0x000000001bd7cc95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call>, std::shared_ptr)::$_0&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0&) @ 0x000000001bd7cc75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, std::shared_ptr)::$_0, void ()>::operator()[abi:v15000]() @ 0x000000001bd7cc55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x000000001bd7cc20 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 2024.12.17 01:48:01.525063 [ 1435 ] {} AsynchronousInsertQueue: Failed insertion for query 'INSERT INTO test_wu19kbwa.t_async_insert_cleanup FORMAT Values': Code: 60. DB::Exception: Table test_wu19kbwa.t_async_insert_cleanup (131216e6-6386-42a7-bae9-6af998707413) does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:345: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bede938 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7dc92 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca7fc86 in /usr/bin/clickhouse 10. /build/src/Interpreters/AsynchronousInsertQueue.cpp:517: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x000000001bd79ba2 in /usr/bin/clickhouse 11. /build/src/Interpreters/AsynchronousInsertQueue.cpp:202: DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0::operator()() @ 0x000000001bd7cd2a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval>, std::shared_ptr)::$_0&>()()) std::__invoke[abi:v15000]>, std::shared_ptr)::$_0&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0&) @ 0x000000001bd7cc95 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call>, std::shared_ptr)::$_0&>(DB::AsynchronousInsertQueue::scheduleDataProcessingJob(DB::AsynchronousInsertQueue::InsertQuery const&, std::unique_ptr>, std::shared_ptr)::$_0&) @ 0x000000001bd7cc75 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func>, std::shared_ptr)::$_0, void ()>::operator()[abi:v15000]() @ 0x000000001bd7cc55 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x000000001bd7cc20 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 18. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:48:16.598973 [ 8668 ] {test_2udontq3-13844} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:54796) (comment: 02503_insert_storage_snapshot.sh) (in query: INSERT INTO t_insert_storage_snapshot SELECT sleep(1) FROM numbers(1000) SETTINGS max_block_size = 1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b3b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cd6bd in /usr/bin/clickhouse 11. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6cd54a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cd4f5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cd4d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6cd43d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6cd347 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6cd2b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&) @ 0x000000001e6cd295 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6cd275 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6cd240 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:48:16.601175 [ 8668 ] {test_2udontq3-13844} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b3b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cd6bd in /usr/bin/clickhouse 11. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6cd54a in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cd4f5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cd4d9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6cd43d in /usr/bin/clickhouse 15. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6cd347 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(DB::CompletedPipelineExecutor::execute()::$_0&&) @ 0x000000001e6cd2b5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()&) @ 0x000000001e6cd295 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6cd275 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6cd240 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/thread:285: void std::__thread_execute[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(std::tuple::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>&, std::__tuple_indices<>) @ 0x0000000013a5f1fd in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/thread:295: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x0000000013a5ece2 in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:48:31.740701 [ 8668 ] {e9501bee-1fa1-43d0-9dbf-72af6848b22f} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 2'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:45664) (comment: 02494_query_cache_query_log.sql) (in query: SELECT 124437995, throwIf(1) SETTINGS use_query_cache = 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012601046 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000125ffdfd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 2024.12.17 01:48:31.741702 [ 8668 ] {e9501bee-1fa1-43d0-9dbf-72af6848b22f} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 2'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012601046 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000125ffdfd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 2024.12.17 01:48:47.376178 [ 8668 ] {1066a5b2-870a-4b3c-a498-5821a6a8e555} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49736) (comment: 02494_query_cache_exception_handling.sql) (in query: -- If an exception is thrown during query execution, no entry must be created in the query cache SELECT throwIf(1) SETTINGS use_query_cache = true;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012601046 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000125ffdfd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 2024.12.17 01:48:47.377475 [ 8668 ] {1066a5b2-870a-4b3c-a498-5821a6a8e555} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Functions/throwIf.cpp:140: COW::immutable_ptr DB::(anonymous namespace)::FunctionThrowIf::execute(DB::IColumn const*, std::optional const&, std::optional const&) const @ 0x0000000012601046 in /usr/bin/clickhouse 7. /build/src/Functions/throwIf.cpp:104: DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000125ffdfd in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:21: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b1955ed in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:248: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb53a in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 12. /build/src/Interpreters/ExpressionActions.cpp:617: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x000000001bf82f11 in /usr/bin/clickhouse 13. /build/src/Interpreters/ExpressionActions.cpp:734: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x000000001bf8232d in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExpressionTransform.cpp:23: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001ebc8884 in /usr/bin/clickhouse 15. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 16. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 28. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 2024.12.17 01:48:57.157514 [ 8668 ] {6f1b8603-1f82-4ee2-89af-2a48d9743111} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34856) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:48:57.158420 [ 8668 ] {6f1b8603-1f82-4ee2-89af-2a48d9743111} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:48:57.737537 [ 8668 ] {5da18962-f67b-49c0-a88b-518b11564d25} executeQuery: Code: 107. DB::Exception: Cannot open CapnProto schema, file /var/lib/clickhouse/format_schemas/nonexist.capnp doesn't exists: While executing File. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34858) (in query: select * from file('data.capnp', 'CapnProto', 'val1 char') settings format_schema='nonexist:Message'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Formats/CapnProtoSchema.cpp:47: DB::CapnProtoSchemaParser::getMessageSchema(DB::FormatSchemaInfo const&) @ 0x000000001e82b3f0 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:25: DB::CapnProtoRowInputFormat::CapnProtoRowInputFormat(DB::ReadBuffer&, DB::Block, DB::RowInputFormatParams, DB::MaybeAutogeneratedFormatSchemaInfo const&, DB::FormatSettings const&) @ 0x000000001e826188 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::CapnProtoRowInputFormat* std::construct_at[abi:v15000], DB::FormatSettings const&, DB::CapnProtoRowInputFormat*>(DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001e82a341 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::FormatSettings const&, void, void>(std::allocator&, DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001e82a0a1 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::FormatSettings const&>(std::allocator, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001e829d8d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams, DB::MaybeAutogeneratedFormatSchemaInfo, DB::FormatSettings const&, void>(std::allocator const&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001e829be0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::FormatSettings const&, void>(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001e829b66 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:141: DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0::operator()(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams, DB::FormatSettings const&) const @ 0x000000001e827707 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x000000001e8275f9 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x000000001e827535 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x000000001e8274d5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::__call_impl (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x000000001e82747d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) const @ 0x000000001e67abd6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) const @ 0x000000001e678ed5 in /usr/bin/clickhouse 20. /build/src/Formats/FormatFactory.cpp:330: DB::FormatFactory::getInput(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr, unsigned long, std::optional const&, std::optional, std::optional, bool, DB::CompressionMethod) const @ 0x000000001e66e1f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/Context.cpp:3778: DB::Context::getInputFormat(String const&, DB::ReadBuffer&, DB::Block const&, unsigned long, std::optional const&, std::optional) const @ 0x000000001bdd9143 in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:1278: DB::StorageFileSource::generate() @ 0x000000001d6af86c in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 2024.12.17 01:48:57.739807 [ 8668 ] {5da18962-f67b-49c0-a88b-518b11564d25} TCPHandler: Code: 107. DB::Exception: Cannot open CapnProto schema, file /var/lib/clickhouse/format_schemas/nonexist.capnp doesn't exists: While executing File. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Formats/CapnProtoSchema.cpp:47: DB::CapnProtoSchemaParser::getMessageSchema(DB::FormatSchemaInfo const&) @ 0x000000001e82b3f0 in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:25: DB::CapnProtoRowInputFormat::CapnProtoRowInputFormat(DB::ReadBuffer&, DB::Block, DB::RowInputFormatParams, DB::MaybeAutogeneratedFormatSchemaInfo const&, DB::FormatSettings const&) @ 0x000000001e826188 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::CapnProtoRowInputFormat* std::construct_at[abi:v15000], DB::FormatSettings const&, DB::CapnProtoRowInputFormat*>(DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001e82a341 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::FormatSettings const&, void, void>(std::allocator&, DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001e82a0a1 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::FormatSettings const&>(std::allocator, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001e829d8d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams, DB::MaybeAutogeneratedFormatSchemaInfo, DB::FormatSettings const&, void>(std::allocator const&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001e829be0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::FormatSettings const&, void>(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001e829b66 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:141: DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0::operator()(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams, DB::FormatSettings const&) const @ 0x000000001e827707 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval())) std::__invoke[abi:v15000](DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x000000001e8275f9 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerInputFormatCapnProto(DB::FormatFactory&)::$_0&, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x000000001e827535 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x000000001e8274d5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::__call_impl (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x000000001e82747d in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()[abi:v15000](DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) const @ 0x000000001e67abd6 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::operator()(DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) const @ 0x000000001e678ed5 in /usr/bin/clickhouse 20. /build/src/Formats/FormatFactory.cpp:330: DB::FormatFactory::getInput(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr, unsigned long, std::optional const&, std::optional, std::optional, bool, DB::CompressionMethod) const @ 0x000000001e66e1f7 in /usr/bin/clickhouse 21. /build/src/Interpreters/Context.cpp:3778: DB::Context::getInputFormat(String const&, DB::ReadBuffer&, DB::Block const&, unsigned long, std::optional const&, std::optional) const @ 0x000000001bdd9143 in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:1278: DB::StorageFileSource::generate() @ 0x000000001d6af86c in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 2024.12.17 01:50:49.700295 [ 8668 ] {c60329db-9f02-4a63-9603-806227bdd852} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49648) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:50:49.701035 [ 8668 ] {c60329db-9f02-4a63-9603-806227bdd852} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:51:10.429534 [ 8668 ] {77fb902c-e17a-4e60-a8db-7211909cdea9} executeQuery: Code: 269. DB::Exception: Destination table is myself. Will lead to infinite loop. (INFINITE_LOOP) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46254) (comment: 02391_recursive_buffer.sql) (in query: SELECT * FROM test;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb45fe in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:114: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da81264 in /usr/bin/clickhouse 7. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86655 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.h:143: DB::IStorage::canMoveConditionsToPrewhere() const @ 0x000000001a9ae736 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:637: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caacf8a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:51:10.430325 [ 8668 ] {77fb902c-e17a-4e60-a8db-7211909cdea9} TCPHandler: Code: 269. DB::Exception: Destination table is myself. Will lead to infinite loop. (INFINITE_LOOP), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb45fe in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:114: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da81264 in /usr/bin/clickhouse 7. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86655 in /usr/bin/clickhouse 8. /build/src/Storages/IStorage.h:143: DB::IStorage::canMoveConditionsToPrewhere() const @ 0x000000001a9ae736 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:637: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caacf8a in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:51:10.627057 [ 8668 ] {618cf3fe-97e4-4802-ba95-b853ad09c47a} executeQuery: Code: 269. DB::Exception: Destination table is myself. Will lead to infinite loop.: While executing Tables. (INFINITE_LOOP) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46254) (comment: 02391_recursive_buffer.sql) (in query: SELECT * FROM system.tables WHERE table = 'test' AND database = currentDatabase() FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb45fe in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:114: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da81264 in /usr/bin/clickhouse 7. /build/src/Storages/StorageBuffer.cpp:1049: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af4d in /usr/bin/clickhouse 8. /build/src/Storages/System/StorageSystemTables.cpp:473: DB::TablesBlockSource::generate() @ 0x000000001aa7ebd6 in /usr/bin/clickhouse 9. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 2024.12.17 01:51:10.630464 [ 8668 ] {618cf3fe-97e4-4802-ba95-b853ad09c47a} TCPHandler: Code: 269. DB::Exception: Destination table is myself. Will lead to infinite loop.: While executing Tables. (INFINITE_LOOP), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb45fe in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:114: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da81264 in /usr/bin/clickhouse 7. /build/src/Storages/StorageBuffer.cpp:1049: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af4d in /usr/bin/clickhouse 8. /build/src/Storages/System/StorageSystemTables.cpp:473: DB::TablesBlockSource::generate() @ 0x000000001aa7ebd6 in /usr/bin/clickhouse 9. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:84: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6f24e6 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:113: DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const @ 0x000000001e6f237f in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x000000001e6f22f5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6f22d9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::tuple<>&) @ 0x000000001e6f223d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() @ 0x000000001e6f2147 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x000000001e6f20b5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&) @ 0x000000001e6f2095 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001e6f2075 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001e6f2040 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse 2024.12.17 01:51:10.903666 [ 8668 ] {b5462348-e1d6-41ae-8852-412e4b4e90a2} virtual void DB::StorageBuffer::flushAndPrepareForShutdown(): Code: 269. DB::Exception: Destination table is myself. Will lead to infinite loop. (INFINITE_LOOP), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [57]) @ 0x000000000ddb45fe in /usr/bin/clickhouse 6. /build/src/Storages/StorageBuffer.cpp:114: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da81264 in /usr/bin/clickhouse 7. /build/src/Storages/StorageBuffer.cpp:869: DB::StorageBuffer::flushBuffer(DB::StorageBuffer::Buffer&, bool, bool) @ 0x000000001da873f7 in /usr/bin/clickhouse 8. /build/src/Storages/StorageBuffer.cpp:812: DB::StorageBuffer::flushAllBuffers(bool) @ 0x000000001da8661e in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:735: DB::StorageBuffer::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001da86558 in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:694: DB::StorageBuffer::flushAndPrepareForShutdown() @ 0x000000001da861d5 in /usr/bin/clickhouse 11. /build/src/Storages/IStorage.h:565: DB::IStorage::flushAndShutdown() @ 0x000000001bab8ebd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterDropQuery.cpp:241: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b55cf in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b3694 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b2f0e in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 24. ? @ 0x00007f3559e74ac3 in ? 25. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:51:11.417833 [ 8668 ] {36a9846b-bd22-454b-b25b-e32c2d459709} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f32ef3f0000, frame address: 0x7f32ef7effc0, stack size: 4194368, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46254) (comment: 02391_recursive_buffer.sql) (in query: SELECT * FROM test1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013963a64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139635dc in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:324: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bede5bd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:934: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4836 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da8121d in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86655 in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 2024.12.17 01:51:11.418694 [ 8668 ] {36a9846b-bd22-454b-b25b-e32c2d459709} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f32ef3f0000, frame address: 0x7f32ef7effc0, stack size: 4194368, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013963a64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139635dc in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:324: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bede5bd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:934: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4836 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da8121d in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86655 in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 2024.12.17 01:51:11.754157 [ 8668 ] {aad501a5-f46c-44de-9723-d96f264a430f} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f32ef3f0000, frame address: 0x7f32ef7effc0, stack size: 4194368, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46254) (comment: 02391_recursive_buffer.sql) (in query: SELECT * FROM test2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013963a64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139635dc in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:324: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bede5bd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:934: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4836 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da8121d in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86655 in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 2024.12.17 01:51:11.754916 [ 8668 ] {aad501a5-f46c-44de-9723-d96f264a430f} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f32ef3f0000, frame address: 0x7f32ef7effc0, stack size: 4194368, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013963a64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139635dc in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:324: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bede5bd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:934: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4836 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da8121d in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:741: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86655 in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:742: DB::StorageBuffer::supportsPrewhere() const @ 0x000000001da86688 in /usr/bin/clickhouse 2024.12.17 01:51:12.148256 [ 8668 ] {0fc47454-5394-4a26-8490-f6980511110c} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f31709ed000, frame address: 0x7f3170decfb0, stack size: 4194384, maximum stack size: 8388608: While executing Tables. (TOO_DEEP_RECURSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46254) (comment: 02391_recursive_buffer.sql) (in query: SELECT * FROM system.tables WHERE table IN ('test1', 'test2') AND database = currentDatabase();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013963a64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139635dc in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:324: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bede5bd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:934: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4836 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da8121d in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:1049: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af4d in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 2024.12.17 01:51:12.153196 [ 8668 ] {0fc47454-5394-4a26-8490-f6980511110c} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f31709ed000, frame address: 0x7f3170decfb0, stack size: 4194384, maximum stack size: 8388608: While executing Tables. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013963a64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139635dc in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:324: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bede5bd in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:934: DB::DatabaseCatalog::tryGetTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4836 in /usr/bin/clickhouse 9. /build/src/Storages/StorageBuffer.cpp:112: DB::StorageBuffer::getDestinationTable() const @ 0x000000001da8121d in /usr/bin/clickhouse 10. /build/src/Storages/StorageBuffer.cpp:1049: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af4d in /usr/bin/clickhouse 11. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 12. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 13. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 14. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 15. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 16. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 17. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 18. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 19. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 20. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 21. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 22. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 23. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 24. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 25. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 26. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 27. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 28. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 29. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 30. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 31. /build/src/Storages/StorageBuffer.cpp:1050: DB::StorageBuffer::totalRows(DB::Settings const&) const @ 0x000000001da8af89 in /usr/bin/clickhouse 2024.12.17 01:51:14.801982 [ 8668 ] {38df19c4-bb24-485e-a3f9-7b59b56682c7} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 1.00, current rows: 58.76 thousand: While executing Numbers. (TOO_MANY_ROWS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37370) (comment: 02385_profile_events_overflow.sql) (in query: SELECT count() FROM system.numbers SETTINGS max_rows_to_read = 1, read_overflow_mode = 'throw';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a0808 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a032c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x000000001b876ae4 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb971 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 2024.12.17 01:51:14.807814 [ 8668 ] {38df19c4-bb24-485e-a3f9-7b59b56682c7} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 1.00, current rows: 58.76 thousand: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x000000001b8a0808 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:25: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a032c in /usr/bin/clickhouse 7. /build/src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x000000001b876ae4 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb971 in /usr/bin/clickhouse 9. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 2024.12.17 01:51:20.391220 [ 8668 ] {ed310a33-a417-4348-854f-800f9aa77744} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36778) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:51:20.392171 [ 8668 ] {ed310a33-a417-4348-854f-800f9aa77744} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:52:15.699371 [ 8668 ] {034fda46-6517-48d3-92eb-f416c2ecc84e} executeQuery: Code: 497. DB::Exception: user_test_02337: Not enough privileges. To execute this query, it's necessary to have the grant SYSTEM DROP FILESYSTEM CACHE ON *.*. (ACCESS_DENIED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35632) (comment: 02337_drop_filesystem_cache_access.sh) (in query: SYSTEM DROP FILESYSTEM CACHE;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x000000001b04a6be in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:560: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x000000001b049173 in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:625: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001b01ca02 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:698: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x000000001b017d3d in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1200: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001bde39f6 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1203: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x000000001bdc3e1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSystemQuery.cpp:365: DB::InterpreterSystemQuery::execute() @ 0x000000001cbd8abd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:52:15.700112 [ 8668 ] {034fda46-6517-48d3-92eb-f416c2ecc84e} TCPHandler: Code: 497. DB::Exception: user_test_02337: Not enough privileges. To execute this query, it's necessary to have the grant SYSTEM DROP FILESYSTEM CACHE ON *.*. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Access/ContextAccess.cpp:520: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x000000001b04a6be in /usr/bin/clickhouse 7. /build/src/Access/ContextAccess.cpp:560: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x000000001b049173 in /usr/bin/clickhouse 8. /build/src/Access/ContextAccess.cpp:625: bool DB::ContextAccess::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001b01ca02 in /usr/bin/clickhouse 9. /build/src/Access/ContextAccess.cpp:698: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x000000001b017d3d in /usr/bin/clickhouse 10. /build/src/Interpreters/Context.cpp:1200: void DB::Context::checkAccessImpl(DB::AccessFlags const&) const @ 0x000000001bde39f6 in /usr/bin/clickhouse 11. /build/src/Interpreters/Context.cpp:1203: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x000000001bdc3e1d in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSystemQuery.cpp:365: DB::InterpreterSystemQuery::execute() @ 0x000000001cbd8abd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:52:35.370649 [ 55314 ] {76251f4b-d269-421d-a7db-0027589bb31a} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.46 MiB (attempt to allocate chunk of 1815184 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32806) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:35.492025 [ 8668 ] {956c3bd4-f150-4cd3-929b-cd1db6d45490} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.89 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32804) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:84: CurrentMemoryTracker::check() @ 0x000000001387c8d9 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1823: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x000000001c00e557 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1615: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fc33 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 2024.12.17 01:52:35.492216 [ 55318 ] {ccbe09a0-0e28-4b4c-8733-a0c5a23e66a1} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.04 MiB (attempt to allocate chunk of 1811776 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32858) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:35.492285 [ 55317 ] {38b45f31-dc7e-46f2-a053-d4ad6dcbd6f4} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.05 MiB (attempt to allocate chunk of 1814576 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32844) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:35.492112 [ 55316 ] {cb50a590-fa88-4e79-9026-5b7c8f18ac6d} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.97 MiB (attempt to allocate chunk of 1812384 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32832) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:35.492551 [ 55319 ] {665e03a9-d2e3-4dbc-a411-e892595b8d9e} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.28 MiB (attempt to allocate chunk of 1811168 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32868) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:35.492804 [ 55314 ] {76251f4b-d269-421d-a7db-0027589bb31a} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.46 MiB (attempt to allocate chunk of 1815184 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:35.492521 [ 55320 ] {35b3bc35-7ba6-4fc3-ad15-2ca139bbff00} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.07 MiB (attempt to allocate chunk of 1811168 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32880) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:35.492708 [ 55321 ] {a83c3247-02a8-4963-bee6-ffd584451780} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.36 MiB (attempt to allocate chunk of 1817552 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32892) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:35.492848 [ 55315 ] {80a84f86-2101-43d9-94a4-70cc78e4ce99} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.54 MiB (attempt to allocate chunk of 1813296 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32822) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:35.492932 [ 55322 ] {e5c979a0-7a25-44c5-a4eb-906fc5447df1} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.36 MiB (attempt to allocate chunk of 1811472 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32896) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:35.496411 [ 8668 ] {956c3bd4-f150-4cd3-929b-cd1db6d45490} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.89 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:84: CurrentMemoryTracker::check() @ 0x000000001387c8d9 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1823: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x000000001c00e557 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1615: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fc33 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 2024.12.17 01:52:35.497484 [ 55318 ] {ccbe09a0-0e28-4b4c-8733-a0c5a23e66a1} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.04 MiB (attempt to allocate chunk of 1811776 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:35.497620 [ 55317 ] {38b45f31-dc7e-46f2-a053-d4ad6dcbd6f4} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.05 MiB (attempt to allocate chunk of 1814576 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:35.498856 [ 55315 ] {80a84f86-2101-43d9-94a4-70cc78e4ce99} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.54 MiB (attempt to allocate chunk of 1813296 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:35.499568 [ 55322 ] {e5c979a0-7a25-44c5-a4eb-906fc5447df1} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.36 MiB (attempt to allocate chunk of 1811472 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:35.500255 [ 55319 ] {665e03a9-d2e3-4dbc-a411-e892595b8d9e} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.28 MiB (attempt to allocate chunk of 1811168 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:35.501150 [ 55316 ] {cb50a590-fa88-4e79-9026-5b7c8f18ac6d} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.97 MiB (attempt to allocate chunk of 1812384 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:35.502196 [ 55320 ] {35b3bc35-7ba6-4fc3-ad15-2ca139bbff00} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.07 MiB (attempt to allocate chunk of 1811168 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:35.503051 [ 55321 ] {a83c3247-02a8-4963-bee6-ffd584451780} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.36 MiB (attempt to allocate chunk of 1817552 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:37.429971 [ 55314 ] {7507da61-7ec3-4ffe-a928-6d86de803643} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.46 MiB (attempt to allocate chunk of 1813360 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32904) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:37.430554 [ 55316 ] {c7b76304-350e-44a7-a466-f67e92bb0bc8} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.48 MiB (attempt to allocate chunk of 1811168 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32922) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:37.434517 [ 55314 ] {7507da61-7ec3-4ffe-a928-6d86de803643} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.46 MiB (attempt to allocate chunk of 1813360 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:37.434618 [ 8668 ] {f6692111-4a8a-41c9-89bd-f8042902713b} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.91 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32898) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:84: CurrentMemoryTracker::check() @ 0x000000001387c8d9 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1823: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x000000001c00e557 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1615: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fc33 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 2024.12.17 01:52:37.435994 [ 55316 ] {c7b76304-350e-44a7-a466-f67e92bb0bc8} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.48 MiB (attempt to allocate chunk of 1811168 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:37.435924 [ 55315 ] {8dabcf2d-c55e-41bc-8088-899ab8ff2e9d} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 8.21 MiB (attempt to allocate chunk of 1809648 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32920) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:37.441076 [ 8668 ] {f6692111-4a8a-41c9-89bd-f8042902713b} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.91 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:84: CurrentMemoryTracker::check() @ 0x000000001387c8d9 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1823: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x000000001c00e557 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1615: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fc33 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 2024.12.17 01:52:37.445177 [ 55315 ] {8dabcf2d-c55e-41bc-8088-899ab8ff2e9d} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 8.21 MiB (attempt to allocate chunk of 1809648 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:37.505674 [ 55318 ] {b58e1143-f724-4af9-b8b6-c50202ad17b6} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.46 MiB (attempt to allocate chunk of 1813056 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32940) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:37.511363 [ 55318 ] {b58e1143-f724-4af9-b8b6-c50202ad17b6} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.46 MiB (attempt to allocate chunk of 1813056 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:37.523315 [ 55319 ] {9d32f06b-b50e-4964-aeff-b6370387d8be} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.54 MiB (attempt to allocate chunk of 1817008 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32942) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:37.527605 [ 55319 ] {9d32f06b-b50e-4964-aeff-b6370387d8be} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.54 MiB (attempt to allocate chunk of 1817008 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:37.684742 [ 55317 ] {6c5bd427-376f-4804-8d31-75c505af399f} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.71 MiB (attempt to allocate chunk of 1354496 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32926) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:37.684950 [ 55322 ] {d9df1e40-9c72-4b45-96c7-105c84019984} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.67 MiB (attempt to allocate chunk of 1811472 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32964) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:37.684977 [ 55321 ] {e020859c-916d-4b34-8b3b-96a9b16d5349} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.59 MiB (attempt to allocate chunk of 1814880 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32954) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:37.684877 [ 55320 ] {ac5d85d1-2c2c-4782-9a53-ad1784daed36} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.47 MiB (attempt to allocate chunk of 1812992 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32948) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:37.689304 [ 55322 ] {d9df1e40-9c72-4b45-96c7-105c84019984} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.67 MiB (attempt to allocate chunk of 1811472 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:37.690532 [ 55317 ] {6c5bd427-376f-4804-8d31-75c505af399f} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.71 MiB (attempt to allocate chunk of 1354496 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:37.690715 [ 55321 ] {e020859c-916d-4b34-8b3b-96a9b16d5349} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.59 MiB (attempt to allocate chunk of 1814880 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:37.693418 [ 55320 ] {ac5d85d1-2c2c-4782-9a53-ad1784daed36} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.47 MiB (attempt to allocate chunk of 1812992 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:39.355847 [ 55314 ] {35f0a5bf-4e12-466b-a98d-4795ac2c5aec} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.19 MiB (attempt to allocate chunk of 1811472 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32988) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:39.360209 [ 55315 ] {55663574-e220-4ce6-adca-b215b465af12} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.54 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32998) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:39.360991 [ 55314 ] {35f0a5bf-4e12-466b-a98d-4795ac2c5aec} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.19 MiB (attempt to allocate chunk of 1811472 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:39.362654 [ 8668 ] {7c080f40-061e-4a4a-881c-cb1e8385f9c0} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.84 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:32974) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:39.364737 [ 55315 ] {55663574-e220-4ce6-adca-b215b465af12} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.54 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:39.367827 [ 8668 ] {7c080f40-061e-4a4a-881c-cb1e8385f9c0} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.84 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:39.400250 [ 55316 ] {868a93b1-9fa7-4b2f-b917-b47a2886b870} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.04 MiB (attempt to allocate chunk of 1354048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33000) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:39.405088 [ 55316 ] {868a93b1-9fa7-4b2f-b917-b47a2886b870} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.04 MiB (attempt to allocate chunk of 1354048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:39.448964 [ 55317 ] {d4d121d3-85fe-4956-b373-2addaac485c3} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.46 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33016) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:39.453526 [ 55317 ] {d4d121d3-85fe-4956-b373-2addaac485c3} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.46 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:39.473209 [ 55318 ] {ba6ff85b-7d97-4b4f-95cb-217bc18f5edb} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.11 MiB (attempt to allocate chunk of 1354048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33020) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:39.480506 [ 55318 ] {ba6ff85b-7d97-4b4f-95cb-217bc18f5edb} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.11 MiB (attempt to allocate chunk of 1354048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:39.616345 [ 55320 ] {e2a8c918-e7a1-4852-887a-458b8e7089a5} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.46 MiB (attempt to allocate chunk of 1811776 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33028) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:39.616827 [ 55321 ] {6ae1dcd6-29bb-4012-ad08-c636e1ddbfe7} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 8.19 MiB (attempt to allocate chunk of 1814576 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33034) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:39.620653 [ 55320 ] {e2a8c918-e7a1-4852-887a-458b8e7089a5} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.46 MiB (attempt to allocate chunk of 1811776 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:39.621323 [ 55321 ] {6ae1dcd6-29bb-4012-ad08-c636e1ddbfe7} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 8.19 MiB (attempt to allocate chunk of 1814576 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:39.624522 [ 55319 ] {4674b93e-e6c6-4a5b-9e9a-c2566327aeed} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.89 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33024) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:84: CurrentMemoryTracker::check() @ 0x000000001387c8d9 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1823: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x000000001c00e557 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1615: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fc33 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 2024.12.17 01:52:39.629027 [ 55319 ] {4674b93e-e6c6-4a5b-9e9a-c2566327aeed} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.89 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:84: CurrentMemoryTracker::check() @ 0x000000001387c8d9 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1823: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x000000001c00e557 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1615: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fc33 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 2024.12.17 01:52:39.672525 [ 55322 ] {cd9d7d73-ddab-4b60-bf81-be0a2d9afe39} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.02 MiB (attempt to allocate chunk of 1354048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33048) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:39.678363 [ 55322 ] {cd9d7d73-ddab-4b60-bf81-be0a2d9afe39} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.02 MiB (attempt to allocate chunk of 1354048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:41.290472 [ 55319 ] {0f50c238-44dc-4632-9a21-4daf6095bbbe} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.46 MiB (attempt to allocate chunk of 1810256 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34274) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:41.295512 [ 55319 ] {0f50c238-44dc-4632-9a21-4daf6095bbbe} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.46 MiB (attempt to allocate chunk of 1810256 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:41.303719 [ 55318 ] {d2d9088d-2a4c-4315-9c7f-45ab84ec110c} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.81 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34266) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:84: CurrentMemoryTracker::check() @ 0x000000001387c8d9 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1823: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x000000001c00e557 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1615: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fc33 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 2024.12.17 01:52:41.310709 [ 55318 ] {d2d9088d-2a4c-4315-9c7f-45ab84ec110c} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.81 MiB (attempt to allocate chunk of 0 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:84: CurrentMemoryTracker::check() @ 0x000000001387c8d9 in /usr/bin/clickhouse 10. /build/src/Interpreters/Aggregator.cpp:1823: DB::Aggregator::checkLimits(unsigned long, bool&) const @ 0x000000001c00e557 in /usr/bin/clickhouse 11. /build/src/Interpreters/Aggregator.cpp:1615: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fc33 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 13. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 25. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 26. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 2024.12.17 01:52:41.371691 [ 55321 ] {110114f2-f02c-478d-82cf-120b5620882c} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.45 MiB (attempt to allocate chunk of 1811472 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34296) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:41.376640 [ 55321 ] {110114f2-f02c-478d-82cf-120b5620882c} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.45 MiB (attempt to allocate chunk of 1811472 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:41.384500 [ 55322 ] {47c108fd-0687-43f8-8d7d-d5395066b947} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.54 MiB (attempt to allocate chunk of 1813632 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34308) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:41.389362 [ 55322 ] {47c108fd-0687-43f8-8d7d-d5395066b947} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.54 MiB (attempt to allocate chunk of 1813632 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:41.397107 [ 55320 ] {1946847f-5269-484d-b4e6-51c9bc1a377f} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.94 MiB (attempt to allocate chunk of 1354048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34288) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:41.402167 [ 55320 ] {1946847f-5269-484d-b4e6-51c9bc1a377f} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.94 MiB (attempt to allocate chunk of 1354048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:41.402461 [ 8668 ] {cbeef794-2639-4a7f-8bb9-4a69fa012e26} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.70 MiB (attempt to allocate chunk of 1809648 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34322) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:41.406868 [ 8668 ] {cbeef794-2639-4a7f-8bb9-4a69fa012e26} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.70 MiB (attempt to allocate chunk of 1809648 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:41.573618 [ 55315 ] {7b2b9c89-5ec1-45c7-9ed4-fae1e0d1e23c} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.46 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34346) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:41.581349 [ 55316 ] {3aa28a1d-940a-48d8-8ec5-1c3c13470b99} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.54 MiB (attempt to allocate chunk of 1810864 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34348) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:41.582061 [ 55315 ] {7b2b9c89-5ec1-45c7-9ed4-fae1e0d1e23c} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.46 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:41.585816 [ 55316 ] {3aa28a1d-940a-48d8-8ec5-1c3c13470b99} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.54 MiB (attempt to allocate chunk of 1810864 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:41.610775 [ 55314 ] {5b5fef52-f1d6-4b56-b6c1-ecfd84b3ee22} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.96 MiB (attempt to allocate chunk of 1354048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34332) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:41.616646 [ 55314 ] {5b5fef52-f1d6-4b56-b6c1-ecfd84b3ee22} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.96 MiB (attempt to allocate chunk of 1354048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:41.681927 [ 55317 ] {cac3e034-152a-4d38-8ec7-0a9894424495} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.02 MiB (attempt to allocate chunk of 1354048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34358) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:41.687732 [ 55317 ] {cac3e034-152a-4d38-8ec7-0a9894424495} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.02 MiB (attempt to allocate chunk of 1354048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:43.220562 [ 55318 ] {ee03f784-0656-494f-887b-87711dd52723} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.02 MiB (attempt to allocate chunk of 1354048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34370) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:43.225232 [ 55318 ] {ee03f784-0656-494f-887b-87711dd52723} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.02 MiB (attempt to allocate chunk of 1354048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:43.291747 [ 55319 ] {a46b96ca-d366-467b-9bad-723e2baf8c41} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.81 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34376) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:43.294909 [ 55320 ] {ed341de3-ff4e-4b72-864f-6ae02a4d1d5c} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.46 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34382) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:43.297719 [ 55319 ] {a46b96ca-d366-467b-9bad-723e2baf8c41} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 4.81 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:43.300125 [ 55320 ] {ed341de3-ff4e-4b72-864f-6ae02a4d1d5c} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.46 MiB (attempt to allocate chunk of 3145728 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:43.342377 [ 55322 ] {d27e9a8a-4f6e-49ed-a0f9-7fa5fbad166d} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.46 MiB (attempt to allocate chunk of 1813968 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34396) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:43.345645 [ 55321 ] {8b21a76f-e568-4b7b-8145-28485db76c1c} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.05 MiB (attempt to allocate chunk of 1354048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34388) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:43.346833 [ 55322 ] {d27e9a8a-4f6e-49ed-a0f9-7fa5fbad166d} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.46 MiB (attempt to allocate chunk of 1813968 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:43.350477 [ 55321 ] {8b21a76f-e568-4b7b-8145-28485db76c1c} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.05 MiB (attempt to allocate chunk of 1354048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:43.454415 [ 8668 ] {f064fdbb-d9ce-4cb5-96af-d661de116b83} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.03 MiB (attempt to allocate chunk of 1354032 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34400) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:43.458836 [ 8668 ] {f064fdbb-d9ce-4cb5-96af-d661de116b83} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.03 MiB (attempt to allocate chunk of 1354032 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:43.509425 [ 55314 ] {75d57fed-a976-4a6d-9e4e-db390084f61d} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.02 MiB (attempt to allocate chunk of 1354048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34410) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:43.513225 [ 55315 ] {0f636f05-66dc-403d-b3fc-a1f97e863432} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.55 MiB (attempt to allocate chunk of 1811168 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34414) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:43.513307 [ 55316 ] {188cd182-ed9e-4dff-a0fe-1c568aa85699} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.82 MiB (attempt to allocate chunk of 1809952 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34416) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:43.514803 [ 55314 ] {75d57fed-a976-4a6d-9e4e-db390084f61d} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.02 MiB (attempt to allocate chunk of 1354048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:43.517571 [ 55315 ] {0f636f05-66dc-403d-b3fc-a1f97e863432} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 7.55 MiB (attempt to allocate chunk of 1811168 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:43.518948 [ 55316 ] {188cd182-ed9e-4dff-a0fe-1c568aa85699} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 5.82 MiB (attempt to allocate chunk of 1809952 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:169: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000001387b866 in /usr/bin/clickhouse 12. /build/src/Common/HashTable/HashTable.h:582: HashTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x000000001c19ceee in /usr/bin/clickhouse 13. /build/src/Common/HashTable/HashTable.h:989: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x000000001c22bca0 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:0: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c0d5b67 in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x000000001c01a745 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1593: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x000000001c01fa4d in /usr/bin/clickhouse 17. /build/src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001eb88a33 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:628: DB::AggregatingTransform::work() @ 0x000000001eb86359 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 2024.12.17 01:52:43.614624 [ 55317 ] {227e914f-0ca1-4253-97b9-d57b6ab92dd1} executeQuery: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.02 MiB (attempt to allocate chunk of 1354048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34426) (comment: 02294_overcommit_overflow.sh) (in query: SELECT number FROM numbers(130000) GROUP BY number SETTINGS max_memory_usage_for_user=5000000,memory_overcommit_ratio_denominator=2000000000000000000,memory_usage_overcommit_max_wait_microseconds=500), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:43.621709 [ 55317 ] {227e914f-0ca1-4253-97b9-d57b6ab92dd1} TCPHandler: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 6.02 MiB (attempt to allocate chunk of 1354048 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker.: While executing ConvertingAggregatedToChunksTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 10. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 11. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 12. /build/src/Common/PODArray.h:131: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::alloc<>(unsigned long) @ 0x000000000b1a3065 in /usr/bin/clickhouse 13. /build/src/Common/PODArray.h:157: void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::realloc<>(unsigned long) @ 0x000000000b1a2ef9 in /usr/bin/clickhouse 14. /build/src/Interpreters/Aggregator.cpp:2056: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const::'lambda'()::operator()() const @ 0x000000001c4ee12a in /usr/bin/clickhouse 15. /build/src/Interpreters/Aggregator.cpp:2059: std::conditional>>::type DB::Aggregator::convertToBlockImplFinal, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, false, false, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, unsigned long) const @ 0x000000001c4ed5a9 in /usr/bin/clickhouse 16. /build/src/Interpreters/Aggregator.cpp:1850: std::conditional>>::type DB::Aggregator::convertToBlockImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, DB::Arena*, std::vector, std::allocator>>&, bool, unsigned long) const @ 0x000000001c0c51f5 in /usr/bin/clickhouse 17. /build/src/Interpreters/Aggregator.cpp:2289: std::conditional>>::type DB::Aggregator::prepareBlockAndFillSingleLevel(DB::AggregatedDataVariants&, bool) const @ 0x000000001c0bf84e in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/AggregatingTransform.cpp:487: DB::ConvertingAggregatedToChunksTransform::mergeSingleLevel() @ 0x000000001eb91c90 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/AggregatingTransform.cpp:308: DB::ConvertingAggregatedToChunksTransform::work() @ 0x000000001eb8de0f in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 01:52:43.677693 [ 8668 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:34400). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000013cebd6c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000013ceafe0 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::TCPHandler::runImpl() @ 0x000000001e641041 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 15. ? @ 0x00007f3559e74ac3 in ? 16. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:52:43.678908 [ 55314 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:34410). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000013cebd6c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000013ceafe0 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::TCPHandler::runImpl() @ 0x000000001e641041 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 15. ? @ 0x00007f3559e74ac3 in ? 16. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:52:43.679416 [ 55316 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:34416). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000013cebd6c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000013ceafe0 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::TCPHandler::runImpl() @ 0x000000001e641041 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 15. ? @ 0x00007f3559e74ac3 in ? 16. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:52:43.679886 [ 55315 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:34414). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000013cebd6c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000013ceafe0 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::TCPHandler::runImpl() @ 0x000000001e641041 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 15. ? @ 0x00007f3559e74ac3 in ? 16. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:52:43.680387 [ 55317 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:34426). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000013cebd6c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000013ceafe0 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::TCPHandler::runImpl() @ 0x000000001e641041 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 15. ? @ 0x00007f3559e74ac3 in ? 16. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:53:13.984511 [ 55318 ] {a2584b1c-cd72-49e6-a086-6443a4dbab8d} executeQuery: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 29/25. Interval will end at 2069-12-31 08:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43662) (comment: 02247_written_bytes_quota.sh) (in query: INSERT INTO written_bytes_02247 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a2915 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a167b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a15e8 in /usr/bin/clickhouse 10. /build/src/Interpreters/AsynchronousInsertQueue.cpp:261: DB::AsynchronousInsertQueue::push(std::shared_ptr, std::shared_ptr) @ 0x000000001bd76772 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:948: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0ae07f in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:53:13.986637 [ 55318 ] {a2584b1c-cd72-49e6-a086-6443a4dbab8d} TCPHandler: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 29/25. Interval will end at 2069-12-31 08:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a2915 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a167b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a15e8 in /usr/bin/clickhouse 10. /build/src/Interpreters/AsynchronousInsertQueue.cpp:261: DB::AsynchronousInsertQueue::push(std::shared_ptr, std::shared_ptr) @ 0x000000001bd76772 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:948: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0ae07f in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:53:15.858327 [ 55318 ] {169e4c33-8e7c-4f52-b3ef-0b702d05ca08} executeQuery: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 29/25. Interval will end at 2069-12-31 08:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43666) (comment: 02247_written_bytes_quota.sh) (in query: INSERT INTO written_bytes_02247 VALUES ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:88: DB::EnabledQuota::Impl::checkExceeded(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, std::chrono::time_point>>) @ 0x000000001b0a2c9d in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:284: DB::EnabledQuota::checkExceeded(DB::QuotaType) const @ 0x000000001b0a1b46 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:68: DB::InterpreterInsertQuery::InterpreterInsertQuery(std::shared_ptr const&, std::shared_ptr, bool, bool, bool, bool) @ 0x000000001ca7d2ca in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, bool&>(std::shared_ptr&, std::shared_ptr&, bool&) @ 0x000000001ca5932f in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterFactory.cpp:172: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56ffa in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:53:15.859892 [ 55318 ] {169e4c33-8e7c-4f52-b3ef-0b702d05ca08} TCPHandler: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 29/25. Interval will end at 2069-12-31 08:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:88: DB::EnabledQuota::Impl::checkExceeded(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, std::chrono::time_point>>) @ 0x000000001b0a2c9d in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:284: DB::EnabledQuota::checkExceeded(DB::QuotaType) const @ 0x000000001b0a1b46 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:68: DB::InterpreterInsertQuery::InterpreterInsertQuery(std::shared_ptr const&, std::shared_ptr, bool, bool, bool, bool) @ 0x000000001ca7d2ca in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, bool&>(std::shared_ptr&, std::shared_ptr&, bool&) @ 0x000000001ca5932f in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterFactory.cpp:172: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56ffa in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:53:27.801558 [ 55318 ] {e5162a04-4aab-4416-9093-8097c28bd783} executeQuery: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 1630/1000. Interval will end at 2069-12-31 08:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44228) (comment: 02247_written_bytes_quota.sh) (in query: INSERT INTO written_bytes_02247 SELECT toString(number) FROM numbers(100)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a2915 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a167b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a15e8 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/CountingTransform.cpp:0: DB::CountingTransform::onConsume(DB::Chunk) @ 0x000000001eba2959 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cd6bd in /usr/bin/clickhouse 27. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6cd54a in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cd4f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cd4d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6cd43d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6cd347 in /usr/bin/clickhouse 2024.12.17 01:53:27.803639 [ 55318 ] {e5162a04-4aab-4416-9093-8097c28bd783} TCPHandler: Code: 201. DB::Exception: Quota for user `u02247` for 3155695200s has been exceeded: written_bytes = 1630/1000. Interval will end at 2069-12-31 08:00:00. Name of quota template: `q02247`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x000000001a507a76 in /usr/bin/clickhouse 6. /build/src/Access/EnabledQuota.cpp:32: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x000000001b0a42cd in /usr/bin/clickhouse 7. /build/src/Access/EnabledQuota.cpp:65: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x000000001b0a2915 in /usr/bin/clickhouse 8. /build/src/Access/EnabledQuota.cpp:242: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x000000001b0a167b in /usr/bin/clickhouse 9. /build/src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x000000001b0a15e8 in /usr/bin/clickhouse 10. /build/src/Processors/Transforms/CountingTransform.cpp:0: DB::CountingTransform::onConsume(DB::Chunk) @ 0x000000001eba2959 in /usr/bin/clickhouse 11. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 18. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:389: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001e6cf631 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:110: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cec36 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:49: DB::threadFunction(DB::CompletedPipelineExecutor::Data&, std::shared_ptr, unsigned long, bool) @ 0x000000001e6cd6bd in /usr/bin/clickhouse 27. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:90: DB::CompletedPipelineExecutor::execute()::$_0::operator()() const @ 0x000000001e6cd54a in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::CompletedPipelineExecutor::execute()::$_0&) @ 0x000000001e6cd4f5 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001e6cd4d9 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]&>(DB::CompletedPipelineExecutor::execute()::$_0&, std::tuple<>&) @ 0x000000001e6cd43d in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'()::operator()() @ 0x000000001e6cd347 in /usr/bin/clickhouse 2024.12.17 01:59:22.812079 [ 55318 ] {8f3524b7-b6e9-4aad-b17f-6cb39af1e5e4} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38474). (NETWORK_ERROR) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38474) (comment: 02232_dist_insert_send_logs_level_hung.sh) (in query: insert into function remote('127.2', currentDatabase(), in_02232) select * from numbers(1e6)), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000013ced8e8 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000013cecf04 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b2026cd in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1136: DB::TCPHandler::sendProfileEvents() @ 0x000000001e64e699 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1146: DB::TCPHandler::sendSelectProfileEvents() @ 0x000000001e64a594 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:558: DB::TCPHandler::runImpl() @ 0x000000001e642582 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:59:22.923775 [ 55864 ] {01be0e3f-9a6c-42fd-8988-63251120ef3d} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35390) (comment: 02232_dist_insert_send_logs_level_hung.sh) (in query: INSERT INTO test_8pkkc48l.in_02232 (key) VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b3b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:160: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d006a in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x000000001e6fa2ab in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:112: DB::PushingPipelineExecutor::push(DB::Block) @ 0x000000001e6fa399 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:862: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64beec in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:59:22.923934 [ 55318 ] {8f3524b7-b6e9-4aad-b17f-6cb39af1e5e4} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38474). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000013ced8e8 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000013cecf04 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b2026cd in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:2073: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001e6546d5 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2150: DB::TCPHandler::sendLogs() @ 0x000000001e64ad7f in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:672: DB::TCPHandler::runImpl() @ 0x000000001e643377 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 01:59:22.924553 [ 55318 ] {8f3524b7-b6e9-4aad-b17f-6cb39af1e5e4} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:38474). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000013ced8e8 in /usr/bin/clickhouse 6. /build/src/IO/WriteBufferFromPocoSocket.cpp:107: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x0000000013cecf04 in /usr/bin/clickhouse 7. /build/src/IO/WriteBuffer.h:48: DB::WriteBuffer::next() @ 0x000000000b2026cd in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:1136: DB::TCPHandler::sendProfileEvents() @ 0x000000001e64e699 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:1146: DB::TCPHandler::sendSelectProfileEvents() @ 0x000000001e64a594 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:558: DB::TCPHandler::runImpl() @ 0x000000001e642582 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:59:22.925244 [ 55318 ] {8f3524b7-b6e9-4aad-b17f-6cb39af1e5e4} TCPHandler: Client has gone away. 2024.12.17 01:59:22.925301 [ 55864 ] {01be0e3f-9a6c-42fd-8988-63251120ef3d} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b3b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:160: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6d006a in /usr/bin/clickhouse 10. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x000000001e6fa2ab in /usr/bin/clickhouse 11. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:112: DB::PushingPipelineExecutor::push(DB::Block) @ 0x000000001e6fa399 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:862: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64beec in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:59:23.003474 [ 55864 ] {} TCPHandler: Code: 101. DB::NetException: Unexpected packet Data received from client. (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:14: DB::NetException::NetException(int, char const (&) [44]) @ 0x000000001e659c1e in /usr/bin/clickhouse 6. /build/src/Server/TCPHandler.cpp:1848: DB::TCPHandler::receiveUnexpectedData(bool) @ 0x000000001e6525c2 in /usr/bin/clickhouse 7. /build/src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000001e64972f in /usr/bin/clickhouse 8. /build/src/Server/TCPHandler.cpp:348: DB::TCPHandler::runImpl() @ 0x000000001e6418c1 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 15. ? @ 0x00007f3559e74ac3 in ? 16. ? @ 0x00007f3559f05a04 in ? 2024.12.17 01:59:23.004015 [ 55864 ] {} TCPHandler: Client has gone away. 2024.12.17 01:59:35.248852 [ 55318 ] {f81b4fdc-973c-4369-9549-f1c43d13581e} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 300.18 MiB (attempt to allocate chunk of 1140032 bytes), maximum: 300.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53600) (comment: 02228_merge_tree_insert_memory_usage.sql) (in query: insert into data_02228 select number, 1, number from numbers_mt(100e3) settings max_memory_usage='300Mi', max_partitions_per_insert_block=1024, max_insert_delayed_streams_for_parallel_write=10000000;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/Compression/CompressedWriteBuffer.cpp:66: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x000000001b7d3654 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: DB::MergeTreeDataPartWriterCompact::CompressedStream::CompressedStream(DB::WriteBuffer&, std::shared_ptr const&) @ 0x000000001df80d6c in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeTreeDataPartWriterCompact::CompressedStream* std::construct_at[abi:v15000]&, DB::MergeTreeDataPartWriterCompact::CompressedStream*>(DB::MergeTreeDataPartWriterCompact::CompressedStream*, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000001df80d0a in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, void, void>(std::allocator&, DB::MergeTreeDataPartWriterCompact::CompressedStream*, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000001df80ac9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&>(std::allocator, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000001df807cf in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000001df80642 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, void>(DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000001df7e60e in /usr/bin/clickhouse 21. /build/src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:82: auto DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001df78f9f in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&)::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001df78c5d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001df78c1d in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001df78bdd in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001df78ba8 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 30. /build/src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:87: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000001df769a0 in /usr/bin/clickhouse 31. /build/src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:56: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000001df765f3 in /usr/bin/clickhouse 2024.12.17 01:59:35.250563 [ 55318 ] {f81b4fdc-973c-4369-9549-f1c43d13581e} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 300.18 MiB (attempt to allocate chunk of 1140032 bytes), maximum: 300.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/Compression/CompressedWriteBuffer.cpp:66: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x000000001b7d3654 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: DB::MergeTreeDataPartWriterCompact::CompressedStream::CompressedStream(DB::WriteBuffer&, std::shared_ptr const&) @ 0x000000001df80d6c in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeTreeDataPartWriterCompact::CompressedStream* std::construct_at[abi:v15000]&, DB::MergeTreeDataPartWriterCompact::CompressedStream*>(DB::MergeTreeDataPartWriterCompact::CompressedStream*, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000001df80d0a in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, void, void>(std::allocator&, DB::MergeTreeDataPartWriterCompact::CompressedStream*, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000001df80ac9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&>(std::allocator, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000001df807cf in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000001df80642 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, void>(DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000001df7e60e in /usr/bin/clickhouse 21. /build/src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:82: auto DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001df78f9f in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&)::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001df78c5d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001df78c1d in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001df78bdd in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001df78ba8 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 30. /build/src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:87: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000001df769a0 in /usr/bin/clickhouse 31. /build/src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:56: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000001df765f3 in /usr/bin/clickhouse 2024.12.17 01:59:53.481010 [ 55318 ] {0e1050b3-7d3b-4da4-8163-fcc32b8daeb9} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 300.20 MiB (attempt to allocate chunk of 1140032 bytes), maximum: 300.00 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53600) (comment: 02228_merge_tree_insert_memory_usage.sql) (in query: insert into data_rep_02228 select number, 1, number from numbers_mt(100e3) settings max_memory_usage='300Mi', max_partitions_per_insert_block=1024, max_insert_delayed_streams_for_parallel_write=10000000;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/Compression/CompressedWriteBuffer.cpp:66: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x000000001b7d3654 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: DB::MergeTreeDataPartWriterCompact::CompressedStream::CompressedStream(DB::WriteBuffer&, std::shared_ptr const&) @ 0x000000001df80d6c in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeTreeDataPartWriterCompact::CompressedStream* std::construct_at[abi:v15000]&, DB::MergeTreeDataPartWriterCompact::CompressedStream*>(DB::MergeTreeDataPartWriterCompact::CompressedStream*, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000001df80d0a in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, void, void>(std::allocator&, DB::MergeTreeDataPartWriterCompact::CompressedStream*, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000001df80ac9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&>(std::allocator, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000001df807cf in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000001df80642 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, void>(DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000001df7e60e in /usr/bin/clickhouse 21. /build/src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:82: auto DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001df78f9f in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&)::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001df78c5d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001df78c1d in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001df78bdd in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001df78ba8 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 30. /build/src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:87: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000001df769a0 in /usr/bin/clickhouse 31. /build/src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:56: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000001df765f3 in /usr/bin/clickhouse 2024.12.17 01:59:53.483522 [ 55318 ] {0e1050b3-7d3b-4da4-8163-fcc32b8daeb9} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 300.20 MiB (attempt to allocate chunk of 1140032 bytes), maximum: 300.00 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x00000000138fb87d in /usr/bin/clickhouse 6. /build/src/Common/MemoryTracker.cpp:340: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138f9d50 in /usr/bin/clickhouse 7. /build/src/Common/MemoryTracker.cpp:398: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x00000000138fa0a2 in /usr/bin/clickhouse 8. /build/src/Common/CurrentMemoryTracker.cpp:58: CurrentMemoryTracker::allocImpl(long, bool) @ 0x000000001387c71b in /usr/bin/clickhouse 9. /build/src/Common/CurrentMemoryTracker.cpp:90: CurrentMemoryTracker::alloc(long) @ 0x000000001387c921 in /usr/bin/clickhouse 10. /build/src/Common/Allocator.h:102: Allocator::alloc(unsigned long, unsigned long) @ 0x0000000013875c8e in /usr/bin/clickhouse 11. /build/src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x0000000013975bcc in /usr/bin/clickhouse 12. /build/src/IO/BufferWithOwnMemory.h:50: DB::Memory>::Memory(unsigned long, unsigned long) @ 0x0000000013975a00 in /usr/bin/clickhouse 13. /build/src/IO/BufferWithOwnMemory.h:157: DB::BufferWithOwnMemory::BufferWithOwnMemory(unsigned long, char*, unsigned long) @ 0x000000001399a9f5 in /usr/bin/clickhouse 14. /build/src/Compression/CompressedWriteBuffer.cpp:66: DB::CompressedWriteBuffer::CompressedWriteBuffer(DB::WriteBuffer&, std::shared_ptr, unsigned long) @ 0x000000001b7d3654 in /usr/bin/clickhouse 15. /build/src/Storages/MergeTree/MergeTreeDataPartWriterCompact.h:75: DB::MergeTreeDataPartWriterCompact::CompressedStream::CompressedStream(DB::WriteBuffer&, std::shared_ptr const&) @ 0x000000001df80d6c in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeTreeDataPartWriterCompact::CompressedStream* std::construct_at[abi:v15000]&, DB::MergeTreeDataPartWriterCompact::CompressedStream*>(DB::MergeTreeDataPartWriterCompact::CompressedStream*, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000001df80d0a in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, void, void>(std::allocator&, DB::MergeTreeDataPartWriterCompact::CompressedStream*, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000001df80ac9 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&>(std::allocator, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000001df807cf in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::HashingWriteBuffer&, std::shared_ptr&, void>(std::allocator const&, DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000001df80642 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, void>(DB::HashingWriteBuffer&, std::shared_ptr&) @ 0x000000001df7e60e in /usr/bin/clickhouse 21. /build/src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:82: auto DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001df78f9f in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval const&)::$_0&>()(std::declval())) std::__invoke[abi:v15000] const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001df78c5d in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call const&)::$_0&, DB::ISerialization::SubstreamPath const&>(DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&)::$_0&, DB::ISerialization::SubstreamPath const&) @ 0x000000001df78c1d in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) @ 0x000000001df78bdd in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl const&)::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001df78ba8 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000](DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba2171e in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()(DB::ISerialization::SubstreamPath const&) const @ 0x000000001ba1fabd in /usr/bin/clickhouse 28. /build/src/DataTypes/Serializations/ISerialization.cpp:83: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x000000001ba1d536 in /usr/bin/clickhouse 29. /build/src/DataTypes/Serializations/ISerialization.cpp:93: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x000000001ba1d6bc in /usr/bin/clickhouse 30. /build/src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:87: DB::MergeTreeDataPartWriterCompact::addStreams(DB::NameAndTypePair const&, std::shared_ptr const&) @ 0x000000001df769a0 in /usr/bin/clickhouse 31. /build/src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp:56: DB::MergeTreeDataPartWriterCompact::MergeTreeDataPartWriterCompact(std::shared_ptr const&, DB::NamesAndTypesList const&, std::shared_ptr const&, std::vector, std::allocator>> const&, String const&, std::shared_ptr const&, DB::MergeTreeWriterSettings const&, DB::MergeTreeIndexGranularity const&) @ 0x000000001df765f3 in /usr/bin/clickhouse 2024.12.17 02:00:03.043271 [ 55318 ] {b7387a47-bdea-4322-a27f-36f2076ac03c} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34818) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:00:03.044076 [ 55318 ] {b7387a47-bdea-4322-a27f-36f2076ac03c} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:00:11.969053 [ 55318 ] {80101634-aecc-4d0e-a8a0-a09ae49d5f01} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/data.jsonl doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42828) (comment: 02222_create_table_without_columns_metadata.sh) (in query: select * from test), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:00:11.970962 [ 55318 ] {80101634-aecc-4d0e-a8a0-a09ae49d5f01} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/data.jsonl doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:00:21.990913 [ 55318 ] {0f33ba58-4cf0-4ce2-8c78-3271eab761fb} executeQuery: Code: 60. DB::Exception: Table test_mccnq8r8.test does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53812) (comment: 02222_create_table_without_columns_metadata.sh) (in query: select * from test_dist), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:97: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001ee2d328 in /usr/bin/clickhouse 13. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_1::operator()() const @ 0x000000001d67f722 in /usr/bin/clickhouse 14. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:180: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001d67ea76 in /usr/bin/clickhouse 15. /build/src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001d6867c0 in /usr/bin/clickhouse 16. /build/src/Storages/StorageDistributed.cpp:802: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6583d3 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 02:00:21.992609 [ 55318 ] {0f33ba58-4cf0-4ce2-8c78-3271eab761fb} TCPHandler: Code: 60. DB::Exception: Table test_mccnq8r8.test does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:97: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001ee2d328 in /usr/bin/clickhouse 13. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_1::operator()() const @ 0x000000001d67f722 in /usr/bin/clickhouse 14. /build/src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:180: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001d67ea76 in /usr/bin/clickhouse 15. /build/src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001d6867c0 in /usr/bin/clickhouse 16. /build/src/Storages/StorageDistributed.cpp:802: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d6583d3 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 02:00:58.950442 [ 55318 ] {e0106c46-4622-40de-a64c-185a7974e75a} executeQuery: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38502) (comment: 02168_avro_bug.sql) (in query: insert into table function file('data.avro', 'Parquet', 'x UInt64') select * from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1804: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d6a0f44 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:00:58.951219 [ 55318 ] {e0106c46-4622-40de-a64c-185a7974e75a} TCPHandler: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1804: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d6a0f44 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:00:58.962636 [ 55318 ] {dc901b0a-afb8-4607-ad65-d769cae3c3c3} executeQuery: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38502) (comment: 02168_avro_bug.sql) (in query: insert into table function file('data.avro', 'Parquet', 'x UInt64') select * from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1804: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d6a0f44 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:00:58.963257 [ 55318 ] {dc901b0a-afb8-4607-ad65-d769cae3c3c3} TCPHandler: Code: 641. DB::Exception: Cannot append data in format Parquet to file, because this format doesn't support appends. You can allow to create a new file on each insert by enabling setting engine_file_allow_create_multiple_files. (CANNOT_APPEND_TO_FILE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1804: DB::StorageFile::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001d6a0f44 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001ece001a in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterInsertQuery.cpp:291: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x000000001ca7efa0 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:534: DB::InterpreterInsertQuery::execute() @ 0x000000001ca815bb in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:02:23.155893 [ 55318 ] {9d8e2f88-a83e-4ed9-a07a-80cfce012b12} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39036) (comment: 02167_format_from_file_extension.sh) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:02:23.157639 [ 55318 ] {9d8e2f88-a83e-4ed9-a07a-80cfce012b12} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:03:40.094875 [ 55318 ] {70c091ac-1aaa-40c7-b774-214b28363d9d} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:49912) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:03:40.095754 [ 55318 ] {70c091ac-1aaa-40c7-b774-214b28363d9d} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:04:06.396246 [ 55318 ] {bdd5d6e0-879e-4a8f-a37a-2db99d80a993} executeQuery: Code: 33. DB::ParsingException: Error while parsing Nullable: got an unquoted string n instead of a number: Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing CustomSeparatedRowInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/test_02130.data): (at row 1) . (CANNOT_READ_ALL_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46034) (comment: 02130_parse_quoted_null.sh) (in query: select * from file('test_02130.data', 'CustomSeparated', 'x Nullable(Float64), y Nullable(UInt64)') settings input_format_parallel_parsing=0, format_custom_escaping_rule='Quoted'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000139b2cd3 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationNullable.cpp:455: void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba67a32 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationNullable.cpp:209: void DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'()&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)&, (void*)0>(DB::IColumn&, DB::ISerialization const&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'()&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)&) @ 0x000000001ba621c6 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:461: void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba63e55 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:395: DB::SerializationNullable::deserializeTextQuoted(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba612d1 in /usr/bin/clickhouse 10. /build/src/Formats/EscapingRuleUtils.cpp:121: DB::deserializeFieldByEscapingRule(std::shared_ptr const&, std::shared_ptr const&, DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings::EscapingRule, DB::FormatSettings const&) @ 0x000000001e7d86b9 in /usr/bin/clickhouse 11. /build/src/Processors/Formats/Impl/CustomSeparatedRowInputFormat.cpp:292: DB::CustomSeparatedFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e88caa9 in /usr/bin/clickhouse 12. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 14. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 21. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 22. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 2024.12.17 02:04:06.400601 [ 55318 ] {bdd5d6e0-879e-4a8f-a37a-2db99d80a993} TCPHandler: Code: 33. DB::ParsingException: Error while parsing Nullable: got an unquoted string n instead of a number: Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing CustomSeparatedRowInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/test_02130.data): (at row 1) . (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&&) @ 0x00000000139b2cd3 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/SerializationNullable.cpp:455: void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba67a32 in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationNullable.cpp:209: void DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'()&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)&, (void*)0>(DB::IColumn&, DB::ISerialization const&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'()&, void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda1'(DB::IColumn&)&) @ 0x000000001ba621c6 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:461: void DB::SerializationNullable::deserializeTextQuotedImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba63e55 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:395: DB::SerializationNullable::deserializeTextQuoted(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba612d1 in /usr/bin/clickhouse 10. /build/src/Formats/EscapingRuleUtils.cpp:121: DB::deserializeFieldByEscapingRule(std::shared_ptr const&, std::shared_ptr const&, DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings::EscapingRule, DB::FormatSettings const&) @ 0x000000001e7d86b9 in /usr/bin/clickhouse 11. /build/src/Processors/Formats/Impl/CustomSeparatedRowInputFormat.cpp:292: DB::CustomSeparatedFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e88caa9 in /usr/bin/clickhouse 12. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 14. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 21. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 22. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 24. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 2024.12.17 02:04:12.236935 [ 55318 ] {4c2b6ec6-883e-464c-bf39-44a4a0c32f0b} executeQuery: Code: 47. DB::Exception: Missing columns: 'x' while processing query: 'SELECT x', required columns: 'x'. (UNKNOWN_IDENTIFIER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55596) (comment: 02126_identity_user_defined_function.sql) (in query: SELECT 02126_function();), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:04:12.237935 [ 55318 ] {4c2b6ec6-883e-464c-bf39-44a4a0c32f0b} TCPHandler: Code: 47. DB::Exception: Missing columns: 'x' while processing query: 'SELECT x', required columns: 'x'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Interpreters/TreeRewriter.cpp:1138: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x000000001cf9af59 in /usr/bin/clickhouse 7. /build/src/Interpreters/TreeRewriter.cpp:1258: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9c450 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 18. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 20. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 25. ? @ 0x00007f3559e74ac3 in ? 26. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:04:14.120894 [ 55318 ] {3fb32438-4d58-43a8-a06b-b331d1ed897a} executeQuery: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55602) (comment: 02125_recursive_sql_user_defined_functions.sql) (in query: SELECT 02125_function(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:133: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9c073 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:187: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9c836 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:112: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9bc4e in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9bd4c in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9bd4c in /usr/bin/clickhouse 11. /build/src/Interpreters/TreeRewriter.cpp:1363: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9d7b6 in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9bd47 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:04:14.121896 [ 55318 ] {3fb32438-4d58-43a8-a06b-b331d1ed897a} TCPHandler: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:133: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9c073 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:187: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9c836 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:112: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9bc4e in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9bd4c in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9bd4c in /usr/bin/clickhouse 11. /build/src/Interpreters/TreeRewriter.cpp:1363: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9d7b6 in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9bd47 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 21. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:04:14.306743 [ 55318 ] {e1bac33c-884f-4667-952d-ce78b279920c} executeQuery: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function_1. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55602) (comment: 02125_recursive_sql_user_defined_functions.sql) (in query: SELECT 02125_function_1(1);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:133: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9c073 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:187: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9c836 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:187: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9c836 in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:112: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9bc4e in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9bd4c in /usr/bin/clickhouse 11. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9bd4c in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1363: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9d7b6 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9bd47 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 02:04:14.307594 [ 55318 ] {e1bac33c-884f-4667-952d-ce78b279920c} TCPHandler: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function_1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:133: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9c073 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:187: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9c836 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:187: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9c836 in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:112: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9bc4e in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9bd4c in /usr/bin/clickhouse 11. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9bd4c in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1363: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9d7b6 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9bd47 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 02:04:14.314895 [ 55318 ] {1e3deed5-a345-41bb-80f5-dd88da364e21} executeQuery: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function_2. (UNSUPPORTED_METHOD) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55602) (comment: 02125_recursive_sql_user_defined_functions.sql) (in query: SELECT 02125_function_2(2);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:133: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9c073 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:187: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9c836 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:187: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9c836 in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:112: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9bc4e in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9bd4c in /usr/bin/clickhouse 11. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9bd4c in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1363: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9d7b6 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9bd47 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 02:04:14.315818 [ 55318 ] {1e3deed5-a345-41bb-80f5-dd88da364e21} TCPHandler: Code: 1. DB::Exception: Recursive function call detected during function call 02125_function_2. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:133: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9c073 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:187: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9c836 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:187: DB::UserDefinedSQLFunctionVisitor::tryToReplaceFunction(DB::ASTFunction const&, std::unordered_set, std::equal_to, std::allocator>&) @ 0x000000001ef9c836 in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:112: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9bc4e in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9bd4c in /usr/bin/clickhouse 11. /build/src/Functions/UserDefined/UserDefinedSQLFunctionVisitor.cpp:117: DB::UserDefinedSQLFunctionVisitor::visit(std::shared_ptr&) @ 0x000000001ef9bd4c in /usr/bin/clickhouse 12. /build/src/Interpreters/TreeRewriter.cpp:1363: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001cf9d7b6 in /usr/bin/clickhouse 13. /build/src/Interpreters/TreeRewriter.cpp:1212: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001cf9bd47 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaca0f in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 22. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 31. ? @ 0x00007f3559e74ac3 in ? 2024.12.17 02:04:17.831495 [ 55318 ] {967ac833-2d5e-4cea-bc96-d25433060abb} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55612) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:04:17.832296 [ 55318 ] {967ac833-2d5e-4cea-bc96-d25433060abb} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:04:19.571047 [ 55318 ] {c50b942c-92ac-458c-8591-ff1a38ad9845} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Array value '[1,2,3]': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55616) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Array(UInt32)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationArray.cpp:500: DB::SerializationArray::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba2d0d4 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b19dfd7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 2024.12.17 02:04:19.573986 [ 55318 ] {c50b942c-92ac-458c-8591-ff1a38ad9845} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Array value '[1,2,3]': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationArray.cpp:500: DB::SerializationArray::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba2d0d4 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b19dfd7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 2024.12.17 02:04:21.604059 [ 55318 ] {6da49bf4-fbcc-4964-9b46-758c532997d8} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Date value '1970-01-02': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46096) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Date')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDate.cpp:23: DB::SerializationDate::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba346b3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 2024.12.17 02:04:21.607012 [ 55318 ] {6da49bf4-fbcc-4964-9b46-758c532997d8} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Date value '1970-01-02': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDate.cpp:23: DB::SerializationDate::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba346b3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 2024.12.17 02:04:23.617684 [ 55318 ] {41eddeff-c545-4e4d-ae55-f8d24e8db62e} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Date32 value '1970-01-02': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46104) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Date32')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDate32.cpp:21: DB::SerializationDate32::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba34eb3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 2024.12.17 02:04:23.621292 [ 55318 ] {41eddeff-c545-4e4d-ae55-f8d24e8db62e} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Date32 value '1970-01-02': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDate32.cpp:21: DB::SerializationDate32::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba34eb3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 2024.12.17 02:04:25.465946 [ 55318 ] {5b104b2f-a348-488e-a8c8-273cca6133c9} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed DateTime value '1970-01-01 03:00:01': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46118) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x DateTime')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDateTime.cpp:70: DB::SerializationDateTime::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba35ad3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 2024.12.17 02:04:25.468819 [ 55318 ] {5b104b2f-a348-488e-a8c8-273cca6133c9} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed DateTime value '1970-01-01 03:00:01': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDateTime.cpp:70: DB::SerializationDateTime::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba35ad3 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 2024.12.17 02:04:27.416116 [ 55318 ] {1d2ba6e1-d25d-4935-a779-345a2af03e12} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed DateTime64 value '1970-01-01 03:00:01.0000': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46134) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x DateTime64(4)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDateTime64.cpp:55: DB::SerializationDateTime64::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba37133 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 2024.12.17 02:04:27.419101 [ 55318 ] {1d2ba6e1-d25d-4935-a779-345a2af03e12} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed DateTime64 value '1970-01-01 03:00:01.0000': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDateTime64.cpp:55: DB::SerializationDateTime64::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001ba37133 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 2024.12.17 02:04:29.379506 [ 55318 ] {8842bda3-25ab-44a6-98b6-7b5a98f00e37} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Number value '42': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46142) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x UInt32')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationNumber.cpp:37: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba6e682 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b19dfd7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 2024.12.17 02:04:29.383341 [ 55318 ] {8842bda3-25ab-44a6-98b6-7b5a98f00e37} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Number value '42': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationNumber.cpp:37: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba6e682 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b19dfd7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 2024.12.17 02:04:31.453136 [ 55318 ] {b0316f35-1bc9-4122-b6be-917fc433c4ea} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Decimal value '42.4242': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47130) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Decimal32(4)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:61: DB::SerializationDecimal>::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba39529 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b19dfd7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 2024.12.17 02:04:31.456344 [ 55318 ] {b0316f35-1bc9-4122-b6be-917fc433c4ea} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Decimal value '42.4242': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationDecimal.cpp:61: DB::SerializationDecimal>::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba39529 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b19dfd7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 2024.12.17 02:04:33.507588 [ 55318 ] {146adcaa-92d6-452d-9413-4a202048f913} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed IPv4 value '0.0.0.0': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47134) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x IPv4')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:26: DB::SerializationIP::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000000b5de576 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b19dfd7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 2024.12.17 02:04:33.511268 [ 55318 ] {146adcaa-92d6-452d-9413-4a202048f913} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed IPv4 value '0.0.0.0': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:26: DB::SerializationIP::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000000b5de576 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b19dfd7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 2024.12.17 02:04:35.543362 [ 55318 ] {9d6318e7-3a31-48e4-afe4-b8fe68bc8d77} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'trash\n': Row 1: Column 0, name: x, type: IPv4, parsed text: "255.255.255.255" ERROR: garbage after IPv4: "trash" : While executing TabSeparatedRowInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47142) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'TSV', 'x IPv4')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001398b733 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x000000001397ebaa in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:201: DB::assertChar(char, DB::ReadBuffer&) @ 0x000000000b5df7e0 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:102: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x000000001eb3521d in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:256: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8cc9 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 18. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 19. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 20. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 2024.12.17 02:04:35.546600 [ 55318 ] {9d6318e7-3a31-48e4-afe4-b8fe68bc8d77} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'trash\n': Row 1: Column 0, name: x, type: IPv4, parsed text: "255.255.255.255" ERROR: garbage after IPv4: "trash" : While executing TabSeparatedRowInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001398b733 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x000000001397ebaa in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:201: DB::assertChar(char, DB::ReadBuffer&) @ 0x000000000b5df7e0 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:102: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x000000001eb3521d in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:256: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8cc9 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 18. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 19. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 20. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 2024.12.17 02:04:37.595897 [ 55318 ] {c3040fea-dea8-422a-b2d7-a34ff5c0def3} executeQuery: Code: 117. DB::Exception: Expected end of line: (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing CSVRowInputFormat: While executing File. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47148) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'CSV', 'x IPv4')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [21]) @ 0x000000001388917e in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:202: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x000000001e81d4df in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:263: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x000000001e81d269 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:256: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8cc9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 17. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 19. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 02:04:37.599085 [ 55318 ] {c3040fea-dea8-422a-b2d7-a34ff5c0def3} TCPHandler: Code: 117. DB::Exception: Expected end of line: (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing CSVRowInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [21]) @ 0x000000001388917e in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:202: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x000000001e81d4df in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:263: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x000000001e81d269 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:256: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8cc9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 17. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 19. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 02:04:39.632982 [ 55318 ] {8afff784-175b-475c-b4a3-ec3d38d4cf0f} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash"] ' after parsed IPv4 value '0.0.0.0': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47164) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactEachRow', 'x IPv4')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:67: DB::SerializationIP::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b5de422 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:650: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6afbc in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(), bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&), (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&&) @ 0x000000001ba5f8f2 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:648: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba635dd in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:298: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e59b in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 2024.12.17 02:04:39.635973 [ 55318 ] {8afff784-175b-475c-b4a3-ec3d38d4cf0f} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash"] ' after parsed IPv4 value '0.0.0.0': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:67: DB::SerializationIP::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b5de422 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:650: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6afbc in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(), bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&), (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&&) @ 0x000000001ba5f8f2 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:648: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba635dd in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:298: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e59b in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 2024.12.17 02:04:41.671476 [ 55318 ] {b13ee5cd-d5bd-4853-80ca-0939b9908e4b} executeQuery: Code: 632. DB::Exception: Unexpected data 'b1trash' after parsed IPv6 value '::': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47962) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x IPv6')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:26: DB::SerializationIP::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000000b60924d in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b19dfd7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 2024.12.17 02:04:41.674428 [ 55318 ] {b13ee5cd-d5bd-4853-80ca-0939b9908e4b} TCPHandler: Code: 632. DB::Exception: Unexpected data 'b1trash' after parsed IPv6 value '::': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:26: DB::SerializationIP::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000000b60924d in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b19dfd7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 2024.12.17 02:04:43.568646 [ 55318 ] {7a7a5700-daf9-419a-b5de-9769299cecd7} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'b1trash\n': Row 1: Column 0, name: x, type: IPv6, parsed text: "0000:0000:0000:0000:0000:ffff:192.168.100.228" ERROR: garbage after IPv6: "b1trash" : While executing TabSeparatedRowInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47964) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'TSV', 'x IPv6')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001398b733 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x000000001397ebaa in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:201: DB::assertChar(char, DB::ReadBuffer&) @ 0x000000000b5df7e0 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:102: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x000000001eb3521d in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:256: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8cc9 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 18. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 19. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 20. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 2024.12.17 02:04:43.572308 [ 55318 ] {7a7a5700-daf9-419a-b5de-9769299cecd7} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '\n' before: 'b1trash\n': Row 1: Column 0, name: x, type: IPv6, parsed text: "0000:0000:0000:0000:0000:ffff:192.168.100.228" ERROR: garbage after IPv6: "b1trash" : While executing TabSeparatedRowInputFormat: While executing File: (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:196: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001398b733 in /usr/bin/clickhouse 6. /build/src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x000000001397ebaa in /usr/bin/clickhouse 7. /build/src/IO/ReadHelpers.h:201: DB::assertChar(char, DB::ReadBuffer&) @ 0x000000000b5df7e0 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp:102: DB::TabSeparatedFormatReader::skipRowEndDelimiter() @ 0x000000001eb3521d in /usr/bin/clickhouse 9. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:256: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8cc9 in /usr/bin/clickhouse 10. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 12. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 18. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 19. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 20. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 2024.12.17 02:04:45.445471 [ 55318 ] {b956d476-92ec-4579-962b-6139351900e4} executeQuery: Code: 117. DB::Exception: Expected end of line: (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing CSVRowInputFormat: While executing File. (INCORRECT_DATA) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47976) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'CSV', 'x IPv6')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [21]) @ 0x000000001388917e in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:202: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x000000001e81d4df in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:263: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x000000001e81d269 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:256: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8cc9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 17. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 19. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 02:04:45.448403 [ 55318 ] {b956d476-92ec-4579-962b-6139351900e4} TCPHandler: Code: 117. DB::Exception: Expected end of line: (in file/uri /var/lib/clickhouse/user_files/data_02118): (at row 1) : Could not print diagnostic info because two last rows aren't in buffer (rare case) : While executing CSVRowInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [21]) @ 0x000000001388917e in /usr/bin/clickhouse 6. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:202: DB::skipEndOfLine(DB::ReadBuffer&) @ 0x000000001e81d4df in /usr/bin/clickhouse 7. /build/src/Processors/Formats/Impl/CSVRowInputFormat.cpp:263: DB::CSVFormatReader::skipRowEndDelimiter() @ 0x000000001e81d269 in /usr/bin/clickhouse 8. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:256: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8cc9 in /usr/bin/clickhouse 9. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 10. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 11. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 17. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 19. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001e6d1435 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001e6d1400 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 2024.12.17 02:04:47.514299 [ 55318 ] {c3891c21-0d8b-4dce-976c-a1df2368cdd8} executeQuery: Code: 632. DB::Exception: Unexpected data 'b1trash"] ' after parsed IPv6 value '::': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47992) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactEachRow', 'x IPv6')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:67: DB::SerializationIP::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b6090e8 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:650: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6afbc in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(), bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&), (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&&) @ 0x000000001ba5f8f2 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:648: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba635dd in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:298: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e59b in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 2024.12.17 02:04:47.517450 [ 55318 ] {c3891c21-0d8b-4dce-976c-a1df2368cdd8} TCPHandler: Code: 632. DB::Exception: Unexpected data 'b1trash"] ' after parsed IPv6 value '::': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationIPv4andIPv6.h:67: DB::SerializationIP::deserializeTextJSON(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b6090e8 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationNullable.cpp:650: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6afbc in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(), bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&), (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&&, bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&&) @ 0x000000001ba5f8f2 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:648: bool DB::SerializationNullable::deserializeTextJSONImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba635dd in /usr/bin/clickhouse 11. /build/src/Formats/JSONUtils.cpp:298: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e59b in /usr/bin/clickhouse 12. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 13. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 15. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 22. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 23. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 25. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1455 in /usr/bin/clickhouse 2024.12.17 02:04:49.591659 [ 55318 ] {402b3296-d547-4347-bd13-01590284ba62} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Map value '{1:2,2:3}': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47998) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Map(UInt32, UInt32)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationMap.cpp:199: DB::SerializationMap::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba5bb3c in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b19dfd7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 2024.12.17 02:04:49.594856 [ 55318 ] {402b3296-d547-4347-bd13-01590284ba62} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Map value '{1:2,2:3}': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationMap.cpp:199: DB::SerializationMap::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba5bb3c in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b19dfd7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 2024.12.17 02:04:51.660408 [ 55318 ] {1f927f0e-4cbd-4d1a-9eeb-35e1e4590ddf} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Tuple value '(1,2)': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48074) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x Tuple(UInt32, UInt32)')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationTuple.cpp:153: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const::$_0::operator()() const @ 0x000000001ba9e1ab in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationTuple.cpp:73: void DB::addElementSafe(unsigned long, DB::IColumn&, DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const::$_0&&) @ 0x000000001ba9c1d1 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationTuple.cpp:155: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba9c190 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b19dfd7 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 12. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 13. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 14. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 16. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 17. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 19. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 25. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 26. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 27. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 2024.12.17 02:04:51.663667 [ 55318 ] {1f927f0e-4cbd-4d1a-9eeb-35e1e4590ddf} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed Tuple value '(1,2)': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationTuple.cpp:153: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const::$_0::operator()() const @ 0x000000001ba9e1ab in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SerializationTuple.cpp:73: void DB::addElementSafe(unsigned long, DB::IColumn&, DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const::$_0&&) @ 0x000000001ba9c1d1 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationTuple.cpp:155: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001ba9c190 in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b19dfd7 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 12. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 13. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 14. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 15. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 16. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 17. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 18. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 19. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 20. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 25. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 26. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 27. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 28. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 31. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 2024.12.17 02:04:53.730757 [ 55318 ] {dc049e7e-d1ef-4b46-b629-ec8a59870a1d} executeQuery: Code: 632. DB::Exception: Unexpected data 'trash' after parsed UUID value 'ed9fd45d-6287-47c1-ad9f-d45d628767c1': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48080) (comment: 02118_deserialize_whole_text.sh) (in query: SELECT * FROM file('data_02118', 'JSONCompactStringsEachRow', 'x UUID')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationUUID.cpp:27: DB::SerializationUUID::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001baa4ef7 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b19dfd7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 2024.12.17 02:04:53.733989 [ 55318 ] {dc049e7e-d1ef-4b46-b629-ec8a59870a1d} TCPHandler: Code: 632. DB::Exception: Unexpected data 'trash' after parsed UUID value 'ed9fd45d-6287-47c1-ad9f-d45d628767c1': (while reading the value of key x): While executing JSONCompactEachRowRowInputFormat: While executing File. (UNEXPECTED_DATA_AFTER_PARSED_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&) @ 0x000000001ba20188 in /usr/bin/clickhouse 6. /build/src/DataTypes/Serializations/ISerialization.cpp:314: DB::ISerialization::throwUnexpectedDataAfterParsedValue(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, String const&) const @ 0x000000001ba1eedb in /usr/bin/clickhouse 7. /build/src/DataTypes/Serializations/SerializationUUID.cpp:27: DB::SerializationUUID::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x000000001baa4ef7 in /usr/bin/clickhouse 8. /build/src/DataTypes/Serializations/SimpleTextSerialization.h:37: DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000000b19dfd7 in /usr/bin/clickhouse 9. /build/src/DataTypes/Serializations/SerializationNullable.cpp:493: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)::operator()(DB::IColumn&) const @ 0x000000001ba6911c in /usr/bin/clickhouse 10. /build/src/DataTypes/Serializations/SerializationNullable.cpp:230: bool DB::safeDeserialize(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&, (bool*)0>(DB::IColumn&, DB::ISerialization const&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'()&, bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&)::'lambda'(DB::IColumn&)&) @ 0x000000001ba5f572 in /usr/bin/clickhouse 11. /build/src/DataTypes/Serializations/SerializationNullable.cpp:497: bool DB::SerializationNullable::deserializeWholeTextImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x000000001ba62cb3 in /usr/bin/clickhouse 12. /build/src/Formats/JSONUtils.cpp:291: DB::JSONUtils::readField(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, String const&, DB::FormatSettings const&, bool) @ 0x000000001e89e43e in /usr/bin/clickhouse 13. /build/src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:130: DB::JSONCompactEachRowFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001e8b16c9 in /usr/bin/clickhouse 14. /build/src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001e7e8b78 in /usr/bin/clickhouse 15. /build/src/Processors/Formats/IRowInputFormat.cpp:140: DB::IRowInputFormat::generate() @ 0x000000001e7a7259 in /usr/bin/clickhouse 16. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 17. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 18. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 21. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 23. /build/src/Storages/StorageFile.cpp:1308: DB::StorageFileSource::generate() @ 0x000000001d6afcfa in /usr/bin/clickhouse 24. /build/src/Processors/ISource.cpp:125: DB::ISource::tryGenerate() @ 0x000000001e6b3890 in /usr/bin/clickhouse 25. /build/src/Processors/ISource.cpp:94: DB::ISource::work() @ 0x000000001e6b358b in /usr/bin/clickhouse 26. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 27. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 28. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 29. /build/src/Processors/Executors/PipelineExecutor.cpp:217: DB::PipelineExecutor::executeSingleThread(unsigned long) @ 0x000000001e6d07d7 in /usr/bin/clickhouse 30. /build/src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::spawnThreads()::$_0::operator()() const @ 0x000000001e6d1518 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::PipelineExecutor::spawnThreads()::$_0&) @ 0x000000001e6d1475 in /usr/bin/clickhouse 2024.12.17 02:04:57.149183 [ 55318 ] {67881a86-5555-4ac4-9cab-b37f86ccb46b} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48094) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:04:57.150044 [ 55318 ] {67881a86-5555-4ac4-9cab-b37f86ccb46b} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:05:49.607305 [ 55318 ] {ee8c44d8-a7da-43f2-b0ad-341f6b4440db} executeQuery: Code: 46. DB::Exception: User-defined function '02101_test_function' doesn't exist. (UNKNOWN_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36416) (comment: 02101_sql_user_defined_functions_drop_if_exists.sql) (in query: DROP FUNCTION 02101_test_function;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:167: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x000000001ef96549 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:47: DB::InterpreterDropFunctionQuery::execute() @ 0x000000001ca79f38 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:05:49.607971 [ 55318 ] {ee8c44d8-a7da-43f2-b0ad-341f6b4440db} TCPHandler: Code: 46. DB::Exception: User-defined function '02101_test_function' doesn't exist. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:167: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x000000001ef96549 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:47: DB::InterpreterDropFunctionQuery::execute() @ 0x000000001ca79f38 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:06:07.823952 [ 55318 ] {2b748f5a-8a36-42d6-8189-f62efb818438} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38624) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:06:07.825075 [ 55318 ] {2b748f5a-8a36-42d6-8189-f62efb818438} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:08:00.280821 [ 55318 ] {4dbe0253-0e6e-463f-88c8-885c72eeda5e} executeQuery: Code: 59. DB::Exception: Illegal type Int8 of column n for filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50324) (comment: 01902_table_function_merge_db_repr.sql) (in query: SELECT NULL FROM 01902_db.t_merge WHERE n ORDER BY _table DESC;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/FilterTransform.cpp:48: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x000000001ebcb45b in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/FilterStep.cpp:43: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x000000001ee4cd45 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, String, bool&>(DB::DataStream const&, std::shared_ptr const&, String&&, bool&) @ 0x000000001cac8df3 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2532: DB::InterpreterSelectQuery::executeWhere(DB::QueryPlan&, std::shared_ptr const&, bool) @ 0x000000001cabbd15 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1683: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab440d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:08:00.281895 [ 55318 ] {4dbe0253-0e6e-463f-88c8-885c72eeda5e} TCPHandler: Code: 59. DB::Exception: Illegal type Int8 of column n for filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/FilterTransform.cpp:48: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x000000001ebcb45b in /usr/bin/clickhouse 7. /build/src/Processors/QueryPlan/FilterStep.cpp:43: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x000000001ee4cd45 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, String, bool&>(DB::DataStream const&, std::shared_ptr const&, String&&, bool&) @ 0x000000001cac8df3 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:2532: DB::InterpreterSelectQuery::executeWhere(DB::QueryPlan&, std::shared_ptr const&, bool) @ 0x000000001cabbd15 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:1683: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab440d in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 15. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 17. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 19. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 22. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 23. ? @ 0x00007f3559e74ac3 in ? 24. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:08:09.019274 [ 58203 ] {e24f68e4-60c9-4bec-9fd9-789ffb6c3685} executeQuery: Code: 611. DB::Exception: You cannot create recursive function. (CANNOT_CREATE_RECURSIVE_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34436) (comment: 01856_create_function.sql) (in query: CREATE FUNCTION 01856_test_function_1 AS (a, b) -> 01856_test_function_1(a, b) + 01856_test_function_1(a, b);), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c576f7e in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:39: DB::(anonymous namespace)::validateFunctionRecursiveness(DB::IAST const&, String const&) @ 0x000000001ef97a4e in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:41: DB::(anonymous namespace)::validateFunctionRecursiveness(DB::IAST const&, String const&) @ 0x000000001ef97ab4 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:81: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001ef9598e in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef95340 in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef95c62 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca796aa in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:08:09.020455 [ 58203 ] {e24f68e4-60c9-4bec-9fd9-789ffb6c3685} TCPHandler: Code: 611. DB::Exception: You cannot create recursive function. (CANNOT_CREATE_RECURSIVE_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [37]) @ 0x000000000c576f7e in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:39: DB::(anonymous namespace)::validateFunctionRecursiveness(DB::IAST const&, String const&) @ 0x000000001ef97a4e in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:41: DB::(anonymous namespace)::validateFunctionRecursiveness(DB::IAST const&, String const&) @ 0x000000001ef97ab4 in /usr/bin/clickhouse 8. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:81: DB::(anonymous namespace)::validateFunction(std::shared_ptr, String const&) @ 0x000000001ef9598e in /usr/bin/clickhouse 9. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:114: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef95340 in /usr/bin/clickhouse 10. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef95c62 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca796aa in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:08:09.127909 [ 58203 ] {d191c7a5-50d6-49e4-94eb-a8ffc840e5aa} executeQuery: Code: 609. DB::Exception: The function 'cast' already exists. (FUNCTION_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34436) (comment: 01856_create_function.sql) (in query: CREATE FUNCTION cast AS a -> a + 1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:105: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef9512f in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef95c62 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca796aa in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:08:09.128625 [ 58203 ] {d191c7a5-50d6-49e4-94eb-a8ffc840e5aa} TCPHandler: Code: 609. DB::Exception: The function 'cast' already exists. (FUNCTION_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:105: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef9512f in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef95c62 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca796aa in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:08:09.217426 [ 58203 ] {4c869147-e95c-4ab5-b388-c1f81fd4a9f1} executeQuery: Code: 609. DB::Exception: The aggregate function 'sum' already exists. (FUNCTION_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34436) (comment: 01856_create_function.sql) (in query: CREATE FUNCTION sum AS (a, b) -> a + b;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:108: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef951e7 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef95c62 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca796aa in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:08:09.218141 [ 58203 ] {4c869147-e95c-4ab5-b388-c1f81fd4a9f1} TCPHandler: Code: 609. DB::Exception: The aggregate function 'sum' already exists. (FUNCTION_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:108: DB::UserDefinedSQLFunctionFactory::checkCanBeRegistered(std::shared_ptr const&, String const&, DB::IAST const&) @ 0x000000001ef951e7 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:128: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef95c62 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca796aa in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:08:09.326557 [ 58203 ] {d5b53327-f8d6-47b5-a9da-3f0382b0b677} executeQuery: Code: 609. DB::Exception: User-defined function '01856_test_function_2' already exists. (FUNCTION_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34436) (comment: 01856_create_function.sql) (in query: CREATE FUNCTION 01856_test_function_2 AS (a) -> a || '!!!';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:136: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef95ded in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca796aa in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:08:09.327571 [ 58203 ] {d5b53327-f8d6-47b5-a9da-3f0382b0b677} TCPHandler: Code: 609. DB::Exception: User-defined function '01856_test_function_2' already exists. (FUNCTION_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:136: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001ef95ded in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateFunctionQuery.cpp:51: DB::InterpreterCreateFunctionQuery::execute() @ 0x000000001ca796aa in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:08:09.337296 [ 58203 ] {f681d9da-44e8-4d88-8f02-ec54d092f1aa} executeQuery: Code: 46. DB::Exception: User-defined function 'unknown_function' doesn't exist. (UNKNOWN_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34436) (comment: 01856_create_function.sql) (in query: DROP FUNCTION unknown_function;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:167: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x000000001ef96549 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:47: DB::InterpreterDropFunctionQuery::execute() @ 0x000000001ca79f38 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:08:09.337809 [ 58203 ] {f681d9da-44e8-4d88-8f02-ec54d092f1aa} TCPHandler: Code: 46. DB::Exception: User-defined function 'unknown_function' doesn't exist. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:167: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x000000001ef96549 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:47: DB::InterpreterDropFunctionQuery::execute() @ 0x000000001ca79f38 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:08:09.428564 [ 58203 ] {2f6a380b-d585-4954-ba23-30e7400c5fa8} executeQuery: Code: 610. DB::Exception: Cannot drop system function 'CAST'. (CANNOT_DROP_FUNCTION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:34436) (comment: 01856_create_function.sql) (in query: DROP FUNCTION CAST;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:120: DB::UserDefinedSQLFunctionFactory::checkCanBeUnregistered(std::shared_ptr const&, String const&) @ 0x000000001ef95aa4 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:160: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x000000001ef96425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:47: DB::InterpreterDropFunctionQuery::execute() @ 0x000000001ca79f38 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:08:09.429391 [ 58203 ] {2f6a380b-d585-4954-ba23-30e7400c5fa8} TCPHandler: Code: 610. DB::Exception: Cannot drop system function 'CAST'. (CANNOT_DROP_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:120: DB::UserDefinedSQLFunctionFactory::checkCanBeUnregistered(std::shared_ptr const&, String const&) @ 0x000000001ef95aa4 in /usr/bin/clickhouse 7. /build/src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:160: DB::UserDefinedSQLFunctionFactory::unregisterFunction(std::shared_ptr const&, String const&, bool) @ 0x000000001ef96425 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropFunctionQuery.cpp:47: DB::InterpreterDropFunctionQuery::execute() @ 0x000000001ca79f38 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:08:42.488812 [ 58203 ] {2fcbf0b9-2073-44d4-b781-41d67182148a} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35784) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:08:42.489466 [ 58203 ] {2fcbf0b9-2073-44d4-b781-41d67182148a} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:10:29.841920 [ 58203 ] {8554d61d-70a6-46e7-81dc-ae5d7f1e65ea} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/db_01530_atomic/db_01530_atomic/data/replicas/test already exists. (REPLICA_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:41636) (comment: 01530_drop_database_atomic_sync.sql) (in query: CREATE TABLE db_01530_atomic.data (`key` Int) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/db_01530_atomic/data', 'test') ORDER BY key SETTINGS index_granularity = 9956, min_bytes_for_wide_part = 26056533, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 18811, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9361784614, index_granularity_bytes = 20588527, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 62930, primary_key_compress_block_size = 43020), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:933: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001d8035d2 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:529: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001d7fbe45 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageReplicatedMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, DB::StorageReplicatedMergeTree*>(DB::StorageReplicatedMergeTree*, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001e35c720 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void, void>(std::allocator&, DB::StorageReplicatedMergeTree*, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001e35c3d1 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&>(std::allocator, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001e35c012 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001e35bdc0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001e35af7c in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:692: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e3591f0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 20. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 2024.12.17 02:10:29.842966 [ 58203 ] {8554d61d-70a6-46e7-81dc-ae5d7f1e65ea} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/db_01530_atomic/db_01530_atomic/data/replicas/test already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:933: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001d8035d2 in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:529: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001d7fbe45 in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageReplicatedMergeTree* std::construct_at[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, DB::StorageReplicatedMergeTree*>(DB::StorageReplicatedMergeTree*, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001e35c720 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void, void>(std::allocator&, DB::StorageReplicatedMergeTree*, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001e35c3d1 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&>(std::allocator, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001e35c012 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001e35bdc0 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000]&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001e35af7c in /usr/bin/clickhouse 13. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:692: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e3591f0 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 20. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 25. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 29. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 2024.12.17 02:10:54.354177 [ 16804 ] {3e2b8057-6f25-452e-ab22-795b79b57004} DistributedSink: Structure does not match (remote: n Int8 Int8(size = 0), local: n UInt64 UInt64(size = 1)), implicit conversion will be done. 2024.12.17 02:12:37.349812 [ 58203 ] {6d32d413-00e2-40a6-a47a-e8aadeed1618} executeQuery: Code: 60. DB::Exception: Could not find table: table_for_freeze. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44386) (comment: 01417_freeze_partition_verbose.sh) (in query: ALTER TABLE table_for_freeze UNFREEZE PARTITION '7' WITH NAME 'test_01417_single_part_7_system'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:111: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d3719 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:12:37.351439 [ 58203 ] {6d32d413-00e2-40a6-a47a-e8aadeed1618} TCPHandler: Code: 60. DB::Exception: Could not find table: table_for_freeze. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:111: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d3719 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:12:44.924699 [ 58203 ] {dd7b9069-e678-4262-b12e-ee3c3a7e62c6} executeQuery: Code: 36. DB::Exception: Cannot DROP or CLEAR all columns. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37428) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000b21731e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1387: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d590b39 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:12:44.925573 [ 58203 ] {dd7b9069-e678-4262-b12e-ee3c3a7e62c6} TCPHandler: Code: 36. DB::Exception: Cannot DROP or CLEAR all columns. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [33]) @ 0x000000000b21731e in /usr/bin/clickhouse 6. /build/src/Storages/AlterCommands.cpp:1387: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001d590b39 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:194: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d05 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:12:45.107080 [ 58203 ] {8ef35392-6735-434c-adcc-8d9c93045bb4} executeQuery: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37428) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN x IN PARTITION '';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x000000000b8fc22c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5545: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001de91ee1 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3223: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8e842 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:12:45.107831 [ 58203 ] {8ef35392-6735-434c-adcc-8d9c93045bb4} TCPHandler: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x000000000b8fc22c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5545: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001de91ee1 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3223: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8e842 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:12:45.116190 [ 58203 ] {f99b2ab3-4014-46d3-86c5-ca8c88fe0dc2} executeQuery: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37428) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN x IN PARTITION 'asdasd';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x000000000b8fc22c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5545: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001de91ee1 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3223: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8e842 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:12:45.116754 [ 58203 ] {f99b2ab3-4014-46d3-86c5-ca8c88fe0dc2} TCPHandler: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x000000000b8fc22c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5545: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001de91ee1 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3223: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8e842 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:12:45.123989 [ 58203 ] {407622d7-8eb0-48a5-a3b5-05e217697ba7} executeQuery: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37428) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN x IN PARTITION '123';), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x000000000b8fc22c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5545: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001de91ee1 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3223: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8e842 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:12:45.124533 [ 58203 ] {407622d7-8eb0-48a5-a3b5-05e217697ba7} TCPHandler: Code: 248. DB::Exception: Wrong number of fields in the partition expression: 1, must be: 0. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long const&, unsigned long&) @ 0x000000000b8fc22c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:5545: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001de91ee1 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:3223: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de8e842 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:12:45.217995 [ 58203 ] {0b97be1f-7a33-4f47-9034-562a641f9ddf} executeQuery: Code: 36. DB::Exception: Cannot drop or clear column 'y', because all columns in part 'all_1_1_0_2' will be removed from disk. Empty parts are not allowed. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37428) (comment: 01388_clear_all_columns.sql) (in query: ALTER TABLE test CLEAR COLUMN y;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String const&) @ 0x000000001def13c8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3489: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de918ed in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:12:45.218712 [ 58203 ] {0b97be1f-7a33-4f47-9034-562a641f9ddf} TCPHandler: Code: 36. DB::Exception: Cannot drop or clear column 'y', because all columns in part 'all_1_1_0_2' will be removed from disk. Empty parts are not allowed. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String const&) @ 0x000000001def13c8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3489: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de918ed in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:12:45.242731 [ 58203 ] {724ec406-c435-4398-b0ca-3aa076b59753} executeQuery: Code: 36. DB::Exception: Cannot drop or clear column 'y', because all columns in part 'all_1_1_0_2' will be removed from disk. Empty parts are not allowed. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:37428) (comment: 01388_clear_all_columns.sql) (in query: -- y is only real column in table ALTER TABLE test CLEAR COLUMN y;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String const&) @ 0x000000001def13c8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3489: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de918ed in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:12:45.243283 [ 58203 ] {724ec406-c435-4398-b0ca-3aa076b59753} TCPHandler: Code: 36. DB::Exception: Cannot drop or clear column 'y', because all columns in part 'all_1_1_0_2' will be removed from disk. Empty parts are not allowed. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String const&) @ 0x000000001def13c8 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3489: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de918ed in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:13:16.186186 [ 58203 ] {d9095bd6-83fb-4121-b529-a2c8c62402c9} executeQuery: Code: 60. DB::Exception: Table test_01320.r does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59394) (comment: 01320_create_sync_race_condition_zookeeper.sh) (in query: SYSTEM SYNC REPLICA test_01320.r), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:999: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x000000001cbe3c82 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSystemQuery.cpp:583: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdb585 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:13:16.187796 [ 58203 ] {d9095bd6-83fb-4121-b529-a2c8c62402c9} TCPHandler: Code: 60. DB::Exception: Table test_01320.r does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSystemQuery.cpp:999: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x000000001cbe3c82 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSystemQuery.cpp:583: DB::InterpreterSystemQuery::execute() @ 0x000000001cbdb585 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:13:55.136915 [ 58203 ] {3fe006c3-9cd9-4f8d-b155-ebc030036df8} executeQuery: Code: 180. DB::Exception: There is no settings profile `s2_01294` in user directories. (THERE_IS_NO_PROFILE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56192) (comment: 01294_create_settings_profile.sql) (in query: SHOW CREATE SETTINGS PROFILE s2_01294;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f40d9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:76: ? @ 0x000000001b0f4013 in /usr/bin/clickhouse 8. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:331: DB::InterpreterShowCreateAccessEntityQuery::getEntities() const @ 0x000000001d18ac63 in /usr/bin/clickhouse 9. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:341: DB::InterpreterShowCreateAccessEntityQuery::getCreateQueries() const @ 0x000000001d189e18 in /usr/bin/clickhouse 10. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:253: DB::InterpreterShowCreateAccessEntityQuery::executeImpl() @ 0x000000001d18965b in /usr/bin/clickhouse 11. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:245: DB::InterpreterShowCreateAccessEntityQuery::execute() @ 0x000000001d18958b in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:13:55.137632 [ 58203 ] {3fe006c3-9cd9-4f8d-b155-ebc030036df8} TCPHandler: Code: 180. DB::Exception: There is no settings profile `s2_01294` in user directories. (THERE_IS_NO_PROFILE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f40d9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:76: ? @ 0x000000001b0f4013 in /usr/bin/clickhouse 8. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:331: DB::InterpreterShowCreateAccessEntityQuery::getEntities() const @ 0x000000001d18ac63 in /usr/bin/clickhouse 9. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:341: DB::InterpreterShowCreateAccessEntityQuery::getCreateQueries() const @ 0x000000001d189e18 in /usr/bin/clickhouse 10. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:253: DB::InterpreterShowCreateAccessEntityQuery::executeImpl() @ 0x000000001d18965b in /usr/bin/clickhouse 11. /build/src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:245: DB::InterpreterShowCreateAccessEntityQuery::execute() @ 0x000000001d18958b in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:14:09.889812 [ 58203 ] {78b3b3a5-8635-4278-9629-acdd8aa7af8c} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57878) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:14:09.890889 [ 58203 ] {78b3b3a5-8635-4278-9629-acdd8aa7af8c} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d69fa0b in /usr/bin/clickhouse 7. /build/src/Storages/IStorage.cpp:144: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001d5eac81 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterSelectQuery.cpp:2486: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x000000001caba4af in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001cab247e in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:868: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cab15dd in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:303: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001cbcb5d4 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:377: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001cbcc120 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 14. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 16. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:14:13.517333 [ 58203 ] {88dc3d02-e691-46c3-b91d-1db89d7689ec} executeQuery: Code: 43. DB::Exception: Third argument of function dictHas must be tuple when dictionary is complex and key contains more than 1 attribute.Actual type String.: While processing dictHas('01280_db.ssd_dict', 'a', tuple('1')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55830) (comment: 01280_ssd_complex_key_dictionary.sh) (in query: SELECT dictHas('01280_db.ssd_dict', 'a', tuple('1'));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsExternalDictionaries.h:266: DB::FunctionDictHas::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc68328 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 02:14:13.518332 [ 58203 ] {88dc3d02-e691-46c3-b91d-1db89d7689ec} TCPHandler: Code: 43. DB::Exception: Third argument of function dictHas must be tuple when dictionary is complex and key contains more than 1 attribute.Actual type String.: While processing dictHas('01280_db.ssd_dict', 'a', tuple('1')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Functions/FunctionsExternalDictionaries.h:266: DB::FunctionDictHas::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc68328 in /usr/bin/clickhouse 7. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 8. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 10. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 2024.12.17 02:14:17.442543 [ 58203 ] {698e5408-8a31-41ef-80a7-fed5516239f0} executeQuery: Code: 53. DB::Exception: Dictionary `01280_db`.ssd_dict key lookup structure does not match, expected (String, Int32): While processing dictGetUInt64('01280_db.ssd_dict', 'a', tuple(toInt32(3))). (TYPE_MISMATCH) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55842) (comment: 01280_ssd_complex_key_dictionary.sh) (in query: SELECT dictGetUInt64('01280_db.ssd_dict', 'a', tuple(toInt32(3)));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Dictionaries/IDictionary.h:146: DB::IDictionary::convertKeyColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, std::vector, std::allocator>>&) const @ 0x0000000017d03b29 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsExternalDictionaries.h:564: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc58f85 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:744: DB::FunctionDictGetImpl, DB::NameDictGetUInt64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc72e2b in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 02:14:17.443739 [ 58203 ] {698e5408-8a31-41ef-80a7-fed5516239f0} TCPHandler: Code: 53. DB::Exception: Dictionary `01280_db`.ssd_dict key lookup structure does not match, expected (String, Int32): While processing dictGetUInt64('01280_db.ssd_dict', 'a', tuple(toInt32(3))). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Dictionaries/IDictionary.h:146: DB::IDictionary::convertKeyColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&, std::vector, std::allocator>>&) const @ 0x0000000017d03b29 in /usr/bin/clickhouse 7. /build/src/Functions/FunctionsExternalDictionaries.h:564: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc58f85 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:744: DB::FunctionDictGetImpl, DB::NameDictGetUInt64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc72e2b in /usr/bin/clickhouse 9. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 25. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 26. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 29. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 2024.12.17 02:14:23.861595 [ 16174 ] {4bbfca92-223f-4eb9-8c99-3b0f0a86c858} ExternalDictionariesLoader: Could not load external dictionary '8172fd51-66a8-42b6-9b71-1196d437f026', next update is scheduled at 2024-12-17 02:14:28: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x000000001b8a0a28 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a0507 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a0679 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001ebdd3fc in /usr/bin/clickhouse 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001e6f5901 in /usr/bin/clickhouse 17. /build/src/Dictionaries/FlatDictionary.cpp:438: DB::FlatDictionary::loadData() @ 0x0000000017d40c7a in /usr/bin/clickhouse 18. /build/src/Dictionaries/FlatDictionary.cpp:45: DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x0000000017d4097e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::FlatDictionary::Configuration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::FlatDictionary::Configuration&) @ 0x0000000017d8f982 in /usr/bin/clickhouse 20. /build/src/Dictionaries/FlatDictionary.cpp:683: DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000017d6778a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017d6737b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017d67296 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017d67216 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x0000000017d671a2 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x000000001abd45c2 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000001abd195b in /usr/bin/clickhouse 27. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000001abd0df3 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001c531589 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExternalLoader.cpp:1524: DB::ExternalLoader::createObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001c5347e7 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExternalLoader.cpp:1288: auto DB::ExternalLoader::ExternalLoader(String const&, Poco::Logger*)::$_0::operator() const&>(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001c537530 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::ExternalLoader::ExternalLoader(String const&, Poco::Logger*)::$_0&, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001c5374cd in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:14:23.863875 [ 58203 ] {4bbfca92-223f-4eb9-8c99-3b0f0a86c858} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: While processing dictGetUInt64('ordinary_db.dict1', 'second_column', toUInt64(100500)). (TOO_MANY_ROWS_OR_BYTES) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55904) (comment: 01259_dictionary_custom_settings_ddl.sql) (in query: SELECT dictGetUInt64('ordinary_db.dict1', 'second_column', toUInt64(100500));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x000000001b8a0a28 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a0507 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a0679 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001ebdd3fc in /usr/bin/clickhouse 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001e6f5901 in /usr/bin/clickhouse 17. /build/src/Dictionaries/FlatDictionary.cpp:438: DB::FlatDictionary::loadData() @ 0x0000000017d40c7a in /usr/bin/clickhouse 18. /build/src/Dictionaries/FlatDictionary.cpp:45: DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x0000000017d4097e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::FlatDictionary::Configuration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::FlatDictionary::Configuration&) @ 0x0000000017d8f982 in /usr/bin/clickhouse 20. /build/src/Dictionaries/FlatDictionary.cpp:683: DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000017d6778a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017d6737b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017d67296 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017d67216 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x0000000017d671a2 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x000000001abd45c2 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000001abd195b in /usr/bin/clickhouse 27. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000001abd0df3 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001c531589 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExternalLoader.cpp:1524: DB::ExternalLoader::createObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001c5347e7 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExternalLoader.cpp:1288: auto DB::ExternalLoader::ExternalLoader(String const&, Poco::Logger*)::$_0::operator() const&>(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001c537530 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::ExternalLoader::ExternalLoader(String const&, Poco::Logger*)::$_0&, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001c5374cd in /usr/bin/clickhouse 2024.12.17 02:14:23.864943 [ 58203 ] {4bbfca92-223f-4eb9-8c99-3b0f0a86c858} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: While processing dictGetUInt64('ordinary_db.dict1', 'second_column', toUInt64(100500)). (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x000000001b8a0a28 in /usr/bin/clickhouse 6. /build/src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x000000001b8a0507 in /usr/bin/clickhouse 7. /build/src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001b8a0679 in /usr/bin/clickhouse 8. /build/src/Processors/Transforms/LimitsCheckingTransform.cpp:46: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001ebdd3fc in /usr/bin/clickhouse 9. /build/src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x0000000017bef322 in /usr/bin/clickhouse 10. /build/src/Processors/ISimpleTransform.cpp:89: DB::ISimpleTransform::work() @ 0x000000001e6b0752 in /usr/bin/clickhouse 11. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 12. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 13. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 14. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 15. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001e6f585e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001e6f5901 in /usr/bin/clickhouse 17. /build/src/Dictionaries/FlatDictionary.cpp:438: DB::FlatDictionary::loadData() @ 0x0000000017d40c7a in /usr/bin/clickhouse 18. /build/src/Dictionaries/FlatDictionary.cpp:45: DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x0000000017d4097e in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000], DB::FlatDictionary::Configuration&>(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr&&, DB::FlatDictionary::Configuration&) @ 0x0000000017d8f982 in /usr/bin/clickhouse 20. /build/src/Dictionaries/FlatDictionary.cpp:683: DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_0::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x0000000017d6778a in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval(), std::declval(), std::declval>(), std::declval>(), std::declval())) std::__invoke[abi:v15000], std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017d6737b in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::unique_ptr> std::__invoke_void_return_wrapper>, false>::__call, std::shared_ptr, bool>(DB::registerDictionaryFlat(DB::DictionaryFactory&)::$_0&, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017d67296 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) @ 0x0000000017d67216 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x0000000017d671a2 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()[abi:v15000](String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool&&) const @ 0x000000001abd45c2 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool) const @ 0x000000001abd195b in /usr/bin/clickhouse 27. /build/src/Dictionaries/DictionaryFactory.cpp:58: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x000000001abd0df3 in /usr/bin/clickhouse 28. /build/src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x000000001c531589 in /usr/bin/clickhouse 29. /build/src/Interpreters/ExternalLoader.cpp:1524: DB::ExternalLoader::createObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001c5347e7 in /usr/bin/clickhouse 30. /build/src/Interpreters/ExternalLoader.cpp:1288: auto DB::ExternalLoader::ExternalLoader(String const&, Poco::Logger*)::$_0::operator() const&>(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) const @ 0x000000001c537530 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval(), std::declval(), std::declval const&>())) std::__invoke[abi:v15000] const&>(DB::ExternalLoader::ExternalLoader(String const&, Poco::Logger*)::$_0&, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001c5374cd in /usr/bin/clickhouse 2024.12.17 02:14:28.536151 [ 58203 ] {fae18cb3-f0d6-4aa0-b028-ac35154a88a6} executeQuery: Code: 520. DB::Exception: Cannot drop/detach dictionary dict_db_01225.dict as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:55926) (comment: 01225_drop_dictionary_as_table.sql) (in query: DROP TABLE dict_db_01225.dict;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDictionary.cpp:151: DB::StorageDictionary::checkTableCanBeDropped(std::shared_ptr) const @ 0x000000001d64a4aa in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropQuery.cpp:231: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b5392 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b3694 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b2f0e in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:14:28.537371 [ 58203 ] {fae18cb3-f0d6-4aa0-b028-ac35154a88a6} TCPHandler: Code: 520. DB::Exception: Cannot drop/detach dictionary dict_db_01225.dict as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageDictionary.cpp:151: DB::StorageDictionary::checkTableCanBeDropped(std::shared_ptr) const @ 0x000000001d64a4aa in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropQuery.cpp:231: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b5392 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b3694 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b2f0e in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:14:51.494770 [ 72095 ] {6f70deb8-5768-4417-86e2-a3e1aeb7581e} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 3, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38640) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (3, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:14:51.497326 [ 72095 ] {6f70deb8-5768-4417-86e2-a3e1aeb7581e} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 3, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:14:53.588654 [ 21991 ] {756bb35d-77d4-4150-8408-4e6d86b385eb} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 4, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38704) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (4, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:14:53.591327 [ 21991 ] {756bb35d-77d4-4150-8408-4e6d86b385eb} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 4, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:14:55.558864 [ 72968 ] {7ed602eb-ab33-4425-ac30-49294db55ba4} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 5: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38772) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (5, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:14:55.561421 [ 72968 ] {7ed602eb-ab33-4425-ac30-49294db55ba4} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 5: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:14:59.593317 [ 72969 ] {40791ea6-0e33-4688-9a98-fbb5e93ce31d} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 7, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:38888) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (7, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:14:59.595953 [ 72969 ] {40791ea6-0e33-4688-9a98-fbb5e93ce31d} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 7, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:01.595014 [ 58203 ] {edf9604b-e88a-4deb-89f1-103a6c6365e6} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 8, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59070) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (8, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:01.598263 [ 58203 ] {edf9604b-e88a-4deb-89f1-103a6c6365e6} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 8, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:03.598433 [ 72967 ] {ea6607a0-389a-49f9-879a-246c13ac0f75} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 9: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59146) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (9, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:03.602799 [ 72967 ] {ea6607a0-389a-49f9-879a-246c13ac0f75} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 9: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:05.681858 [ 72967 ] {140393bc-32ba-4385-be81-4e1e56445141} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 20: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59192) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (10, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:05.684436 [ 72967 ] {140393bc-32ba-4385-be81-4e1e56445141} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 20: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:08.002080 [ 72095 ] {1e465f2d-e315-4cae-b261-fa671c45f06e} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -22: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59280) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-11, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:08.004480 [ 72095 ] {1e465f2d-e315-4cae-b261-fa671c45f06e} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -22: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:11.620562 [ 21991 ] {1a85f5b5-9abd-4a07-b28a-d63bc6664404} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 26: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50652) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (13, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:11.623062 [ 21991 ] {1a85f5b5-9abd-4a07-b28a-d63bc6664404} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 26: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:20.102871 [ 21991 ] {8084e497-9238-460b-b8cd-b772c5cc3817} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -34: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50898) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-17, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:20.105668 [ 21991 ] {8084e497-9238-460b-b8cd-b772c5cc3817} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -34: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:21.769881 [ 72095 ] {cb71457f-2fde-4bb0-9cce-a28a8e1721aa} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 18, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60380) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (18, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:21.772293 [ 72095 ] {cb71457f-2fde-4bb0-9cce-a28a8e1721aa} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 18, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:24.273592 [ 72968 ] {c014b577-71cb-48b8-8247-e10da71eabc7} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 19, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60478) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (19, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:24.277008 [ 72968 ] {c014b577-71cb-48b8-8247-e10da71eabc7} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 19, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:26.235783 [ 72967 ] {396b9fde-206b-4471-9d21-010efdbc61d5} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 20: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60550) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (20, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:26.239656 [ 72967 ] {396b9fde-206b-4471-9d21-010efdbc61d5} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 20: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:28.087474 [ 72968 ] {90c34310-8c54-421d-a1ef-51a2c36eacd0} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 42: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60576) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (21, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:28.091478 [ 72968 ] {90c34310-8c54-421d-a1ef-51a2c36eacd0} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 42: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:30.552822 [ 72967 ] {c36fa7ca-98e2-43db-b700-280e10b984e0} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -22: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60670) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-22, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:30.555452 [ 72967 ] {c36fa7ca-98e2-43db-b700-280e10b984e0} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -22: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:32.574306 [ 72732 ] {4cbfa915-ff51-4643-9d46-3266b2830f73} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -23, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39196) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-23, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:32.576810 [ 72732 ] {4cbfa915-ff51-4643-9d46-3266b2830f73} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -23, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:34.053616 [ 72731 ] {bdf1e43b-ed18-4a78-8b3d-498204d36ca3} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 24, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39228) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (24, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:34.056167 [ 72731 ] {bdf1e43b-ed18-4a78-8b3d-498204d36ca3} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 24, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:36.270352 [ 21991 ] {d8045dda-fb76-4847-9ce4-970eaca32b9b} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 25, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39334) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (25, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:36.272751 [ 21991 ] {d8045dda-fb76-4847-9ce4-970eaca32b9b} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 25, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:38.192627 [ 21991 ] {729071bf-2110-4f2c-8027-87316b1f179a} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 26: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:39372) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (26, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:38.196018 [ 21991 ] {729071bf-2110-4f2c-8027-87316b1f179a} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 26: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:55.154384 [ 58203 ] {5376641f-f58a-4d22-9bf6-5320f16ac009} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -34: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53526) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-34, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:55.157173 [ 58203 ] {5376641f-f58a-4d22-9bf6-5320f16ac009} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -34: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:56.672020 [ 72969 ] {4768d872-3721-4b1e-93da-391c61936ad7} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 70: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53598) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (35, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:56.674819 [ 72969 ] {4768d872-3721-4b1e-93da-391c61936ad7} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 70: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:57.124275 [ 72967 ] {9988857a-220c-4d04-964f-d90b45df7be6} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -35, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53606) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-35, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:57.126890 [ 72967 ] {9988857a-220c-4d04-964f-d90b45df7be6} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -35, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:58.971476 [ 72095 ] {d5db544f-67ed-4d41-b0b4-6576a787d59f} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -36, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:53636) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-36, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:15:58.975117 [ 72095 ] {d5db544f-67ed-4d41-b0b4-6576a787d59f} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -36, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:06.692163 [ 72968 ] {05443c8d-6aa3-4838-8dba-02e810f9378f} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 40, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59600) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (40, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:06.696183 [ 72968 ] {05443c8d-6aa3-4838-8dba-02e810f9378f} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 40, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:08.957029 [ 72968 ] {03db9ddd-a716-4fd4-86dc-378dea9cc990} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 41, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59666) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (41, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:08.960876 [ 72968 ] {03db9ddd-a716-4fd4-86dc-378dea9cc990} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 41, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:10.876963 [ 58203 ] {535e5fe3-4e31-4f4f-98a2-821be70d5755} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 42: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56706) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (42, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:10.879904 [ 58203 ] {535e5fe3-4e31-4f4f-98a2-821be70d5755} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 42: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:18.827746 [ 72732 ] {2f795d43-7d45-410e-a77f-1387716d2977} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 92: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56944) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (46, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:18.830246 [ 72732 ] {2f795d43-7d45-410e-a77f-1387716d2977} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 92: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:29.686779 [ 72731 ] {a0a782ec-40f9-476c-8a38-585f6b25e656} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -51: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59110) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-51, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:29.689778 [ 72731 ] {a0a782ec-40f9-476c-8a38-585f6b25e656} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -51: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:31.645403 [ 72732 ] {e95b0f95-88b7-4506-b7c5-ddf7dae78c2f} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -52, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58088) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-52, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:31.650382 [ 72732 ] {e95b0f95-88b7-4506-b7c5-ddf7dae78c2f} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -52, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:33.636294 [ 72731 ] {fc9a7cf5-df3f-4888-a249-dc4411e42d62} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -53, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:58150) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-53, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:33.638713 [ 72731 ] {fc9a7cf5-df3f-4888-a249-dc4411e42d62} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -53, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:45.865221 [ 72732 ] {5e92082b-7f78-425f-9fb6-505dde640d0e} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -118: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44776) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-59, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:45.868919 [ 72732 ] {5e92082b-7f78-425f-9fb6-505dde640d0e} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -118: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:47.501341 [ 72095 ] {faa00ce2-6df6-4115-9f59-1fc9496a3c2d} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 120: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44844) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (60, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:47.504045 [ 72095 ] {faa00ce2-6df6-4115-9f59-1fc9496a3c2d} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 120: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:49.766458 [ 72968 ] {3432c9ca-79ca-4ae7-a23b-006784a07f1f} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -122: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44922) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-61, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:49.769043 [ 72968 ] {3432c9ca-79ca-4ae7-a23b-006784a07f1f} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -122: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:59.242029 [ 72968 ] {db0af7e1-4eb5-46fe-b2e9-de5ba341b2a6} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -65: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36766) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-65, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:59.245216 [ 72968 ] {db0af7e1-4eb5-46fe-b2e9-de5ba341b2a6} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -65: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:59.713937 [ 72967 ] {f0bd74b5-8125-4a0f-9d95-99a988aa4c17} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 132: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:36796) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (66, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:16:59.716943 [ 72967 ] {f0bd74b5-8125-4a0f-9d95-99a988aa4c17} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 132: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:01.238822 [ 72967 ] {846db3ae-448d-43f4-a3bb-85f47902c3db} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -66, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43232) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-66, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:01.241493 [ 72967 ] {846db3ae-448d-43f4-a3bb-85f47902c3db} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -66, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:01.584610 [ 21991 ] {5e06ad4a-f22b-40ce-9647-4f86107e4ef9} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 67, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43248) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (67, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:01.588520 [ 21991 ] {5e06ad4a-f22b-40ce-9647-4f86107e4ef9} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 67, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:03.541251 [ 72968 ] {fc3d33a4-112e-4742-a701-c62e89d91da9} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 68, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43314) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (68, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:03.543684 [ 72968 ] {fc3d33a4-112e-4742-a701-c62e89d91da9} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 68, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:04.962683 [ 72968 ] {d1566f92-f95c-44eb-9437-1ec4695117df} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 68, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43336) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (68, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:04.965111 [ 72968 ] {d1566f92-f95c-44eb-9437-1ec4695117df} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 68, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:06.891953 [ 72968 ] {9605dbc7-3bd0-4370-8c8a-da63f45abded} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 69, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43380) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (69, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:06.895057 [ 72968 ] {9605dbc7-3bd0-4370-8c8a-da63f45abded} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 69, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:08.827367 [ 21991 ] {4bcd610a-a00e-4dc8-b4cd-71dc26244249} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 70: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:43460) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (70, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:08.830300 [ 21991 ] {4bcd610a-a00e-4dc8-b4cd-71dc26244249} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 70: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:13.971855 [ 72732 ] {090fbbe3-fe97-4770-8f5f-84ed87d253da} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 146: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59746) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (73, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:13.974485 [ 72732 ] {090fbbe3-fe97-4770-8f5f-84ed87d253da} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 146: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:16.314413 [ 72731 ] {b50168ae-13f1-48c2-8cf8-0c33357ddd03} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -148: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59800) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-74, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:16.319129 [ 72731 ] {b50168ae-13f1-48c2-8cf8-0c33357ddd03} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -148: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:18.039250 [ 72967 ] {7a322e52-113c-4cbb-99d1-09a738b70187} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 150: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:59864) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (75, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:18.041812 [ 72967 ] {7a322e52-113c-4cbb-99d1-09a738b70187} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 150: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:23.968251 [ 72731 ] {a0bedae0-662e-4f4d-8610-55faf6252350} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 156: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:44092) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (78, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:23.970901 [ 72731 ] {a0bedae0-662e-4f4d-8610-55faf6252350} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 156: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:42.337325 [ 72967 ] {b1d3a0c6-02ec-47d4-9d98-5cff44cfdcf2} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 87, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33294) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (87, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:42.340538 [ 72967 ] {b1d3a0c6-02ec-47d4-9d98-5cff44cfdcf2} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 87, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:44.048080 [ 21991 ] {a58a9774-0bf3-4516-a5c4-1035cb0fddc0} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -87: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33334) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-87, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:44.050588 [ 21991 ] {a58a9774-0bf3-4516-a5c4-1035cb0fddc0} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -87: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:45.711232 [ 58203 ] {ab96bdc2-a7bb-401c-93e8-8b3240605612} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 88, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33412) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (88, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:45.713798 [ 58203 ] {ab96bdc2-a7bb-401c-93e8-8b3240605612} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 88, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:46.784082 [ 72731 ] {d86b6ac2-f881-4ced-a86b-6d380b3156e1} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -89, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33438) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-89, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:46.787877 [ 72731 ] {d86b6ac2-f881-4ced-a86b-6d380b3156e1} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -89, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:47.667609 [ 72731 ] {da23066d-38b6-44ac-b3c7-caa7cccc5acf} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 89: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33474) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (89, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:47.671777 [ 72731 ] {da23066d-38b6-44ac-b3c7-caa7cccc5acf} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 89: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:48.431742 [ 72968 ] {66172929-d9e9-4de7-937f-a83f98cda1f9} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 90, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:33500) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (90, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:48.435942 [ 72968 ] {66172929-d9e9-4de7-937f-a83f98cda1f9} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 90, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:51.670491 [ 21991 ] {99fb4a70-3b7b-4e43-946c-0514ffd836ac} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 91, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35682) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (91, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:51.673052 [ 21991 ] {99fb4a70-3b7b-4e43-946c-0514ffd836ac} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 91, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:53.629662 [ 72731 ] {8a53ee9f-e11f-4082-870e-773867bf2f40} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 92: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35758) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (92, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:53.632188 [ 72731 ] {8a53ee9f-e11f-4082-870e-773867bf2f40} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 92: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:55.957812 [ 72967 ] {fd26c05e-24bd-4cc8-8e68-f24bf86242fd} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -93: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35804) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-93, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:55.960759 [ 72967 ] {fd26c05e-24bd-4cc8-8e68-f24bf86242fd} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -93: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:57.945034 [ 72731 ] {7d8697c2-4ddc-4bdb-a36a-f89228fa8067} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -94, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35876) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-94, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:57.947734 [ 72731 ] {7d8697c2-4ddc-4bdb-a36a-f89228fa8067} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -94, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:58.616318 [ 72095 ] {6c6c61ef-1490-414e-b54a-e3df687930e4} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 190: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:35898) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (95, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:17:58.620117 [ 72095 ] {6c6c61ef-1490-414e-b54a-e3df687930e4} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 190: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:02.742826 [ 72095 ] {96c35831-af4e-4aca-8fc7-6729a3128b73} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 194: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40374) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (97, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:02.745779 [ 72095 ] {96c35831-af4e-4aca-8fc7-6729a3128b73} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 194: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:04.459281 [ 72968 ] {74d95c6f-6705-4254-b2fa-af2ca842c5a6} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -97: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40426) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-97, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:04.461847 [ 72968 ] {74d95c6f-6705-4254-b2fa-af2ca842c5a6} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = -97: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:04.661255 [ 72969 ] {afc4b24c-edab-4824-a131-bb83523e6b72} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 196: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40444) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (98, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:04.663696 [ 72969 ] {afc4b24c-edab-4824-a131-bb83523e6b72} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 196: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:06.452275 [ 72095 ] {d0a1abca-93cc-4954-9224-27f0917e76cf} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -98, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40466) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (-98, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:06.455260 [ 72095 ] {d0a1abca-93cc-4954-9224-27f0917e76cf} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = -98, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:06.611810 [ 58203 ] {179694c6-bfdd-4426-a7d3-d54ed2f48198} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 99, m = 2. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40500) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (99, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:06.615070 [ 58203 ] {179694c6-bfdd-4426-a7d3-d54ed2f48198} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 99, m = 2. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:08.541476 [ 72969 ] {c531dccf-d78c-41d2-957b-8a0ed072fa2b} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 200: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40552) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (100, 2) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:08.545340 [ 72969 ] {c531dccf-d78c-41d2-957b-8a0ed072fa2b} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.dst (8c49ac59-9087-462c-ad0a-bbfb307715cd) is violated at row 1. Expression: ((xxHash32(nm) % 8) != 0). Column values: nm = 200: while pushing to view test_ccfat7tq.mv (4ad216b3-788d-4838-bc6f-c93c0a16a2a7). (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:10.181522 [ 21991 ] {23dc7660-3866-4935-a33b-08da53016db0} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 100, m = 1. (VIOLATED_CONSTRAINT) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40590) (comment: 01171_mv_select_insert_isolation_long.sh) (in query: INSERT INTO src VALUES /* (100, 1) */ ), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:10.184246 [ 21991 ] {23dc7660-3866-4935-a33b-08da53016db0} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_ccfat7tq.src (7f0390f6-e52f-40fd-8858-74deb6257e38) is violated at row 1. Expression: ((xxHash32(n + m) % 8) != 0). Column values: n = 100, m = 1. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001eb9bbda in /usr/bin/clickhouse 6. /build/src/Processors/Transforms/CheckConstraintsTransform.cpp:113: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001eb9b820 in /usr/bin/clickhouse 7. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 14. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 15. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 16. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 17. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 18. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 19. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 20. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 23. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 24. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 25. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 26. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 28. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 30. ? @ 0x00007f3559e74ac3 in ? 31. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:30.516472 [ 72969 ] {b3f3892e-a316-4601-a816-d1d37443ba1a} executeQuery: Code: 81. DB::Exception: Database test_01155_ordinary does not exist. (UNKNOWN_DATABASE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46042) (comment: 01155_rename_move_materialized_view.sql) (in query: SELECT materialize(2), substr(_table, 1, 10), s FROM merge('test_01155_atomic', '') ORDER BY _table, s;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:406: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf4b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMaterializedView.cpp:409: DB::StorageMaterializedView::getTargetTable() const @ 0x000000001d7291c9 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMaterializedView.cpp:420: DB::StorageMaterializedView::getVirtuals() const @ 0x000000001d72bfc4 in /usr/bin/clickhouse 10. /build/src/Storages/StorageSnapshot.cpp:22: DB::StorageSnapshot::init() @ 0x000000001d9f8a07 in /usr/bin/clickhouse 11. /build/src/Storages/StorageSnapshot.h:36: DB::StorageSnapshot::StorageSnapshot(DB::IStorage const&, std::shared_ptr) @ 0x000000001a9b07de in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageSnapshot* std::construct_at[abi:v15000] const&, DB::StorageSnapshot*>(DB::StorageSnapshot*, DB::IStorage const&, std::shared_ptr const&) @ 0x000000001a9b0727 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::StorageSnapshot*, DB::IStorage const&, std::shared_ptr const&) @ 0x000000001a9b04c9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, DB::IStorage const&, std::shared_ptr const&) @ 0x000000001a9b01cf in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::IStorage const&, std::shared_ptr const&, void>(std::allocator const&, DB::IStorage const&, std::shared_ptr const&) @ 0x000000001a9b0042 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(DB::IStorage const&, std::shared_ptr const&) @ 0x000000001a9affce in /usr/bin/clickhouse 17. /build/src/Storages/IStorage.h:662: DB::IStorage::getStorageSnapshot(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a9af685 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:291: DB::StorageMerge::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d75143b in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5d1b in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 02:18:30.517541 [ 72969 ] {b3f3892e-a316-4601-a816-d1d37443ba1a} TCPHandler: Code: 81. DB::Exception: Database test_01155_ordinary does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:406: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf4b6 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 8. /build/src/Storages/StorageMaterializedView.cpp:409: DB::StorageMaterializedView::getTargetTable() const @ 0x000000001d7291c9 in /usr/bin/clickhouse 9. /build/src/Storages/StorageMaterializedView.cpp:420: DB::StorageMaterializedView::getVirtuals() const @ 0x000000001d72bfc4 in /usr/bin/clickhouse 10. /build/src/Storages/StorageSnapshot.cpp:22: DB::StorageSnapshot::init() @ 0x000000001d9f8a07 in /usr/bin/clickhouse 11. /build/src/Storages/StorageSnapshot.h:36: DB::StorageSnapshot::StorageSnapshot(DB::IStorage const&, std::shared_ptr) @ 0x000000001a9b07de in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageSnapshot* std::construct_at[abi:v15000] const&, DB::StorageSnapshot*>(DB::StorageSnapshot*, DB::IStorage const&, std::shared_ptr const&) @ 0x000000001a9b0727 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000] const&, void, void>(std::allocator&, DB::StorageSnapshot*, DB::IStorage const&, std::shared_ptr const&) @ 0x000000001a9b04c9 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000] const&>(std::allocator, DB::IStorage const&, std::shared_ptr const&) @ 0x000000001a9b01cf in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::IStorage const&, std::shared_ptr const&, void>(std::allocator const&, DB::IStorage const&, std::shared_ptr const&) @ 0x000000001a9b0042 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000] const&, void>(DB::IStorage const&, std::shared_ptr const&) @ 0x000000001a9affce in /usr/bin/clickhouse 17. /build/src/Storages/IStorage.h:662: DB::IStorage::getStorageSnapshot(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a9af685 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:291: DB::StorageMerge::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001d75143b in /usr/bin/clickhouse 19. /build/src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5d1b in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 28. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 29. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 30. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 31. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 2024.12.17 02:18:30.526309 [ 72969 ] {eb1cc0e1-67f3-4e37-8748-35c9867ac716} executeQuery: Code: 36. DB::Exception: Dictionary (`test_01155_ordinary.dict`) not found: While processing dictGet('test_01155_ordinary.dict', 'x', 'after moving tables'). (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:46042) (comment: 01155_rename_move_materialized_view.sql) (in query: SELECT dictGet('test_01155_ordinary.dict', 'x', 'after moving tables');), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c531952 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c531de0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc61098 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc59a4a in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 02:18:30.527099 [ 72969 ] {eb1cc0e1-67f3-4e37-8748-35c9867ac716} TCPHandler: Code: 36. DB::Exception: Dictionary (`test_01155_ordinary.dict`) not found: While processing dictGet('test_01155_ordinary.dict', 'x', 'after moving tables'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Interpreters/ExternalDictionariesLoader.cpp:127: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x000000001c531952 in /usr/bin/clickhouse 7. /build/src/Interpreters/ExternalDictionariesLoader.cpp:72: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x000000001c531de0 in /usr/bin/clickhouse 8. /build/src/Functions/FunctionsExternalDictionaries.h:135: DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x000000000bc61098 in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:361: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000bc59a4a in /usr/bin/clickhouse 10. /build/src/Functions/IFunctionAdaptors.h:134: DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x000000000b1904d0 in /usr/bin/clickhouse 11. /build/src/Functions/IFunction.cpp:489: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x000000001abee007 in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x000000001abeda56 in /usr/bin/clickhouse 13. /build/src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x000000001abee061 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83f06 in /usr/bin/clickhouse 15. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 16. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 17. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 18. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 21. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 22. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 23. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 24. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 25. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 26. /build/src/Interpreters/ExpressionAnalyzer.cpp:1463: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb5a35 in /usr/bin/clickhouse 27. /build/src/Interpreters/ExpressionAnalyzer.cpp:2009: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfba3ea in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 29. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 31. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 2024.12.17 02:18:39.335142 [ 716 ] {} test_iijp2oqj.src_13 (5a6bafdb-a394-4b2b-adbb-04d590230302): Log pointer of source replica r1_2069897666 changed while we loading queue nodes. Will retry. 2024.12.17 02:18:43.170202 [ 75012 ] {c7d87457-7abf-46dd-9390-3c5ed2896c7f} executeQuery: Code: 233. DB::Exception: Unexpected part name: for format version: 1. (BAD_DATA_PART_NAME) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50624) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_9 DROP PART ''), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity&>::type>, String const&, StrongTypedef&) @ 0x000000001e0d302c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreePartInfo.cpp:23: DB::MergeTreePartInfo::fromPartName(String const&, StrongTypedef) @ 0x000000001e0d0707 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4936: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000001dea993d in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:184: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d49f3 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:43.171677 [ 75012 ] {c7d87457-7abf-46dd-9390-3c5ed2896c7f} TCPHandler: Code: 233. DB::Exception: Unexpected part name: for format version: 1. (BAD_DATA_PART_NAME), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception&>(int, FormatStringHelperImpl::type, std::type_identity&>::type>, String const&, StrongTypedef&) @ 0x000000001e0d302c in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreePartInfo.cpp:23: DB::MergeTreePartInfo::fromPartName(String const&, StrongTypedef) @ 0x000000001e0d0707 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:4936: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000001dea993d in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:184: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d49f3 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:43.474180 [ 75017 ] {3609e13b-7a53-4150-9850-3274dbd5ca7a} executeQuery: Code: 48. DB::Exception: Table test_iijp2oqj.src_15 (d143aa04-174f-48e6-ae8a-31f55a1a1f36) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50684) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_15 MOVE PARTITION 6 TO TABLE dst_12), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:43.475651 [ 75017 ] {3609e13b-7a53-4150-9850-3274dbd5ca7a} TCPHandler: Code: 48. DB::Exception: Table test_iijp2oqj.src_15 (d143aa04-174f-48e6-ae8a-31f55a1a1f36) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:45.663797 [ 75012 ] {dc1e1db7-db76-4530-a501-19b4cf919750} executeQuery: Code: 48. DB::Exception: Table test_iijp2oqj.src_0 (23e4413f-ce7f-4944-98af-5f9ae0b15d41) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50758) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_0 MOVE PARTITION 2 TO TABLE dst_0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:45.665243 [ 75012 ] {dc1e1db7-db76-4530-a501-19b4cf919750} TCPHandler: Code: 48. DB::Exception: Table test_iijp2oqj.src_0 (23e4413f-ce7f-4944-98af-5f9ae0b15d41) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:47.386351 [ 75016 ] {ed0d2790-4ddc-4209-9e48-e54c870de634} executeQuery: Code: 232. DB::Exception: No part 5_0_0_0 in committed state. (NO_SUCH_DATA_PART) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50802) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_14 DROP PART '5_0_0_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4984: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x000000001deaa0f0 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5138: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deabef0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:47.390331 [ 75016 ] {ed0d2790-4ddc-4209-9e48-e54c870de634} TCPHandler: Code: 232. DB::Exception: No part 5_0_0_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4984: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x000000001deaa0f0 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5138: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deabef0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:47.670116 [ 75014 ] {0401dc81-3d87-475c-b459-44e6e6d74b48} executeQuery: Code: 48. DB::Exception: Table test_iijp2oqj.src_3 (c9f50f6b-b9c8-4e13-bb44-24590c3e8040) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:50816) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_3 MOVE PARTITION 5 TO TABLE dst_11), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:47.671439 [ 75014 ] {0401dc81-3d87-475c-b459-44e6e6d74b48} TCPHandler: Code: 48. DB::Exception: Table test_iijp2oqj.src_3 (c9f50f6b-b9c8-4e13-bb44-24590c3e8040) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:51.859143 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0075ee94-b5ce-4756-a6f3-51c1d57f81de::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000061: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:51.862706 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3872107-5fa9-4abf-ac11-e35fbd0c9d5c::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000061: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:51.889446 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3be0191-0023-45db-92da-268482034d3a::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000061: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:51.893493 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {faf9880e-1a14-498c-b730-ba8459353884::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000061: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:51.894304 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {7e573b1d-5026-47be-a6b2-0479896e550b::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000061: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:51.896019 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da12a62e-0bc8-4c43-a91c-a9e61fbca5e1::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000061: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:51.897903 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {941eab8a-98cb-42dc-bd69-eb4b58f8e2ce::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000061: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:51.898123 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000061: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:51.902733 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ccbbcf3d-e5fe-4d47-886d-22ddc898c125::0_0_5_1}: Code: 234. DB::Exception: No active replica has part 0_0_5_1 or covering part (cannot execute queue-0000000061: MERGE_PARTS with virtual parts [0_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:52.037887 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::7_3_6_1}: Code: 234. DB::Exception: No active replica has part 7_3_6_1 or covering part (cannot execute queue-0000000062: MERGE_PARTS with virtual parts [7_3_6_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:52.153077 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {911332f2-b9b1-43eb-8b85-839c286a2074::7_3_6_1}: Code: 234. DB::Exception: No active replica has part 7_3_6_1 or covering part (cannot execute queue-0000000062: MERGE_PARTS with virtual parts [7_3_6_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:52.191870 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3be0191-0023-45db-92da-268482034d3a::7_3_6_1}: Code: 234. DB::Exception: No active replica has part 7_3_6_1 or covering part (cannot execute queue-0000000062: MERGE_PARTS with virtual parts [7_3_6_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:52.201428 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::7_3_6_1}: Code: 234. DB::Exception: No active replica has part 7_3_6_1 or covering part (cannot execute queue-0000000062: MERGE_PARTS with virtual parts [7_3_6_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:52.203461 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3872107-5fa9-4abf-ac11-e35fbd0c9d5c::7_3_6_1}: Code: 234. DB::Exception: No active replica has part 7_3_6_1 or covering part (cannot execute queue-0000000062: MERGE_PARTS with virtual parts [7_3_6_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:52.204513 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ccbbcf3d-e5fe-4d47-886d-22ddc898c125::7_3_6_1}: Code: 234. DB::Exception: No active replica has part 7_3_6_1 or covering part (cannot execute queue-0000000062: MERGE_PARTS with virtual parts [7_3_6_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:53.530515 [ 75018 ] {ccbcb632-400c-4368-8ad1-e6dbced3bc79} executeQuery: Code: 48. DB::Exception: Table test_iijp2oqj.src_9 (b05088e7-3a89-4477-b983-c573810ff46b) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40092) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_9 MOVE PARTITION 0 TO TABLE dst_12), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:53.531831 [ 75018 ] {ccbcb632-400c-4368-8ad1-e6dbced3bc79} TCPHandler: Code: 48. DB::Exception: Table test_iijp2oqj.src_9 (b05088e7-3a89-4477-b983-c573810ff46b) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:53.865618 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::8_0_5_1}: Code: 234. DB::Exception: No active replica has part 8_0_5_1 or covering part (cannot execute queue-0000000066: MERGE_PARTS with virtual parts [8_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:53.868672 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3872107-5fa9-4abf-ac11-e35fbd0c9d5c::8_0_5_1}: Code: 234. DB::Exception: No active replica has part 8_0_5_1 or covering part (cannot execute queue-0000000066: MERGE_PARTS with virtual parts [8_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:53.872089 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {faf9880e-1a14-498c-b730-ba8459353884::8_0_5_1}: Code: 234. DB::Exception: No active replica has part 8_0_5_1 or covering part (cannot execute queue-0000000066: MERGE_PARTS with virtual parts [8_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:54.083711 [ 906 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:54.107640 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {cf57c3a5-4014-4311-a080-ecb8f9557b5d::2_0_5_1}: Code: 234. DB::Exception: No active replica has part 2_0_5_1 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:54.445153 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da136df2-6195-41dd-bbb7-74f3f0766433::1_1_5_1}: Code: 234. DB::Exception: No active replica has part 1_1_5_1 or covering part (cannot execute queue-0000000076: MERGE_PARTS with virtual parts [1_1_5_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:55.571377 [ 75017 ] {6a636fdf-484c-4259-9bf8-b6679b9353df} executeQuery: Code: 232. DB::Exception: No part 8_2_2_0 in committed state. (NO_SUCH_DATA_PART) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40142) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_12 DROP PART '8_2_2_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4984: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x000000001deaa0f0 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5138: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deabef0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:55.572789 [ 75017 ] {6a636fdf-484c-4259-9bf8-b6679b9353df} TCPHandler: Code: 232. DB::Exception: No part 8_2_2_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4984: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x000000001deaa0f0 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5138: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deabef0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:56.132976 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {faf9880e-1a14-498c-b730-ba8459353884::5_0_7_2}: Code: 234. DB::Exception: No active replica has part 5_0_7_2 or covering part (cannot execute queue-0000000084: MERGE_PARTS with virtual parts [5_0_7_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:56.134639 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {b8a9604b-e6c0-4704-a50b-1c2e3d44ef43::5_0_7_2}: Code: 234. DB::Exception: No active replica has part 5_0_7_2 or covering part (cannot execute queue-0000000084: MERGE_PARTS with virtual parts [5_0_7_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:56.144840 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ccbbcf3d-e5fe-4d47-886d-22ddc898c125::5_0_7_2}: Code: 234. DB::Exception: No active replica has part 5_0_7_2 or covering part (cannot execute queue-0000000084: MERGE_PARTS with virtual parts [5_0_7_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:56.950738 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::3_3_7_1}: Code: 234. DB::Exception: No active replica has part 3_3_7_1 or covering part (cannot execute queue-0000000091: MERGE_PARTS with virtual parts [3_3_7_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:18:59.123662 [ 75017 ] {10efcd37-2632-4fa5-b383-6c085a1560e5} executeQuery: Code: 48. DB::Exception: Table test_iijp2oqj.src_9 (b05088e7-3a89-4477-b983-c573810ff46b) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40276) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_9 MOVE PARTITION 1 TO TABLE dst_11), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:18:59.126671 [ 75017 ] {10efcd37-2632-4fa5-b383-6c085a1560e5} TCPHandler: Code: 48. DB::Exception: Table test_iijp2oqj.src_9 (b05088e7-3a89-4477-b983-c573810ff46b) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:19:00.468586 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3872107-5fa9-4abf-ac11-e35fbd0c9d5c::7_3_11_2}: Code: 234. DB::Exception: No active replica has part 7_3_11_2 or covering part (cannot execute queue-0000000113: MERGE_PARTS with virtual parts [7_3_11_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:00.469047 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ccbbcf3d-e5fe-4d47-886d-22ddc898c125::7_3_11_2}: Code: 234. DB::Exception: No active replica has part 7_3_11_2 or covering part (cannot execute queue-0000000113: MERGE_PARTS with virtual parts [7_3_11_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:00.471856 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3be0191-0023-45db-92da-268482034d3a::7_3_11_2}: Code: 234. DB::Exception: No active replica has part 7_3_11_2 or covering part (cannot execute queue-0000000113: MERGE_PARTS with virtual parts [7_3_11_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:00.473677 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {7e573b1d-5026-47be-a6b2-0479896e550b::7_3_11_2}: Code: 234. DB::Exception: No active replica has part 7_3_11_2 or covering part (cannot execute queue-0000000113: MERGE_PARTS with virtual parts [7_3_11_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:00.475028 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da12a62e-0bc8-4c43-a91c-a9e61fbca5e1::7_3_11_2}: Code: 234. DB::Exception: No active replica has part 7_3_11_2 or covering part (cannot execute queue-0000000113: MERGE_PARTS with virtual parts [7_3_11_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:00.475994 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da136df2-6195-41dd-bbb7-74f3f0766433::7_3_11_2}: Code: 234. DB::Exception: No active replica has part 7_3_11_2 or covering part (cannot execute queue-0000000113: MERGE_PARTS with virtual parts [7_3_11_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:00.476338 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {cf57c3a5-4014-4311-a080-ecb8f9557b5d::7_3_11_2}: Code: 234. DB::Exception: No active replica has part 7_3_11_2 or covering part (cannot execute queue-0000000113: MERGE_PARTS with virtual parts [7_3_11_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:00.476710 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c::7_3_11_2}: Code: 234. DB::Exception: No active replica has part 7_3_11_2 or covering part (cannot execute queue-0000000113: MERGE_PARTS with virtual parts [7_3_11_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:00.476942 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {941eab8a-98cb-42dc-bd69-eb4b58f8e2ce::7_3_11_2}: Code: 234. DB::Exception: No active replica has part 7_3_11_2 or covering part (cannot execute queue-0000000113: MERGE_PARTS with virtual parts [7_3_11_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:00.479221 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0075ee94-b5ce-4756-a6f3-51c1d57f81de::7_3_11_2}: Code: 234. DB::Exception: No active replica has part 7_3_11_2 or covering part (cannot execute queue-0000000113: MERGE_PARTS with virtual parts [7_3_11_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:00.482539 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {b8a9604b-e6c0-4704-a50b-1c2e3d44ef43::7_3_11_2}: Code: 234. DB::Exception: No active replica has part 7_3_11_2 or covering part (cannot execute queue-0000000113: MERGE_PARTS with virtual parts [7_3_11_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:00.483222 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78c93390-5def-43d6-8c7e-09677e58e93b::7_3_11_2}: Code: 234. DB::Exception: No active replica has part 7_3_11_2 or covering part (cannot execute queue-0000000113: MERGE_PARTS with virtual parts [7_3_11_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:00.498447 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {faf9880e-1a14-498c-b730-ba8459353884::7_3_11_2}: Code: 234. DB::Exception: No active replica has part 7_3_11_2 or covering part (cannot execute queue-0000000113: MERGE_PARTS with virtual parts [7_3_11_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:01.282772 [ 75017 ] {df271ac8-ab42-49d7-afa9-bae13227dba9} executeQuery: Code: 48. DB::Exception: Table test_iijp2oqj.src_15 (d143aa04-174f-48e6-ae8a-31f55a1a1f36) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52458) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_15 MOVE PARTITION 8 TO TABLE dst_3), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:19:01.284224 [ 75017 ] {df271ac8-ab42-49d7-afa9-bae13227dba9} TCPHandler: Code: 48. DB::Exception: Table test_iijp2oqj.src_15 (d143aa04-174f-48e6-ae8a-31f55a1a1f36) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:19:02.392922 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ccbbcf3d-e5fe-4d47-886d-22ddc898c125::0_0_10_2}: Code: 234. DB::Exception: No active replica has part 0_0_10_2 or covering part (cannot execute queue-0000000125: MERGE_PARTS with virtual parts [0_0_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:02.396953 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0075ee94-b5ce-4756-a6f3-51c1d57f81de::0_0_10_2}: Code: 234. DB::Exception: No active replica has part 0_0_10_2 or covering part (cannot execute queue-0000000125: MERGE_PARTS with virtual parts [0_0_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:02.399144 [ 906 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da136df2-6195-41dd-bbb7-74f3f0766433::0_0_10_2}: Code: 234. DB::Exception: No active replica has part 0_0_10_2 or covering part (cannot execute queue-0000000125: MERGE_PARTS with virtual parts [0_0_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:02.402514 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78c93390-5def-43d6-8c7e-09677e58e93b::0_0_10_2}: Code: 234. DB::Exception: No active replica has part 0_0_10_2 or covering part (cannot execute queue-0000000125: MERGE_PARTS with virtual parts [0_0_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:02.415158 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::0_0_10_2}: Code: 234. DB::Exception: No active replica has part 0_0_10_2 or covering part (cannot execute queue-0000000125: MERGE_PARTS with virtual parts [0_0_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:03.172306 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::9_6_10_1}: Code: 234. DB::Exception: No active replica has part 9_6_10_1 or covering part (cannot execute queue-0000000126: MERGE_PARTS with virtual parts [9_6_10_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:03.275941 [ 75021 ] {3894d11a-61d9-4a4f-8a91-ca2dcc4d5423} executeQuery: Code: 48. DB::Exception: Table test_iijp2oqj.src_12 (076de632-e048-4321-8ca7-c1683ee054e0) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52506) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_12 MOVE PARTITION 9 TO TABLE dst_10), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:19:03.277417 [ 75021 ] {3894d11a-61d9-4a4f-8a91-ca2dcc4d5423} TCPHandler: Code: 48. DB::Exception: Table test_iijp2oqj.src_12 (076de632-e048-4321-8ca7-c1683ee054e0) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:19:05.524627 [ 75021 ] {062efcf5-9bbf-47b0-b522-2945c81dd07c} executeQuery: Code: 48. DB::Exception: Table test_iijp2oqj.src_15 (d143aa04-174f-48e6-ae8a-31f55a1a1f36) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52578) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_15 MOVE PARTITION 5 TO TABLE dst_1), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:19:05.525955 [ 75021 ] {062efcf5-9bbf-47b0-b522-2945c81dd07c} TCPHandler: Code: 48. DB::Exception: Table test_iijp2oqj.src_15 (d143aa04-174f-48e6-ae8a-31f55a1a1f36) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:19:05.657121 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da136df2-6195-41dd-bbb7-74f3f0766433::1_1_10_2}: Code: 234. DB::Exception: No active replica has part 1_1_10_2 or covering part (cannot execute queue-0000000139: MERGE_PARTS with virtual parts [1_1_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:05.675240 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {cf57c3a5-4014-4311-a080-ecb8f9557b5d::1_1_10_2}: Code: 234. DB::Exception: No active replica has part 1_1_10_2 or covering part (cannot execute queue-0000000139: MERGE_PARTS with virtual parts [1_1_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:05.675694 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0075ee94-b5ce-4756-a6f3-51c1d57f81de::1_1_10_2}: Code: 234. DB::Exception: No active replica has part 1_1_10_2 or covering part (cannot execute queue-0000000139: MERGE_PARTS with virtual parts [1_1_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:05.675914 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {faf9880e-1a14-498c-b730-ba8459353884::1_1_10_2}: Code: 234. DB::Exception: No active replica has part 1_1_10_2 or covering part (cannot execute queue-0000000139: MERGE_PARTS with virtual parts [1_1_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:05.676427 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::1_1_10_2}: Code: 234. DB::Exception: No active replica has part 1_1_10_2 or covering part (cannot execute queue-0000000139: MERGE_PARTS with virtual parts [1_1_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:05.681444 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {941eab8a-98cb-42dc-bd69-eb4b58f8e2ce::1_1_10_2}: Code: 234. DB::Exception: No active replica has part 1_1_10_2 or covering part (cannot execute queue-0000000139: MERGE_PARTS with virtual parts [1_1_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:05.681703 [ 906 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c::1_1_10_2}: Code: 234. DB::Exception: No active replica has part 1_1_10_2 or covering part (cannot execute queue-0000000139: MERGE_PARTS with virtual parts [1_1_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:05.684310 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::1_1_10_2}: Code: 234. DB::Exception: No active replica has part 1_1_10_2 or covering part (cannot execute queue-0000000139: MERGE_PARTS with virtual parts [1_1_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:05.685418 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da12a62e-0bc8-4c43-a91c-a9e61fbca5e1::1_1_10_2}: Code: 234. DB::Exception: No active replica has part 1_1_10_2 or covering part (cannot execute queue-0000000139: MERGE_PARTS with virtual parts [1_1_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:05.686610 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ccbbcf3d-e5fe-4d47-886d-22ddc898c125::1_1_10_2}: Code: 234. DB::Exception: No active replica has part 1_1_10_2 or covering part (cannot execute queue-0000000139: MERGE_PARTS with virtual parts [1_1_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:05.687322 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {7e573b1d-5026-47be-a6b2-0479896e550b::1_1_10_2}: Code: 234. DB::Exception: No active replica has part 1_1_10_2 or covering part (cannot execute queue-0000000139: MERGE_PARTS with virtual parts [1_1_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:05.695182 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3872107-5fa9-4abf-ac11-e35fbd0c9d5c::1_1_10_2}: Code: 234. DB::Exception: No active replica has part 1_1_10_2 or covering part (cannot execute queue-0000000139: MERGE_PARTS with virtual parts [1_1_10_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:07.706015 [ 75022 ] {eadf30e1-d4e6-4b45-9364-f0b79a23708e} executeQuery: Code: 48. DB::Exception: Table test_iijp2oqj.src_0 (23e4413f-ce7f-4944-98af-5f9ae0b15d41) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52660) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_0 MOVE PARTITION 2 TO TABLE dst_5), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:19:07.707454 [ 75022 ] {eadf30e1-d4e6-4b45-9364-f0b79a23708e} TCPHandler: Code: 48. DB::Exception: Table test_iijp2oqj.src_0 (23e4413f-ce7f-4944-98af-5f9ae0b15d41) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:19:09.002021 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::3_3_12_2}: Code: 234. DB::Exception: No active replica has part 3_3_12_2 or covering part (cannot execute queue-0000000160: MERGE_PARTS with virtual parts [3_3_12_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:09.003930 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {b8a9604b-e6c0-4704-a50b-1c2e3d44ef43::3_3_12_2}: Code: 234. DB::Exception: No active replica has part 3_3_12_2 or covering part (cannot execute queue-0000000160: MERGE_PARTS with virtual parts [3_3_12_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:09.004006 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ccbbcf3d-e5fe-4d47-886d-22ddc898c125::3_3_12_2}: Code: 234. DB::Exception: No active replica has part 3_3_12_2 or covering part (cannot execute queue-0000000160: MERGE_PARTS with virtual parts [3_3_12_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:09.006976 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3be0191-0023-45db-92da-268482034d3a::3_3_12_2}: Code: 234. DB::Exception: No active replica has part 3_3_12_2 or covering part (cannot execute queue-0000000160: MERGE_PARTS with virtual parts [3_3_12_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:09.021670 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da136df2-6195-41dd-bbb7-74f3f0766433::3_3_12_2}: Code: 234. DB::Exception: No active replica has part 3_3_12_2 or covering part (cannot execute queue-0000000160: MERGE_PARTS with virtual parts [3_3_12_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:09.022039 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3872107-5fa9-4abf-ac11-e35fbd0c9d5c::3_3_12_2}: Code: 234. DB::Exception: No active replica has part 3_3_12_2 or covering part (cannot execute queue-0000000160: MERGE_PARTS with virtual parts [3_3_12_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:09.027894 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {cf57c3a5-4014-4311-a080-ecb8f9557b5d::3_3_12_2}: Code: 234. DB::Exception: No active replica has part 3_3_12_2 or covering part (cannot execute queue-0000000160: MERGE_PARTS with virtual parts [3_3_12_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:09.029609 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c::3_3_12_2}: Code: 234. DB::Exception: No active replica has part 3_3_12_2 or covering part (cannot execute queue-0000000160: MERGE_PARTS with virtual parts [3_3_12_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:11.146321 [ 906 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78c93390-5def-43d6-8c7e-09677e58e93b::7_3_16_3}: Code: 234. DB::Exception: No active replica has part 7_3_16_3 or covering part (cannot execute queue-0000000177: MERGE_PARTS with virtual parts [7_3_16_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:11.146694 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {b8a9604b-e6c0-4704-a50b-1c2e3d44ef43::7_3_16_3}: Code: 234. DB::Exception: No active replica has part 7_3_16_3 or covering part (cannot execute queue-0000000177: MERGE_PARTS with virtual parts [7_3_16_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:11.149568 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {cf57c3a5-4014-4311-a080-ecb8f9557b5d::7_3_16_3}: Code: 234. DB::Exception: No active replica has part 7_3_16_3 or covering part (cannot execute queue-0000000177: MERGE_PARTS with virtual parts [7_3_16_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:11.151980 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da12a62e-0bc8-4c43-a91c-a9e61fbca5e1::7_3_16_3}: Code: 234. DB::Exception: No active replica has part 7_3_16_3 or covering part (cannot execute queue-0000000177: MERGE_PARTS with virtual parts [7_3_16_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:11.153751 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::7_3_16_3}: Code: 234. DB::Exception: No active replica has part 7_3_16_3 or covering part (cannot execute queue-0000000177: MERGE_PARTS with virtual parts [7_3_16_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:11.155321 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c::7_3_16_3}: Code: 234. DB::Exception: No active replica has part 7_3_16_3 or covering part (cannot execute queue-0000000177: MERGE_PARTS with virtual parts [7_3_16_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:11.156447 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da136df2-6195-41dd-bbb7-74f3f0766433::7_3_16_3}: Code: 234. DB::Exception: No active replica has part 7_3_16_3 or covering part (cannot execute queue-0000000177: MERGE_PARTS with virtual parts [7_3_16_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:11.180526 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0075ee94-b5ce-4756-a6f3-51c1d57f81de::7_3_16_3}: Code: 234. DB::Exception: No active replica has part 7_3_16_3 or covering part (cannot execute queue-0000000177: MERGE_PARTS with virtual parts [7_3_16_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.288034 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da136df2-6195-41dd-bbb7-74f3f0766433::0_0_15_3}: Code: 234. DB::Exception: No active replica has part 0_0_15_3 or covering part (cannot execute queue-0000000189: MERGE_PARTS with virtual parts [0_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.289017 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::0_0_15_3}: Code: 234. DB::Exception: No active replica has part 0_0_15_3 or covering part (cannot execute queue-0000000189: MERGE_PARTS with virtual parts [0_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.289096 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0075ee94-b5ce-4756-a6f3-51c1d57f81de::0_0_15_3}: Code: 234. DB::Exception: No active replica has part 0_0_15_3 or covering part (cannot execute queue-0000000189: MERGE_PARTS with virtual parts [0_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.289338 [ 906 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c::0_0_15_3}: Code: 234. DB::Exception: No active replica has part 0_0_15_3 or covering part (cannot execute queue-0000000189: MERGE_PARTS with virtual parts [0_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.289472 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::0_0_15_3}: Code: 234. DB::Exception: No active replica has part 0_0_15_3 or covering part (cannot execute queue-0000000189: MERGE_PARTS with virtual parts [0_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.290680 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3872107-5fa9-4abf-ac11-e35fbd0c9d5c::0_0_15_3}: Code: 234. DB::Exception: No active replica has part 0_0_15_3 or covering part (cannot execute queue-0000000189: MERGE_PARTS with virtual parts [0_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.302769 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {941eab8a-98cb-42dc-bd69-eb4b58f8e2ce::0_0_15_3}: Code: 234. DB::Exception: No active replica has part 0_0_15_3 or covering part (cannot execute queue-0000000189: MERGE_PARTS with virtual parts [0_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.302819 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {7e573b1d-5026-47be-a6b2-0479896e550b::0_0_15_3}: Code: 234. DB::Exception: No active replica has part 0_0_15_3 or covering part (cannot execute queue-0000000189: MERGE_PARTS with virtual parts [0_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.304487 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {faf9880e-1a14-498c-b730-ba8459353884::0_0_15_3}: Code: 234. DB::Exception: No active replica has part 0_0_15_3 or covering part (cannot execute queue-0000000189: MERGE_PARTS with virtual parts [0_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.336634 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {cf57c3a5-4014-4311-a080-ecb8f9557b5d::0_0_15_3}: Code: 234. DB::Exception: No active replica has part 0_0_15_3 or covering part (cannot execute queue-0000000189: MERGE_PARTS with virtual parts [0_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.386840 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78c93390-5def-43d6-8c7e-09677e58e93b::0_0_15_3}: Code: 234. DB::Exception: No active replica has part 0_0_15_3 or covering part (cannot execute queue-0000000189: MERGE_PARTS with virtual parts [0_0_15_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.436345 [ 906 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {faf9880e-1a14-498c-b730-ba8459353884::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.444236 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3872107-5fa9-4abf-ac11-e35fbd0c9d5c::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.445815 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.446520 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0075ee94-b5ce-4756-a6f3-51c1d57f81de::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.449017 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {b8a9604b-e6c0-4704-a50b-1c2e3d44ef43::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.449802 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {7e573b1d-5026-47be-a6b2-0479896e550b::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.452964 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da12a62e-0bc8-4c43-a91c-a9e61fbca5e1::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.455319 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ccbbcf3d-e5fe-4d47-886d-22ddc898c125::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.459795 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.466043 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {941eab8a-98cb-42dc-bd69-eb4b58f8e2ce::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.498409 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.555550 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {cf57c3a5-4014-4311-a080-ecb8f9557b5d::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.562109 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da136df2-6195-41dd-bbb7-74f3f0766433::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.572679 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {911332f2-b9b1-43eb-8b85-839c286a2074::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.587346 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78c93390-5def-43d6-8c7e-09677e58e93b::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.667277 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {faf9880e-1a14-498c-b730-ba8459353884::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.678043 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3872107-5fa9-4abf-ac11-e35fbd0c9d5c::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.702789 [ 906 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0075ee94-b5ce-4756-a6f3-51c1d57f81de::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.704801 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {b8a9604b-e6c0-4704-a50b-1c2e3d44ef43::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.709190 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da12a62e-0bc8-4c43-a91c-a9e61fbca5e1::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.714816 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {941eab8a-98cb-42dc-bd69-eb4b58f8e2ce::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.715310 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.722099 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:13.725163 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ccbbcf3d-e5fe-4d47-886d-22ddc898c125::9_6_15_2}: Code: 234. DB::Exception: No active replica has part 9_6_15_2 or covering part (cannot execute queue-0000000191: MERGE_PARTS with virtual parts [9_6_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:15.162673 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {c3cc39fe-c189-4f6a-8fe3-2f07c97ba354::2_0_6_2}: Code: 234. DB::Exception: No active replica has part 2_0_6_2 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_6_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:15.162841 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0536d3bd-4fe2-46d9-80fd-5f19e5a7035b::2_0_6_2}: Code: 234. DB::Exception: No active replica has part 2_0_6_2 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_6_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:15.165926 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5a6bafdb-a394-4b2b-adbb-04d590230302::2_0_6_2}: Code: 234. DB::Exception: No active replica has part 2_0_6_2 or covering part (cannot execute queue-0000000072: MERGE_PARTS with virtual parts [2_0_6_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:16.132317 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::5_11_16_1}: Code: 234. DB::Exception: No active replica has part 5_11_16_1 or covering part (cannot execute queue-0000000201: MERGE_PARTS with virtual parts [5_11_16_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:16.134543 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {7e573b1d-5026-47be-a6b2-0479896e550b::5_11_16_1}: Code: 234. DB::Exception: No active replica has part 5_11_16_1 or covering part (cannot execute queue-0000000201: MERGE_PARTS with virtual parts [5_11_16_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:16.135153 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {faf9880e-1a14-498c-b730-ba8459353884::5_11_16_1}: Code: 234. DB::Exception: No active replica has part 5_11_16_1 or covering part (cannot execute queue-0000000201: MERGE_PARTS with virtual parts [5_11_16_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:16.135650 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78c93390-5def-43d6-8c7e-09677e58e93b::5_11_16_1}: Code: 234. DB::Exception: No active replica has part 5_11_16_1 or covering part (cannot execute queue-0000000201: MERGE_PARTS with virtual parts [5_11_16_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:16.137173 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c::5_11_16_1}: Code: 234. DB::Exception: No active replica has part 5_11_16_1 or covering part (cannot execute queue-0000000201: MERGE_PARTS with virtual parts [5_11_16_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:16.141329 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::5_11_16_1}: Code: 234. DB::Exception: No active replica has part 5_11_16_1 or covering part (cannot execute queue-0000000201: MERGE_PARTS with virtual parts [5_11_16_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:16.148978 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {941eab8a-98cb-42dc-bd69-eb4b58f8e2ce::5_11_16_1}: Code: 234. DB::Exception: No active replica has part 5_11_16_1 or covering part (cannot execute queue-0000000201: MERGE_PARTS with virtual parts [5_11_16_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:16.804042 [ 72967 ] {8a1ec6bb-29fa-482a-a2b7-731b328f36ed} executeQuery: Code: 48. DB::Exception: Table test_iijp2oqj.src_9 (b05088e7-3a89-4477-b983-c573810ff46b) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:60044) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_9 MOVE PARTITION 8 TO TABLE dst_8), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:19:16.805427 [ 72967 ] {8a1ec6bb-29fa-482a-a2b7-731b328f36ed} TCPHandler: Code: 48. DB::Exception: Table test_iijp2oqj.src_9 (b05088e7-3a89-4477-b983-c573810ff46b) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:19:16.907044 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d13bf144-a29c-4ef9-8386-57592f4de903::7_2_7_1}: Code: 234. DB::Exception: No active replica has part 7_2_7_1 or covering part (cannot execute queue-0000000082: MERGE_PARTS with virtual parts [7_2_7_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:17.800638 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {7e573b1d-5026-47be-a6b2-0479896e550b::2_8_16_2}: Code: 234. DB::Exception: No active replica has part 2_8_16_2 or covering part (cannot execute queue-0000000212: MERGE_PARTS with virtual parts [2_8_16_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:21.359955 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {c3cc39fe-c189-4f6a-8fe3-2f07c97ba354::0_3_8_1}: Code: 234. DB::Exception: No active replica has part 0_3_8_1 or covering part (cannot execute queue-0000000100: MERGE_PARTS with virtual parts [0_3_8_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:21.359996 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d18a2eb0-de24-45be-98d6-9dd5143e07d9::0_3_8_1}: Code: 234. DB::Exception: No active replica has part 0_3_8_1 or covering part (cannot execute queue-0000000100: MERGE_PARTS with virtual parts [0_3_8_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:22.118567 [ 920 ] {} test_iijp2oqj.dst_6 (bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c): Do not enqueue part 6_13_21_2 for check because it's covered by drop range 6_0_21_999999999_999999999 and going to be removed 2024.12.17 02:19:22.119397 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c::6_13_21_2}: Code: 234. DB::Exception: No active replica has part 6_13_21_2 or covering part (cannot execute queue-0000000235: MERGE_PARTS with virtual parts [6_13_21_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:22.124666 [ 911 ] {} test_iijp2oqj.dst_4 (0075ee94-b5ce-4756-a6f3-51c1d57f81de): Do not enqueue part 6_13_21_2 for check because it's covered by drop range 6_0_21_999999999_999999999 and going to be removed 2024.12.17 02:19:22.213298 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0075ee94-b5ce-4756-a6f3-51c1d57f81de::6_13_21_2}: Code: 234. DB::Exception: No active replica has part 6_13_21_2 or covering part (cannot execute queue-0000000235: MERGE_PARTS with virtual parts [6_13_21_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:22.218491 [ 912 ] {} test_iijp2oqj.dst_8 (da12a62e-0bc8-4c43-a91c-a9e61fbca5e1): Do not enqueue part 6_13_21_2 for check because it's covered by drop range 6_0_21_999999999_999999999 and going to be removed 2024.12.17 02:19:22.219274 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da12a62e-0bc8-4c43-a91c-a9e61fbca5e1::6_13_21_2}: Code: 234. DB::Exception: No active replica has part 6_13_21_2 or covering part (cannot execute queue-0000000235: MERGE_PARTS with virtual parts [6_13_21_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:22.219792 [ 921 ] {} test_iijp2oqj.dst_12 (b8a9604b-e6c0-4704-a50b-1c2e3d44ef43): Do not enqueue part 6_13_21_2 for check because it's covered by drop range 6_0_21_999999999_999999999 and going to be removed 2024.12.17 02:19:22.221252 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {b8a9604b-e6c0-4704-a50b-1c2e3d44ef43::6_13_21_2}: Code: 234. DB::Exception: No active replica has part 6_13_21_2 or covering part (cannot execute queue-0000000235: MERGE_PARTS with virtual parts [6_13_21_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:22.231475 [ 914 ] {} test_iijp2oqj.dst_14 (da136df2-6195-41dd-bbb7-74f3f0766433): Do not enqueue part 6_13_21_2 for check because it's covered by drop range 6_0_21_999999999_999999999 and going to be removed 2024.12.17 02:19:22.232533 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da136df2-6195-41dd-bbb7-74f3f0766433::6_13_21_2}: Code: 234. DB::Exception: No active replica has part 6_13_21_2 or covering part (cannot execute queue-0000000235: MERGE_PARTS with virtual parts [6_13_21_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:22.233846 [ 910 ] {} test_iijp2oqj.dst_1 (f3872107-5fa9-4abf-ac11-e35fbd0c9d5c): Do not enqueue part 6_13_21_2 for check because it's covered by drop range 6_0_21_999999999_999999999 and going to be removed 2024.12.17 02:19:22.234883 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3872107-5fa9-4abf-ac11-e35fbd0c9d5c::6_13_21_2}: Code: 234. DB::Exception: No active replica has part 6_13_21_2 or covering part (cannot execute queue-0000000235: MERGE_PARTS with virtual parts [6_13_21_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:22.237433 [ 918 ] {} test_iijp2oqj.dst_9 (ebf1c8dd-c47d-4b84-8e31-737149ca37db): Do not enqueue part 6_13_21_2 for check because it's covered by drop range 6_0_21_999999999_999999999 and going to be removed 2024.12.17 02:19:22.238664 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::6_13_21_2}: Code: 234. DB::Exception: No active replica has part 6_13_21_2 or covering part (cannot execute queue-0000000235: MERGE_PARTS with virtual parts [6_13_21_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:22.239245 [ 913 ] {} test_iijp2oqj.dst_0 (7e573b1d-5026-47be-a6b2-0479896e550b): Do not enqueue part 6_13_21_2 for check because it's covered by drop range 6_0_21_999999999_999999999 and going to be removed 2024.12.17 02:19:22.240226 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {7e573b1d-5026-47be-a6b2-0479896e550b::6_13_21_2}: Code: 234. DB::Exception: No active replica has part 6_13_21_2 or covering part (cannot execute queue-0000000235: MERGE_PARTS with virtual parts [6_13_21_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:22.243199 [ 908 ] {} test_iijp2oqj.dst_5 (911332f2-b9b1-43eb-8b85-839c286a2074): Do not enqueue part 6_13_21_2 for check because it's covered by drop range 6_0_21_999999999_999999999 and going to be removed 2024.12.17 02:19:22.244366 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {911332f2-b9b1-43eb-8b85-839c286a2074::6_13_21_2}: Code: 234. DB::Exception: No active replica has part 6_13_21_2 or covering part (cannot execute queue-0000000235: MERGE_PARTS with virtual parts [6_13_21_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:22.251341 [ 917 ] {} test_iijp2oqj.dst_13 (f3be0191-0023-45db-92da-268482034d3a): Do not enqueue part 6_13_21_2 for check because it's covered by drop range 6_0_21_999999999_999999999 and going to be removed 2024.12.17 02:19:22.252437 [ 909 ] {} test_iijp2oqj.dst_15 (ccbbcf3d-e5fe-4d47-886d-22ddc898c125): Do not enqueue part 6_13_21_2 for check because it's covered by drop range 6_0_21_999999999_999999999 and going to be removed 2024.12.17 02:19:22.252478 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3be0191-0023-45db-92da-268482034d3a::6_13_21_2}: Code: 234. DB::Exception: No active replica has part 6_13_21_2 or covering part (cannot execute queue-0000000235: MERGE_PARTS with virtual parts [6_13_21_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:22.253489 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ccbbcf3d-e5fe-4d47-886d-22ddc898c125::6_13_21_2}: Code: 234. DB::Exception: No active replica has part 6_13_21_2 or covering part (cannot execute queue-0000000235: MERGE_PARTS with virtual parts [6_13_21_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:22.362058 [ 72968 ] {b086fb6b-e7d3-4f82-a1e7-cb3606b3ad60} executeQuery: Code: 48. DB::Exception: Table test_iijp2oqj.src_12 (076de632-e048-4321-8ca7-c1683ee054e0) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40658) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_12 MOVE PARTITION 1 TO TABLE dst_5), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:19:22.363458 [ 72968 ] {b086fb6b-e7d3-4f82-a1e7-cb3606b3ad60} TCPHandler: Code: 48. DB::Exception: Table test_iijp2oqj.src_12 (076de632-e048-4321-8ca7-c1683ee054e0) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:19:23.465345 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {c3cc39fe-c189-4f6a-8fe3-2f07c97ba354::3_0_9_2}: Code: 234. DB::Exception: No active replica has part 3_0_9_2 or covering part (cannot execute queue-0000000117: MERGE_PARTS with virtual parts [3_0_9_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:23.469189 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d18a2eb0-de24-45be-98d6-9dd5143e07d9::3_0_9_2}: Code: 234. DB::Exception: No active replica has part 3_0_9_2 or covering part (cannot execute queue-0000000117: MERGE_PARTS with virtual parts [3_0_9_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:23.474440 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5a6bafdb-a394-4b2b-adbb-04d590230302::3_0_9_2}: Code: 234. DB::Exception: No active replica has part 3_0_9_2 or covering part (cannot execute queue-0000000117: MERGE_PARTS with virtual parts [3_0_9_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:23.472645 [ 906 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0536d3bd-4fe2-46d9-80fd-5f19e5a7035b::3_0_9_2}: Code: 234. DB::Exception: No active replica has part 3_0_9_2 or covering part (cannot execute queue-0000000117: MERGE_PARTS with virtual parts [3_0_9_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:23.522927 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {c3cc39fe-c189-4f6a-8fe3-2f07c97ba354::3_0_9_2}: Code: 234. DB::Exception: No active replica has part 3_0_9_2 or covering part (cannot execute queue-0000000117: MERGE_PARTS with virtual parts [3_0_9_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:23.549817 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0536d3bd-4fe2-46d9-80fd-5f19e5a7035b::9_5_10_1}: Code: 234. DB::Exception: No active replica has part 9_5_10_1 or covering part (cannot execute queue-0000000118: MERGE_PARTS with virtual parts [9_5_10_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:23.550182 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d13bf144-a29c-4ef9-8386-57592f4de903::9_5_10_1}: Code: 234. DB::Exception: No active replica has part 9_5_10_1 or covering part (cannot execute queue-0000000118: MERGE_PARTS with virtual parts [9_5_10_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:23.553877 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {c3cc39fe-c189-4f6a-8fe3-2f07c97ba354::9_5_10_1}: Code: 234. DB::Exception: No active replica has part 9_5_10_1 or covering part (cannot execute queue-0000000118: MERGE_PARTS with virtual parts [9_5_10_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:23.554814 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5a6bafdb-a394-4b2b-adbb-04d590230302::9_5_10_1}: Code: 234. DB::Exception: No active replica has part 9_5_10_1 or covering part (cannot execute queue-0000000118: MERGE_PARTS with virtual parts [9_5_10_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:23.604905 [ 906 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0536d3bd-4fe2-46d9-80fd-5f19e5a7035b::9_5_10_1}: Code: 234. DB::Exception: No active replica has part 9_5_10_1 or covering part (cannot execute queue-0000000118: MERGE_PARTS with virtual parts [9_5_10_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:26.515407 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c::3_3_18_3}: Code: 234. DB::Exception: No active replica has part 3_3_18_3 or covering part (cannot execute queue-0000000250: MERGE_PARTS with virtual parts [3_3_18_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:26.516832 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {cf57c3a5-4014-4311-a080-ecb8f9557b5d::3_3_18_3}: Code: 234. DB::Exception: No active replica has part 3_3_18_3 or covering part (cannot execute queue-0000000250: MERGE_PARTS with virtual parts [3_3_18_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:26.519721 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0075ee94-b5ce-4756-a6f3-51c1d57f81de::3_3_18_3}: Code: 234. DB::Exception: No active replica has part 3_3_18_3 or covering part (cannot execute queue-0000000250: MERGE_PARTS with virtual parts [3_3_18_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:26.527129 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {911332f2-b9b1-43eb-8b85-839c286a2074::3_3_18_3}: Code: 234. DB::Exception: No active replica has part 3_3_18_3 or covering part (cannot execute queue-0000000250: MERGE_PARTS with virtual parts [3_3_18_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:26.535177 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3be0191-0023-45db-92da-268482034d3a::3_3_18_3}: Code: 234. DB::Exception: No active replica has part 3_3_18_3 or covering part (cannot execute queue-0000000250: MERGE_PARTS with virtual parts [3_3_18_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:26.538645 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78c93390-5def-43d6-8c7e-09677e58e93b::3_3_18_3}: Code: 234. DB::Exception: No active replica has part 3_3_18_3 or covering part (cannot execute queue-0000000250: MERGE_PARTS with virtual parts [3_3_18_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:26.539898 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da136df2-6195-41dd-bbb7-74f3f0766433::3_3_18_3}: Code: 234. DB::Exception: No active replica has part 3_3_18_3 or covering part (cannot execute queue-0000000250: MERGE_PARTS with virtual parts [3_3_18_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:26.541765 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::3_3_18_3}: Code: 234. DB::Exception: No active replica has part 3_3_18_3 or covering part (cannot execute queue-0000000250: MERGE_PARTS with virtual parts [3_3_18_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:27.423139 [ 75018 ] {e92be7ab-1087-43d8-a356-da2a674178f4} executeQuery: Code: 48. DB::Exception: Table test_iijp2oqj.src_15 (d143aa04-174f-48e6-ae8a-31f55a1a1f36) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40856) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE src_15 MOVE PARTITION 3 TO TABLE dst_9), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:19:27.424523 [ 75018 ] {e92be7ab-1087-43d8-a356-da2a674178f4} TCPHandler: Code: 48. DB::Exception: Table test_iijp2oqj.src_15 (d143aa04-174f-48e6-ae8a-31f55a1a1f36) supports movePartitionToTable only for MergeTree family of table engines. Got ReplicatedMergeTree. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2100: DB::StorageMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001e37da45 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5180: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deac655 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:19:27.951687 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d13bf144-a29c-4ef9-8386-57592f4de903::4_4_14_2}: Code: 234. DB::Exception: No active replica has part 4_4_14_2 or covering part (cannot execute queue-0000000149: MERGE_PARTS with virtual parts [4_4_14_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:27.955669 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5a6bafdb-a394-4b2b-adbb-04d590230302::4_4_14_2}: Code: 234. DB::Exception: No active replica has part 4_4_14_2 or covering part (cannot execute queue-0000000149: MERGE_PARTS with virtual parts [4_4_14_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:27.962774 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d18a2eb0-de24-45be-98d6-9dd5143e07d9::4_4_14_2}: Code: 234. DB::Exception: No active replica has part 4_4_14_2 or covering part (cannot execute queue-0000000149: MERGE_PARTS with virtual parts [4_4_14_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.148495 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0075ee94-b5ce-4756-a6f3-51c1d57f81de::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.150292 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3be0191-0023-45db-92da-268482034d3a::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.150881 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ccbbcf3d-e5fe-4d47-886d-22ddc898c125::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.151751 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.156710 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {b8a9604b-e6c0-4704-a50b-1c2e3d44ef43::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.161038 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {911332f2-b9b1-43eb-8b85-839c286a2074::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.162929 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.163714 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da136df2-6195-41dd-bbb7-74f3f0766433::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.179152 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3872107-5fa9-4abf-ac11-e35fbd0c9d5c::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.188914 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {cf57c3a5-4014-4311-a080-ecb8f9557b5d::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.207824 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {941eab8a-98cb-42dc-bd69-eb4b58f8e2ce::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.225807 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {faf9880e-1a14-498c-b730-ba8459353884::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.231997 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {7e573b1d-5026-47be-a6b2-0479896e550b::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.242664 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78c93390-5def-43d6-8c7e-09677e58e93b::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.251006 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d13bf144-a29c-4ef9-8386-57592f4de903::6_7_13_1}: Code: 234. DB::Exception: No active replica has part 6_7_13_1 or covering part (cannot execute queue-0000000153: MERGE_PARTS with virtual parts [6_7_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.256537 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.258654 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5a6bafdb-a394-4b2b-adbb-04d590230302::6_7_13_1}: Code: 234. DB::Exception: No active replica has part 6_7_13_1 or covering part (cannot execute queue-0000000153: MERGE_PARTS with virtual parts [6_7_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.276695 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d18a2eb0-de24-45be-98d6-9dd5143e07d9::6_7_13_1}: Code: 234. DB::Exception: No active replica has part 6_7_13_1 or covering part (cannot execute queue-0000000153: MERGE_PARTS with virtual parts [6_7_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.406107 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {faf9880e-1a14-498c-b730-ba8459353884::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.407708 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {cf57c3a5-4014-4311-a080-ecb8f9557b5d::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.418045 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.426093 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0075ee94-b5ce-4756-a6f3-51c1d57f81de::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.427693 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3be0191-0023-45db-92da-268482034d3a::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.440515 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3be0191-0023-45db-92da-268482034d3a::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.465738 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.475611 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {b8a9604b-e6c0-4704-a50b-1c2e3d44ef43::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.479153 [ 906 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.479745 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {911332f2-b9b1-43eb-8b85-839c286a2074::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.481740 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.488571 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {faf9880e-1a14-498c-b730-ba8459353884::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.489134 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {941eab8a-98cb-42dc-bd69-eb4b58f8e2ce::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.508856 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5a6bafdb-a394-4b2b-adbb-04d590230302::6_7_13_1}: Code: 234. DB::Exception: No active replica has part 6_7_13_1 or covering part (cannot execute queue-0000000153: MERGE_PARTS with virtual parts [6_7_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.526031 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3872107-5fa9-4abf-ac11-e35fbd0c9d5c::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.540330 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d18a2eb0-de24-45be-98d6-9dd5143e07d9::6_7_13_1}: Code: 234. DB::Exception: No active replica has part 6_7_13_1 or covering part (cannot execute queue-0000000153: MERGE_PARTS with virtual parts [6_7_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.548610 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {7e573b1d-5026-47be-a6b2-0479896e550b::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.552794 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {cf57c3a5-4014-4311-a080-ecb8f9557b5d::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.609193 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78c93390-5def-43d6-8c7e-09677e58e93b::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.614287 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {7e573b1d-5026-47be-a6b2-0479896e550b::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.620309 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.632196 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {faf9880e-1a14-498c-b730-ba8459353884::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.641658 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {cf57c3a5-4014-4311-a080-ecb8f9557b5d::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.645577 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0075ee94-b5ce-4756-a6f3-51c1d57f81de::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.648142 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.650165 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.654236 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.654360 [ 906 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0075ee94-b5ce-4756-a6f3-51c1d57f81de::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.664554 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {b8a9604b-e6c0-4704-a50b-1c2e3d44ef43::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.666086 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {911332f2-b9b1-43eb-8b85-839c286a2074::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.667132 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3be0191-0023-45db-92da-268482034d3a::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.669166 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5a6bafdb-a394-4b2b-adbb-04d590230302::6_7_13_1}: Code: 234. DB::Exception: No active replica has part 6_7_13_1 or covering part (cannot execute queue-0000000153: MERGE_PARTS with virtual parts [6_7_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.673124 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {faf9880e-1a14-498c-b730-ba8459353884::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.673528 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {911332f2-b9b1-43eb-8b85-839c286a2074::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.687726 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d18a2eb0-de24-45be-98d6-9dd5143e07d9::6_7_13_1}: Code: 234. DB::Exception: No active replica has part 6_7_13_1 or covering part (cannot execute queue-0000000153: MERGE_PARTS with virtual parts [6_7_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.691588 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.743153 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5a6bafdb-a394-4b2b-adbb-04d590230302::0_3_13_2}: Code: 234. DB::Exception: No active replica has part 0_3_13_2 or covering part (cannot execute queue-0000000156: MERGE_PARTS with virtual parts [0_3_13_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.765244 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3872107-5fa9-4abf-ac11-e35fbd0c9d5c::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.784186 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {7e573b1d-5026-47be-a6b2-0479896e550b::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.788063 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {7e573b1d-5026-47be-a6b2-0479896e550b::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.790778 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78c93390-5def-43d6-8c7e-09677e58e93b::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.792423 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.793997 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {cf57c3a5-4014-4311-a080-ecb8f9557b5d::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.805183 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {faf9880e-1a14-498c-b730-ba8459353884::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.809077 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::2_8_19_3}: Code: 234. DB::Exception: No active replica has part 2_8_19_3 or covering part (cannot execute queue-0000000264: MERGE_PARTS with virtual parts [2_8_19_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.809375 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0075ee94-b5ce-4756-a6f3-51c1d57f81de::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.809504 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.814868 [ 906 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {cf57c3a5-4014-4311-a080-ecb8f9557b5d::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.822617 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.836266 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0075ee94-b5ce-4756-a6f3-51c1d57f81de::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.841638 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {b8a9604b-e6c0-4704-a50b-1c2e3d44ef43::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.851367 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5a6bafdb-a394-4b2b-adbb-04d590230302::1_11_16_1}: Code: 234. DB::Exception: No active replica has part 1_11_16_1 or covering part (cannot execute queue-0000000154: MERGE_PARTS with virtual parts [1_11_16_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.854773 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {b8a9604b-e6c0-4704-a50b-1c2e3d44ef43::2_8_19_3}: Code: 234. DB::Exception: No active replica has part 2_8_19_3 or covering part (cannot execute queue-0000000264: MERGE_PARTS with virtual parts [2_8_19_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.907339 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {faf9880e-1a14-498c-b730-ba8459353884::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.959815 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {911332f2-b9b1-43eb-8b85-839c286a2074::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.961105 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.966127 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {7e573b1d-5026-47be-a6b2-0479896e550b::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.969569 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3872107-5fa9-4abf-ac11-e35fbd0c9d5c::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.976296 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::2_8_19_3}: Code: 234. DB::Exception: No active replica has part 2_8_19_3 or covering part (cannot execute queue-0000000264: MERGE_PARTS with virtual parts [2_8_19_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.986215 [ 906 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78c93390-5def-43d6-8c7e-09677e58e93b::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.991476 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {faf9880e-1a14-498c-b730-ba8459353884::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:28.993630 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:29.000789 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::2_8_19_3}: Code: 234. DB::Exception: No active replica has part 2_8_19_3 or covering part (cannot execute queue-0000000264: MERGE_PARTS with virtual parts [2_8_19_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:29.001473 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5a6bafdb-a394-4b2b-adbb-04d590230302::6_7_13_1}: Code: 234. DB::Exception: No active replica has part 6_7_13_1 or covering part (cannot execute queue-0000000153: MERGE_PARTS with virtual parts [6_7_13_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:29.005017 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::9_6_20_3}: Code: 234. DB::Exception: No active replica has part 9_6_20_3 or covering part (cannot execute queue-0000000262: MERGE_PARTS with virtual parts [9_6_20_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:29.014181 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {cf57c3a5-4014-4311-a080-ecb8f9557b5d::7_19_24_1}: Code: 234. DB::Exception: No active replica has part 7_19_24_1 or covering part (cannot execute queue-0000000263: MERGE_PARTS with virtual parts [7_19_24_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:29.018586 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5a6bafdb-a394-4b2b-adbb-04d590230302::0_3_13_2}: Code: 234. DB::Exception: No active replica has part 0_3_13_2 or covering part (cannot execute queue-0000000156: MERGE_PARTS with virtual parts [0_3_13_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:29.021078 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5a6bafdb-a394-4b2b-adbb-04d590230302::7_2_13_2}: Code: 234. DB::Exception: No active replica has part 7_2_13_2 or covering part (cannot execute queue-0000000155: MERGE_PARTS with virtual parts [7_2_13_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:29.033091 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5a6bafdb-a394-4b2b-adbb-04d590230302::1_11_16_1}: Code: 234. DB::Exception: No active replica has part 1_11_16_1 or covering part (cannot execute queue-0000000154: MERGE_PARTS with virtual parts [1_11_16_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:29.150992 [ 906 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {b8a9604b-e6c0-4704-a50b-1c2e3d44ef43::2_8_19_3}: Code: 234. DB::Exception: No active replica has part 2_8_19_3 or covering part (cannot execute queue-0000000264: MERGE_PARTS with virtual parts [2_8_19_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:29.168162 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5a6bafdb-a394-4b2b-adbb-04d590230302::0_3_13_2}: Code: 234. DB::Exception: No active replica has part 0_3_13_2 or covering part (cannot execute queue-0000000156: MERGE_PARTS with virtual parts [0_3_13_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:29.193007 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::2_8_19_3}: Code: 234. DB::Exception: No active replica has part 2_8_19_3 or covering part (cannot execute queue-0000000264: MERGE_PARTS with virtual parts [2_8_19_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:29.211369 [ 75012 ] {f98867c3-398c-43ae-b9d2-97d2473ee4e1} executeQuery: Code: 232. DB::Exception: No part 7_20_20_0 in committed state. (NO_SUCH_DATA_PART) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40868) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_0 DROP PART '7_20_20_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4984: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x000000001deaa0f0 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5138: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deabef0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:19:29.212809 [ 75012 ] {f98867c3-398c-43ae-b9d2-97d2473ee4e1} TCPHandler: Code: 232. DB::Exception: No part 7_20_20_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4984: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x000000001deaa0f0 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5138: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deabef0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:19:29.235278 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::2_8_19_3}: Code: 234. DB::Exception: No active replica has part 2_8_19_3 or covering part (cannot execute queue-0000000264: MERGE_PARTS with virtual parts [2_8_19_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:29.281237 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d13bf144-a29c-4ef9-8386-57592f4de903::0_3_13_2}: Code: 234. DB::Exception: No active replica has part 0_3_13_2 or covering part (cannot execute queue-0000000156: MERGE_PARTS with virtual parts [0_3_13_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:29.287073 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5a6bafdb-a394-4b2b-adbb-04d590230302::0_3_13_2}: Code: 234. DB::Exception: No active replica has part 0_3_13_2 or covering part (cannot execute queue-0000000156: MERGE_PARTS with virtual parts [0_3_13_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:29.449259 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {b8a9604b-e6c0-4704-a50b-1c2e3d44ef43::2_8_19_3}: Code: 234. DB::Exception: No active replica has part 2_8_19_3 or covering part (cannot execute queue-0000000264: MERGE_PARTS with virtual parts [2_8_19_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:29.533761 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::2_8_19_3}: Code: 234. DB::Exception: No active replica has part 2_8_19_3 or covering part (cannot execute queue-0000000264: MERGE_PARTS with virtual parts [2_8_19_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.295653 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ccbbcf3d-e5fe-4d47-886d-22ddc898c125::0_18_23_1}: Code: 234. DB::Exception: No active replica has part 0_18_23_1 or covering part (cannot execute queue-0000000291: MERGE_PARTS with virtual parts [0_18_23_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.485761 [ 931 ] {} test_iijp2oqj.dst_10 (78c93390-5def-43d6-8c7e-09677e58e93b): Do not enqueue part 1_20_20_0 for check because it's covered by drop range 1_0_21_999999999_999999999 and going to be removed 2024.12.17 02:19:34.547964 [ 934 ] {} test_iijp2oqj.dst_6 (bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c): Do not enqueue part 1_20_20_0 for check because it's covered by drop range 1_0_21_999999999_999999999 and going to be removed 2024.12.17 02:19:34.566612 [ 933 ] {} test_iijp2oqj.dst_3 (941eab8a-98cb-42dc-bd69-eb4b58f8e2ce): Do not enqueue part 1_20_20_0 for check because it's covered by drop range 1_0_21_999999999_999999999 and going to be removed 2024.12.17 02:19:34.578306 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78c93390-5def-43d6-8c7e-09677e58e93b::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.586523 [ 935 ] {} test_iijp2oqj.dst_5 (911332f2-b9b1-43eb-8b85-839c286a2074): Do not enqueue part 1_20_20_0 for check because it's covered by drop range 1_0_21_999999999_999999999 and going to be removed 2024.12.17 02:19:34.624873 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {faf9880e-1a14-498c-b730-ba8459353884::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.627478 [ 906 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3872107-5fa9-4abf-ac11-e35fbd0c9d5c::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.638189 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {b8a9604b-e6c0-4704-a50b-1c2e3d44ef43::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.644258 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {cf57c3a5-4014-4311-a080-ecb8f9557b5d::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.649877 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.659611 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da136df2-6195-41dd-bbb7-74f3f0766433::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.670504 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.674132 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {941eab8a-98cb-42dc-bd69-eb4b58f8e2ce::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.682343 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {911332f2-b9b1-43eb-8b85-839c286a2074::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.700260 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ccbbcf3d-e5fe-4d47-886d-22ddc898c125::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.702161 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3be0191-0023-45db-92da-268482034d3a::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.707729 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da12a62e-0bc8-4c43-a91c-a9e61fbca5e1::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.725687 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.733946 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da136df2-6195-41dd-bbb7-74f3f0766433::8_21_26_3}: Code: 234. DB::Exception: No active replica has part 8_21_26_3 or covering part (cannot execute queue-0000000297: MERGE_PARTS with virtual parts [8_21_26_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.746216 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d13bf144-a29c-4ef9-8386-57592f4de903::9_5_15_2}: Code: 234. DB::Exception: No active replica has part 9_5_15_2 or covering part (cannot execute queue-0000000177: MERGE_PARTS with virtual parts [9_5_15_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.806646 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0075ee94-b5ce-4756-a6f3-51c1d57f81de::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.927222 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78c93390-5def-43d6-8c7e-09677e58e93b::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.938190 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {faf9880e-1a14-498c-b730-ba8459353884::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.940625 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3872107-5fa9-4abf-ac11-e35fbd0c9d5c::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.957497 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {cf57c3a5-4014-4311-a080-ecb8f9557b5d::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.959913 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {b8a9604b-e6c0-4704-a50b-1c2e3d44ef43::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.965269 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.967347 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da136df2-6195-41dd-bbb7-74f3f0766433::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.981140 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {941eab8a-98cb-42dc-bd69-eb4b58f8e2ce::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:34.992267 [ 906 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:35.012072 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3be0191-0023-45db-92da-268482034d3a::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:35.015240 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {911332f2-b9b1-43eb-8b85-839c286a2074::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:35.015552 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ccbbcf3d-e5fe-4d47-886d-22ddc898c125::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:35.027428 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da12a62e-0bc8-4c43-a91c-a9e61fbca5e1::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:35.032835 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:35.041020 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da136df2-6195-41dd-bbb7-74f3f0766433::8_21_26_3}: Code: 234. DB::Exception: No active replica has part 8_21_26_3 or covering part (cannot execute queue-0000000297: MERGE_PARTS with virtual parts [8_21_26_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:35.099822 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0075ee94-b5ce-4756-a6f3-51c1d57f81de::8_21_26_3}: Code: 234. DB::Exception: No active replica has part 8_21_26_3 or covering part (cannot execute queue-0000000297: MERGE_PARTS with virtual parts [8_21_26_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:35.195769 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0075ee94-b5ce-4756-a6f3-51c1d57f81de::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:35.205690 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {faf9880e-1a14-498c-b730-ba8459353884::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:35.208287 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {78c93390-5def-43d6-8c7e-09677e58e93b::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:35.216910 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3872107-5fa9-4abf-ac11-e35fbd0c9d5c::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:35.225116 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {b8a9604b-e6c0-4704-a50b-1c2e3d44ef43::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:35.269199 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::4_25_30_1}: Code: 234. DB::Exception: No active replica has part 4_25_30_1 or covering part (cannot execute queue-0000000295: MERGE_PARTS with virtual parts [4_25_30_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:35.448537 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {c3cc39fe-c189-4f6a-8fe3-2f07c97ba354::3_0_14_3}: Code: 234. DB::Exception: No active replica has part 3_0_14_3 or covering part (cannot execute queue-0000000179: MERGE_PARTS with virtual parts [3_0_14_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:35.463534 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5a6bafdb-a394-4b2b-adbb-04d590230302::3_0_14_3}: Code: 234. DB::Exception: No active replica has part 3_0_14_3 or covering part (cannot execute queue-0000000179: MERGE_PARTS with virtual parts [3_0_14_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:35.469281 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d13bf144-a29c-4ef9-8386-57592f4de903::3_0_14_3}: Code: 234. DB::Exception: No active replica has part 3_0_14_3 or covering part (cannot execute queue-0000000179: MERGE_PARTS with virtual parts [3_0_14_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:35.502360 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0536d3bd-4fe2-46d9-80fd-5f19e5a7035b::3_0_14_3}: Code: 234. DB::Exception: No active replica has part 3_0_14_3 or covering part (cannot execute queue-0000000179: MERGE_PARTS with virtual parts [3_0_14_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:35.541692 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d13bf144-a29c-4ef9-8386-57592f4de903::3_0_14_3}: Code: 234. DB::Exception: No active replica has part 3_0_14_3 or covering part (cannot execute queue-0000000179: MERGE_PARTS with virtual parts [3_0_14_3]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:35.861017 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d13bf144-a29c-4ef9-8386-57592f4de903::2_0_15_4}: Code: 234. DB::Exception: No active replica has part 2_0_15_4 or covering part (cannot execute queue-0000000180: MERGE_PARTS with virtual parts [2_0_15_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:37.143052 [ 75016 ] {01a22100-a753-4392-ba1f-42c3844b3561} executeQuery: Code: 232. DB::Exception: No part 4_29_29_0 in committed state. (NO_SUCH_DATA_PART) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:52832) (comment: 01154_move_partition_long.sh) (in query: ALTER TABLE dst_9 DROP PART '4_29_29_0'), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4984: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x000000001deaa0f0 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5138: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deabef0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:19:37.144452 [ 75016 ] {01a22100-a753-4392-ba1f-42c3844b3561} TCPHandler: Code: 232. DB::Exception: No part 4_29_29_0 in committed state. (NO_SUCH_DATA_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:4984: DB::MergeTreeData::checkPartCanBeDropped(String const&) @ 0x000000001deaa0f0 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5138: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deabef0 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:19:38.328500 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {bee8afa6-534b-4fd6-9e74-e4e0ff3a8c3c::2_8_24_4}: Code: 234. DB::Exception: No active replica has part 2_8_24_4 or covering part (cannot execute queue-0000000316: MERGE_PARTS with virtual parts [2_8_24_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.331199 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3be0191-0023-45db-92da-268482034d3a::2_8_24_4}: Code: 234. DB::Exception: No active replica has part 2_8_24_4 or covering part (cannot execute queue-0000000316: MERGE_PARTS with virtual parts [2_8_24_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.333213 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {941eab8a-98cb-42dc-bd69-eb4b58f8e2ce::2_8_24_4}: Code: 234. DB::Exception: No active replica has part 2_8_24_4 or covering part (cannot execute queue-0000000316: MERGE_PARTS with virtual parts [2_8_24_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.340009 [ 906 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da136df2-6195-41dd-bbb7-74f3f0766433::2_8_24_4}: Code: 234. DB::Exception: No active replica has part 2_8_24_4 or covering part (cannot execute queue-0000000316: MERGE_PARTS with virtual parts [2_8_24_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.340391 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0075ee94-b5ce-4756-a6f3-51c1d57f81de::2_8_24_4}: Code: 234. DB::Exception: No active replica has part 2_8_24_4 or covering part (cannot execute queue-0000000316: MERGE_PARTS with virtual parts [2_8_24_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.340573 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::2_8_24_4}: Code: 234. DB::Exception: No active replica has part 2_8_24_4 or covering part (cannot execute queue-0000000316: MERGE_PARTS with virtual parts [2_8_24_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.341990 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {cf57c3a5-4014-4311-a080-ecb8f9557b5d::2_8_24_4}: Code: 234. DB::Exception: No active replica has part 2_8_24_4 or covering part (cannot execute queue-0000000316: MERGE_PARTS with virtual parts [2_8_24_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.342615 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::2_8_24_4}: Code: 234. DB::Exception: No active replica has part 2_8_24_4 or covering part (cannot execute queue-0000000316: MERGE_PARTS with virtual parts [2_8_24_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.346474 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da12a62e-0bc8-4c43-a91c-a9e61fbca5e1::2_8_24_4}: Code: 234. DB::Exception: No active replica has part 2_8_24_4 or covering part (cannot execute queue-0000000316: MERGE_PARTS with virtual parts [2_8_24_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.350765 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {b8a9604b-e6c0-4704-a50b-1c2e3d44ef43::2_8_24_4}: Code: 234. DB::Exception: No active replica has part 2_8_24_4 or covering part (cannot execute queue-0000000316: MERGE_PARTS with virtual parts [2_8_24_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.356292 [ 909 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3872107-5fa9-4abf-ac11-e35fbd0c9d5c::2_8_24_4}: Code: 234. DB::Exception: No active replica has part 2_8_24_4 or covering part (cannot execute queue-0000000316: MERGE_PARTS with virtual parts [2_8_24_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.359971 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {911332f2-b9b1-43eb-8b85-839c286a2074::2_8_24_4}: Code: 234. DB::Exception: No active replica has part 2_8_24_4 or covering part (cannot execute queue-0000000316: MERGE_PARTS with virtual parts [2_8_24_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.503147 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da12a62e-0bc8-4c43-a91c-a9e61fbca5e1::9_6_25_4}: Code: 234. DB::Exception: No active replica has part 9_6_25_4 or covering part (cannot execute queue-0000000317: MERGE_PARTS with virtual parts [9_6_25_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.584831 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {911332f2-b9b1-43eb-8b85-839c286a2074::9_6_25_4}: Code: 234. DB::Exception: No active replica has part 9_6_25_4 or covering part (cannot execute queue-0000000317: MERGE_PARTS with virtual parts [9_6_25_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.607843 [ 919 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da136df2-6195-41dd-bbb7-74f3f0766433::9_6_25_4}: Code: 234. DB::Exception: No active replica has part 9_6_25_4 or covering part (cannot execute queue-0000000317: MERGE_PARTS with virtual parts [9_6_25_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.608032 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {cf57c3a5-4014-4311-a080-ecb8f9557b5d::9_6_25_4}: Code: 234. DB::Exception: No active replica has part 9_6_25_4 or covering part (cannot execute queue-0000000317: MERGE_PARTS with virtual parts [9_6_25_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.610575 [ 918 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3872107-5fa9-4abf-ac11-e35fbd0c9d5c::9_6_25_4}: Code: 234. DB::Exception: No active replica has part 9_6_25_4 or covering part (cannot execute queue-0000000317: MERGE_PARTS with virtual parts [9_6_25_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.611151 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {941eab8a-98cb-42dc-bd69-eb4b58f8e2ce::9_6_25_4}: Code: 234. DB::Exception: No active replica has part 9_6_25_4 or covering part (cannot execute queue-0000000317: MERGE_PARTS with virtual parts [9_6_25_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.611486 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {7e573b1d-5026-47be-a6b2-0479896e550b::9_6_25_4}: Code: 234. DB::Exception: No active replica has part 9_6_25_4 or covering part (cannot execute queue-0000000317: MERGE_PARTS with virtual parts [9_6_25_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.618450 [ 906 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {b8a9604b-e6c0-4704-a50b-1c2e3d44ef43::9_6_25_4}: Code: 234. DB::Exception: No active replica has part 9_6_25_4 or covering part (cannot execute queue-0000000317: MERGE_PARTS with virtual parts [9_6_25_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.619367 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ebf1c8dd-c47d-4b84-8e31-737149ca37db::9_6_25_4}: Code: 234. DB::Exception: No active replica has part 9_6_25_4 or covering part (cannot execute queue-0000000317: MERGE_PARTS with virtual parts [9_6_25_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.619768 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3be0191-0023-45db-92da-268482034d3a::9_6_25_4}: Code: 234. DB::Exception: No active replica has part 9_6_25_4 or covering part (cannot execute queue-0000000317: MERGE_PARTS with virtual parts [9_6_25_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.626347 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::9_6_25_4}: Code: 234. DB::Exception: No active replica has part 9_6_25_4 or covering part (cannot execute queue-0000000317: MERGE_PARTS with virtual parts [9_6_25_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.633702 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ccbbcf3d-e5fe-4d47-886d-22ddc898c125::9_6_25_4}: Code: 234. DB::Exception: No active replica has part 9_6_25_4 or covering part (cannot execute queue-0000000317: MERGE_PARTS with virtual parts [9_6_25_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.750759 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d13bf144-a29c-4ef9-8386-57592f4de903::5_12_17_1}: Code: 234. DB::Exception: No active replica has part 5_12_17_1 or covering part (cannot execute queue-0000000202: MERGE_PARTS with virtual parts [5_12_17_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.754487 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5a6bafdb-a394-4b2b-adbb-04d590230302::5_12_17_1}: Code: 234. DB::Exception: No active replica has part 5_12_17_1 or covering part (cannot execute queue-0000000202: MERGE_PARTS with virtual parts [5_12_17_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.755612 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d18a2eb0-de24-45be-98d6-9dd5143e07d9::5_12_17_1}: Code: 234. DB::Exception: No active replica has part 5_12_17_1 or covering part (cannot execute queue-0000000202: MERGE_PARTS with virtual parts [5_12_17_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.756532 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0536d3bd-4fe2-46d9-80fd-5f19e5a7035b::5_12_17_1}: Code: 234. DB::Exception: No active replica has part 5_12_17_1 or covering part (cannot execute queue-0000000202: MERGE_PARTS with virtual parts [5_12_17_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.799892 [ 921 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da12a62e-0bc8-4c43-a91c-a9e61fbca5e1::9_6_25_4}: Code: 234. DB::Exception: No active replica has part 9_6_25_4 or covering part (cannot execute queue-0000000317: MERGE_PARTS with virtual parts [9_6_25_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.807490 [ 920 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {da136df2-6195-41dd-bbb7-74f3f0766433::9_6_25_4}: Code: 234. DB::Exception: No active replica has part 9_6_25_4 or covering part (cannot execute queue-0000000317: MERGE_PARTS with virtual parts [9_6_25_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.815226 [ 916 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {7e573b1d-5026-47be-a6b2-0479896e550b::9_6_25_4}: Code: 234. DB::Exception: No active replica has part 9_6_25_4 or covering part (cannot execute queue-0000000317: MERGE_PARTS with virtual parts [9_6_25_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.834799 [ 914 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d13bf144-a29c-4ef9-8386-57592f4de903::5_12_17_1}: Code: 234. DB::Exception: No active replica has part 5_12_17_1 or covering part (cannot execute queue-0000000202: MERGE_PARTS with virtual parts [5_12_17_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.835466 [ 910 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5a6bafdb-a394-4b2b-adbb-04d590230302::5_12_17_1}: Code: 234. DB::Exception: No active replica has part 5_12_17_1 or covering part (cannot execute queue-0000000202: MERGE_PARTS with virtual parts [5_12_17_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.842607 [ 911 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3872107-5fa9-4abf-ac11-e35fbd0c9d5c::9_6_25_4}: Code: 234. DB::Exception: No active replica has part 9_6_25_4 or covering part (cannot execute queue-0000000317: MERGE_PARTS with virtual parts [9_6_25_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.844941 [ 912 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {941eab8a-98cb-42dc-bd69-eb4b58f8e2ce::9_6_25_4}: Code: 234. DB::Exception: No active replica has part 9_6_25_4 or covering part (cannot execute queue-0000000317: MERGE_PARTS with virtual parts [9_6_25_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.849806 [ 917 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {cf57c3a5-4014-4311-a080-ecb8f9557b5d::9_6_25_4}: Code: 234. DB::Exception: No active replica has part 9_6_25_4 or covering part (cannot execute queue-0000000317: MERGE_PARTS with virtual parts [9_6_25_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.852435 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d18a2eb0-de24-45be-98d6-9dd5143e07d9::5_12_17_1}: Code: 234. DB::Exception: No active replica has part 5_12_17_1 or covering part (cannot execute queue-0000000202: MERGE_PARTS with virtual parts [5_12_17_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.855880 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {b8a9604b-e6c0-4704-a50b-1c2e3d44ef43::9_6_25_4}: Code: 234. DB::Exception: No active replica has part 9_6_25_4 or covering part (cannot execute queue-0000000317: MERGE_PARTS with virtual parts [9_6_25_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.859882 [ 915 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {0536d3bd-4fe2-46d9-80fd-5f19e5a7035b::5_12_17_1}: Code: 234. DB::Exception: No active replica has part 5_12_17_1 or covering part (cannot execute queue-0000000202: MERGE_PARTS with virtual parts [5_12_17_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.882546 [ 908 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {ef6e68f2-e6f5-41c5-b282-f921bb115972::9_6_25_4}: Code: 234. DB::Exception: No active replica has part 9_6_25_4 or covering part (cannot execute queue-0000000317: MERGE_PARTS with virtual parts [9_6_25_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.894548 [ 906 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {f3be0191-0023-45db-92da-268482034d3a::9_6_25_4}: Code: 234. DB::Exception: No active replica has part 9_6_25_4 or covering part (cannot execute queue-0000000317: MERGE_PARTS with virtual parts [9_6_25_4]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.976675 [ 907 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5a6bafdb-a394-4b2b-adbb-04d590230302::5_12_17_1}: Code: 234. DB::Exception: No active replica has part 5_12_17_1 or covering part (cannot execute queue-0000000202: MERGE_PARTS with virtual parts [5_12_17_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:38.986333 [ 913 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {d13bf144-a29c-4ef9-8386-57592f4de903::5_12_17_1}: Code: 234. DB::Exception: No active replica has part 5_12_17_1 or covering part (cannot execute queue-0000000202: MERGE_PARTS with virtual parts [5_12_17_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x000000001ac028c8 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:1940: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001d82d7d8 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl()::$_1::operator()(bool) const @ 0x000000001e2785b4 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:179: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001e27737f in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001e275de0 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:273: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001de5186d in /usr/bin/clickhouse 11. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:338: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001de522ce in /usr/bin/clickhouse 12. /build/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()::operator()() const @ 0x000000001de5a7b8 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>()()) std::__invoke[abi:v15000]::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a795 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'()&) @ 0x000000001de5a775 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001de5a755 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001de5a71d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 20. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 22. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 24. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 31. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:19:39.566262 [ 75016 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:52914). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000013cebd6c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000013ceafe0 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::TCPHandler::runImpl() @ 0x000000001e641041 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 15. ? @ 0x00007f3559e74ac3 in ? 16. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:21:03.926747 [ 75622 ] {d655c0d3-abdc-40dd-8dcd-b045b9cfbd1c} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE mv; to attach existing table or CREATE TABLE mv ; to create new table or ATTACH TABLE mv FROM '/path/to/data/'
; to create new table and attach data. 2024.12.17 02:21:04.178767 [ 75622 ] {1c537f0b-342a-4a12-910c-1aeaaa01cdec} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE mv; to attach existing table or CREATE TABLE mv
; to create new table or ATTACH TABLE mv FROM '/path/to/data/'
; to create new table and attach data. 2024.12.17 02:21:04.395566 [ 75622 ] {64f61da0-eae3-45af-abec-ecbc855a636a} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE mv; to attach existing table or CREATE TABLE mv
; to create new table or ATTACH TABLE mv FROM '/path/to/data/'
; to create new table and attach data. 2024.12.17 02:21:04.399053 [ 75622 ] {64f61da0-eae3-45af-abec-ecbc855a636a} executeQuery: Code: 36. DB::Exception: Materialized view test_pvf5td11.mv cannot point to itself. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42554) (comment: 01153_attach_mv_uuid.sql) (in query: ATTACH MATERIALIZED VIEW mv UUID '3bd68e3c-2693-4352-ad66-a66eba9e345e' TO INNER UUID '3bd68e3c-2693-4352-ad66-a66eba9e345e' (n Int32, n2 Int64) ENGINE = MergeTree PARTITION BY n % 10 ORDER BY n AS SELECT n, n * n AS n2 FROM src;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMaterializedView.cpp:97: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x000000001d7282bf in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72e3fa in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72e16d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72de39 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72dc8e in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72dbf4 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMaterializedView.cpp:491: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d72d02d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72cfbd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72cf5d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001d72cf1d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001d72cee5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 02:21:04.400600 [ 75622 ] {64f61da0-eae3-45af-abec-ecbc855a636a} TCPHandler: Code: 36. DB::Exception: Materialized view test_pvf5td11.mv cannot point to itself. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/StorageMaterializedView.cpp:97: DB::StorageMaterializedView::StorageMaterializedView(DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool, String const&) @ 0x000000001d7282bf in /usr/bin/clickhouse 7. /build/contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageMaterializedView* std::construct_at[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, DB::StorageMaterializedView*>(DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72e3fa in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:302: void std::allocator_traits>::construct[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void, void>(std::allocator&, DB::StorageMaterializedView*, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72e16d in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:292: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&>(std::allocator, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72de39 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, std::shared_ptr, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(std::allocator const&, DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72dc8e in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::make_shared[abi:v15000], DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&, void>(DB::StorageID const&, std::shared_ptr&&, DB::ASTCreateQuery const&, DB::ColumnsDescription const&, bool const&, String const&) @ 0x000000001d72dbf4 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMaterializedView.cpp:491: DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d72d02d in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()(std::declval())) std::__invoke[abi:v15000](DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72cfbd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call(DB::registerStorageMaterializedView(DB::StorageFactory&)::$_0&, DB::StorageFactory::Arguments const&) @ 0x000000001d72cf5d in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001d72cf1d in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001d72cee5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 19. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 20. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 21. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 23. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 24. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 25. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 27. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 28. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 29. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 30. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 31. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 2024.12.17 02:21:06.390970 [ 75622 ] {17b0c644-b034-40f7-b8e9-0a62f6f5415c} executeQuery: Code: 36. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42558) (comment: 01148_zookeeper_path_macros_unfolding.sql) (in query: CREATE TABLE rmt (n UInt64, s String) ENGINE = ReplicatedMergeTree('{default_path_test}{uuid}', '{default_name_test}') ORDER BY n;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [126]) @ 0x000000000b199ebe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:101: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x00000000138f3404 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:353: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x000000001e359a36 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:397: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e355d86 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:21:06.391852 [ 75622 ] {17b0c644-b034-40f7-b8e9-0a62f6f5415c} TCPHandler: Code: 36. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [126]) @ 0x000000000b199ebe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:101: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x00000000138f3404 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:353: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x000000001e359a36 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:397: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e355d86 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:21:06.578362 [ 75622 ] {f1e4fb29-7ed5-4c5f-a49c-d42b56c8df07} executeQuery: Code: 48. DB::Exception: Cannot rename Replicated table, because zookeeper_path contains implicit 'database' or 'table' macro. We cannot rename path in ZooKeeper, so path may become inconsistent with table name. If you really want to rename table, you should edit metadata file first and restart server or reattach the table. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42558) (comment: 01148_zookeeper_path_macros_unfolding.sql) (in query: RENAME TABLE rmt TO rmt2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [301]) @ 0x000000001d8e9ede in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:6196: DB::StorageReplicatedMergeTree::checkTableCanBeRenamed(DB::StorageID const&) const @ 0x000000001d8855d6 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseAtomic.cpp:249: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001bad7a20 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:141: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001ca96ccc in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterRenameQuery.cpp:75: DB::InterpreterRenameQuery::execute() @ 0x000000001ca95799 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:21:06.579065 [ 75622 ] {f1e4fb29-7ed5-4c5f-a49c-d42b56c8df07} TCPHandler: Code: 48. DB::Exception: Cannot rename Replicated table, because zookeeper_path contains implicit 'database' or 'table' macro. We cannot rename path in ZooKeeper, so path may become inconsistent with table name. If you really want to rename table, you should edit metadata file first and restart server or reattach the table. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [301]) @ 0x000000001d8e9ede in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:6196: DB::StorageReplicatedMergeTree::checkTableCanBeRenamed(DB::StorageID const&) const @ 0x000000001d8855d6 in /usr/bin/clickhouse 7. /build/src/Databases/DatabaseAtomic.cpp:249: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001bad7a20 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterRenameQuery.cpp:141: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001ca96ccc in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterRenameQuery.cpp:75: DB::InterpreterRenameQuery::execute() @ 0x000000001ca95799 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:21:06.962128 [ 75622 ] {55eead76-328c-4772-aaf7-a4279031fa63} executeQuery: Code: 36. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42558) (comment: 01148_zookeeper_path_macros_unfolding.sql) (in query: CREATE TABLE test_01148_atomic.rmt3 AS test_01148_atomic.rmt2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [126]) @ 0x000000000b199ebe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:101: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x00000000138f3404 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:353: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x000000001e359a36 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:397: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e355d86 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:21:06.963082 [ 75622 ] {55eead76-328c-4772-aaf7-a4279031fa63} TCPHandler: Code: 36. DB::Exception: Macro 'uuid' and empty arguments of ReplicatedMergeTree are supported only for ON CLUSTER queries with Atomic database engine. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [126]) @ 0x000000000b199ebe in /usr/bin/clickhouse 6. /build/src/Common/Macros.cpp:101: DB::Macros::expand(String const&, DB::Macros::MacroExpansionInfo&) const @ 0x00000000138f3404 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:353: DB::create(DB::StorageFactory::Arguments const&)::$_2::operator()(DB::ASTLiteral*, DB::ASTLiteral*) const @ 0x000000001e359a36 in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/registerStorageMergeTree.cpp:397: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001e355d86 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval (*&)(DB::StorageFactory::Arguments const&)>()(std::declval())) std::__invoke[abi:v15000] (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a27d in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: std::shared_ptr std::__invoke_void_return_wrapper, false>::__call (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&>(std::shared_ptr (*&)(DB::StorageFactory::Arguments const&), DB::StorageFactory::Arguments const&) @ 0x000000001ae1a23d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1fd in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001ae1a1c5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func (DB::StorageFactory::Arguments const&)>::operator()[abi:v15000](DB::StorageFactory::Arguments const&) const @ 0x000000001d69a97e in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function (DB::StorageFactory::Arguments const&)>::operator()(DB::StorageFactory::Arguments const&) const @ 0x000000001d69925d in /usr/bin/clickhouse 15. /build/src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001d697966 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterCreateQuery.cpp:1446: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f53c8 in /usr/bin/clickhouse 17. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 18. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 19. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 20. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 21. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 22. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 24. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 27. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 28. ? @ 0x00007f3559e74ac3 in ? 29. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:21:07.419928 [ 75622 ] {25e136e3-8da5-44c7-9289-a7e4bd686aff} executeQuery: Code: 48. DB::Exception: Cannot move Replicated table to Ordinary database, because zookeeper_path contains implicit 'uuid' macro. If you really want to rename table, you should edit metadata file first and restart server or reattach the table. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42558) (comment: 01148_zookeeper_path_macros_unfolding.sql) (in query: RENAME TABLE test_01148_atomic.rmt3 to test_01148_ordinary.rmt3;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [220]) @ 0x000000001d8e9fde in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:6205: DB::StorageReplicatedMergeTree::checkTableCanBeRenamed(DB::StorageID const&) const @ 0x000000001d88573f in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:6213: DB::StorageReplicatedMergeTree::rename(String const&, DB::StorageID const&) @ 0x000000001d88581a in /usr/bin/clickhouse 8. /build/src/Databases/DatabaseOnDisk.cpp:433: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001bac9b07 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseAtomic.cpp:167: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001bad7481 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterRenameQuery.cpp:141: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001ca96ccc in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterRenameQuery.cpp:75: DB::InterpreterRenameQuery::execute() @ 0x000000001ca95799 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:21:07.420742 [ 75622 ] {25e136e3-8da5-44c7-9289-a7e4bd686aff} TCPHandler: Code: 48. DB::Exception: Cannot move Replicated table to Ordinary database, because zookeeper_path contains implicit 'uuid' macro. If you really want to rename table, you should edit metadata file first and restart server or reattach the table. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [220]) @ 0x000000001d8e9fde in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:6205: DB::StorageReplicatedMergeTree::checkTableCanBeRenamed(DB::StorageID const&) const @ 0x000000001d88573f in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:6213: DB::StorageReplicatedMergeTree::rename(String const&, DB::StorageID const&) @ 0x000000001d88581a in /usr/bin/clickhouse 8. /build/src/Databases/DatabaseOnDisk.cpp:433: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001bac9b07 in /usr/bin/clickhouse 9. /build/src/Databases/DatabaseAtomic.cpp:167: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001bad7481 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterRenameQuery.cpp:141: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001ca96ccc in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterRenameQuery.cpp:75: DB::InterpreterRenameQuery::execute() @ 0x000000001ca95799 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 13. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 15. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 21. ? @ 0x00007f3559e74ac3 in ? 22. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:21:07.864910 [ 75622 ] {bafccc06-c805-493a-8902-7b083df10d9d} DatabaseReplicated (imdb_01148): It's not recommended to explicitly specify zookeeper_path and replica_name in ReplicatedMergeTree arguments 2024.12.17 02:21:13.257491 [ 5531 ] {c6a2b4d8-2408-490f-9b82-6af883013bde} executeQuery: Code: 291. DB::Exception: Direct access to `_temporary_and_external_tables` database is not allowed. (DATABASE_ACCESS_DENIED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60236) (in query: SELECT COUNT() FROM _temporary_and_external_tables.`_tmp_d1cff11e-a973-4af9-832a-e7b6c24b4642`), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:377: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf0e2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:21:13.258546 [ 5531 ] {c6a2b4d8-2408-490f-9b82-6af883013bde} DynamicQueryHandler: Code: 291. DB::Exception: Direct access to `_temporary_and_external_tables` database is not allowed. (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:377: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf0e2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:21:13.277197 [ 5531 ] {01477df4-6cd8-40be-92d9-cf39721f0924} executeQuery: Code: 291. DB::Exception: Direct access to `_temporary_and_external_tables` database is not allowed. (DATABASE_ACCESS_DENIED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:60238) (in query: SELECT COUNT() FROM _temporary_and_external_tables.`_tmp_d1cff11e-a973-4af9-832a-e7b6c24b4642`), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:377: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf0e2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:21:13.278042 [ 5531 ] {01477df4-6cd8-40be-92d9-cf39721f0924} DynamicQueryHandler: Code: 291. DB::Exception: Direct access to `_temporary_and_external_tables` database is not allowed. (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x000000000b248433 in /usr/bin/clickhouse 6. /build/src/Interpreters/DatabaseCatalog.cpp:377: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf0e2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 8. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 12. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 15. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 16. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 18. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 20. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:22:19.703469 [ 767 ] {} test_xqjfzi4v.concurrent_alter_detach_2 (ff28efb5-4bf2-43f7-9061-94e998b72789): void DB::StorageReplicatedMergeTree::queueUpdatingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01079_parallel_alter_detach_table_zookeeper_test_xqjfzi4v/concurrent_alter_detach/replicas/2). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/StorageReplicatedMergeTree.cpp:5273: DB::StorageReplicatedMergeTree::assertNotReadonly() const @ 0x000000001d7f71cb in /usr/bin/clickhouse 7. /build/src/Storages/StorageReplicatedMergeTree.cpp:248: DB::StorageReplicatedMergeTree::getZooKeeperAndAssertNotReadonly() const @ 0x000000001d7f70ce in /usr/bin/clickhouse 8. /build/src/Storages/StorageReplicatedMergeTree.cpp:3201: DB::StorageReplicatedMergeTree::queueUpdatingTask() @ 0x000000001d855782 in /usr/bin/clickhouse 9. /build/src/Storages/StorageReplicatedMergeTree.cpp:332: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_1::operator()() const @ 0x000000001d8d4658 in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_1&>()()) std::__invoke[abi:v15000], String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_1&>(DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_1&) @ 0x000000001d8d4635 in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_1&>(DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_1&) @ 0x000000001d8d4615 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_1, void ()>::operator()[abi:v15000]() @ 0x000000001d8d45f5 in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x000000001d8d45bd in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 16. /build/src/Core/BackgroundSchedulePool.cpp:104: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x000000001b3d233d in /usr/bin/clickhouse 17. /build/src/Core/BackgroundSchedulePool.cpp:302: DB::BackgroundSchedulePool::threadFunction() @ 0x000000001b3d5126 in /usr/bin/clickhouse 18. /build/src/Core/BackgroundSchedulePool.cpp:168: DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0::operator()() const @ 0x000000001b3d6018 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, StrongTypedef, char const*)::$_0&>()()) std::__invoke[abi:v15000], StrongTypedef, char const*)::$_0&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&) @ 0x000000001b3d5ff5 in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&, std::__tuple_indices<>) @ 0x000000001b3d5fd9 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000], StrongTypedef, char const*)::$_0&, std::tuple<>&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&, std::tuple<>&) @ 0x000000001b3d5f3d in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'()::operator()() @ 0x000000001b3d5e65 in /usr/bin/clickhouse 23. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval, StrongTypedef, char const*)::$_0>()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'()&>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&) @ 0x000000001b3d5dd5 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'()&) @ 0x000000001b3d5db5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x000000001b3d5d95 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001b3d5d60 in /usr/bin/clickhouse 27. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 29. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl::worker(std::__list_iterator) @ 0x0000000013a57083 in /usr/bin/clickhouse 30. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a5f324 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&) @ 0x0000000013a5f2d5 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:22:21.537363 [ 75016 ] {b9341aea-567f-4465-9915-7ca5a8290ef4} executeQuery: Code: 60. DB::Exception: Table test_xqjfzi4v.concurrent_alter_detach_2 does not exist. Maybe you meant concurrent_alter_detach_1?. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56804) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_2 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb52113 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7dc92 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca7fc86 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:22:21.539535 [ 75016 ] {b9341aea-567f-4465-9915-7ca5a8290ef4} TCPHandler: Code: 60. DB::Exception: Table test_xqjfzi4v.concurrent_alter_detach_2 does not exist. Maybe you meant concurrent_alter_detach_1?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb52113 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7dc92 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca7fc86 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:22:23.942878 [ 75017 ] {8924e2ab-f9d5-46be-883b-249517c83193} executeQuery: Code: 60. DB::Exception: Table test_xqjfzi4v.concurrent_alter_detach_2 does not exist. Maybe you meant concurrent_alter_detach_1?. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56902) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_2 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb52113 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7dc92 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca7fc86 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:22:23.944580 [ 75017 ] {8924e2ab-f9d5-46be-883b-249517c83193} TCPHandler: Code: 60. DB::Exception: Table test_xqjfzi4v.concurrent_alter_detach_2 does not exist. Maybe you meant concurrent_alter_detach_1?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb52113 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7dc92 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca7fc86 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:22:24.030530 [ 75016 ] {e8dec96e-4a83-4b84-8afb-aa38b8126cc4} executeQuery: Code: 60. DB::Exception: Table test_xqjfzi4v.concurrent_alter_detach_2 does not exist. Maybe you meant concurrent_alter_detach_1?. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:56918) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_2 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb52113 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7dc92 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca7fc86 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:22:24.032482 [ 75016 ] {e8dec96e-4a83-4b84-8afb-aa38b8126cc4} TCPHandler: Code: 60. DB::Exception: Table test_xqjfzi4v.concurrent_alter_detach_2 does not exist. Maybe you meant concurrent_alter_detach_1?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb52113 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7dc92 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca7fc86 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:22:30.714648 [ 75956 ] {ed6ad0fd-cee9-4cc3-b124-c57bf0c2f030} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01079_parallel_alter_detach_table_zookeeper_test_xqjfzi4v/concurrent_alter_detach/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48234) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_1 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001e33824a in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:65: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001e31ff5b in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:567: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001e31faf6 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001e314b51 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:400: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e31edd8 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 02:22:30.718230 [ 75956 ] {ed6ad0fd-cee9-4cc3-b124-c57bf0c2f030} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01079_parallel_alter_detach_table_zookeeper_test_xqjfzi4v/concurrent_alter_detach/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001e33824a in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/ZooKeeperRetries.h:65: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001e31ff5b in /usr/bin/clickhouse 8. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:567: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001e31faf6 in /usr/bin/clickhouse 9. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001e314b51 in /usr/bin/clickhouse 10. /build/src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:400: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001e31edd8 in /usr/bin/clickhouse 11. /build/src/Processors/Sinks/SinkToStorage.cpp:18: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001ed2d702 in /usr/bin/clickhouse 12. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work()::$_1::operator()() const @ 0x000000001ebc7ffc in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000](DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7fb5 in /usr/bin/clickhouse 14. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call(DB::ExceptionKeepingTransform::work()::$_1&) @ 0x000000001ebc7f95 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::operator()[abi:v15000]() @ 0x000000001ebc7f75 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001ebc7f3d in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 19. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:114: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001ebc7856 in /usr/bin/clickhouse 20. /build/src/Processors/Transforms/ExceptionKeepingTransform.cpp:150: DB::ExceptionKeepingTransform::work() @ 0x000000001ebc729e in /usr/bin/clickhouse 21. /build/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x000000001e6eb6e3 in /usr/bin/clickhouse 22. /build/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x000000001e6eb420 in /usr/bin/clickhouse 23. /build/src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001e6d0441 in /usr/bin/clickhouse 24. /build/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001e6cff59 in /usr/bin/clickhouse 25. /build/src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001e6fa45e in /usr/bin/clickhouse 26. /build/src/Server/TCPHandler.cpp:868: auto DB::TCPHandler::processInsertQuery()::$_0::operator()(DB::PushingPipelineExecutor&) const @ 0x000000001e64bf50 in /usr/bin/clickhouse 27. /build/src/Server/TCPHandler.cpp:878: DB::TCPHandler::processInsertQuery() @ 0x000000001e649c1e in /usr/bin/clickhouse 28. /build/src/Server/TCPHandler.cpp:513: DB::TCPHandler::runImpl() @ 0x000000001e6422a0 in /usr/bin/clickhouse 29. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 30. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 31. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 2024.12.17 02:22:30.946673 [ 75959 ] {1cf69d29-9ddd-4c92-b2aa-9d7ef5dcd4b4} executeQuery: Code: 60. DB::Exception: Could not find table: concurrent_alter_detach_1. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48258) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_detach_1 MODIFY COLUMN value1 UInt8 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:111: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d3719 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:22:30.948604 [ 75959 ] {1cf69d29-9ddd-4c92-b2aa-9d7ef5dcd4b4} TCPHandler: Code: 60. DB::Exception: Could not find table: concurrent_alter_detach_1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterAlterQuery.cpp:111: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d3719 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 8. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 10. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:22:31.981666 [ 75956 ] {b9a17a70-d138-40ac-9e1d-c8dbce87fa80} executeQuery: Code: 60. DB::Exception: Table test_xqjfzi4v.concurrent_alter_detach_1 does not exist. Maybe you meant concurrent_alter_detach_2?. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48268) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_1 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb52113 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7dc92 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca7fc86 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:22:31.983117 [ 75956 ] {b9a17a70-d138-40ac-9e1d-c8dbce87fa80} TCPHandler: Code: 60. DB::Exception: Table test_xqjfzi4v.concurrent_alter_detach_1 does not exist. Maybe you meant concurrent_alter_detach_2?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb52113 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7dc92 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca7fc86 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:22:32.684046 [ 75622 ] {6e50e201-9150-4ab6-810c-6f0632597e5e} executeQuery: Code: 60. DB::Exception: Table test_xqjfzi4v.concurrent_alter_detach_1 does not exist. Maybe you meant concurrent_alter_detach_2?. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48288) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: INSERT INTO concurrent_alter_detach_1 VALUES), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb52113 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7dc92 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca7fc86 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:22:32.685815 [ 75622 ] {6e50e201-9150-4ab6-810c-6f0632597e5e} TCPHandler: Code: 60. DB::Exception: Table test_xqjfzi4v.concurrent_alter_detach_1 does not exist. Maybe you meant concurrent_alter_detach_2?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000b23d568 in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:29: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb52113 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterInsertQuery.cpp:121: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x000000001ca7dc92 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x000000001ca7fc86 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 12. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 14. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:22:32.764182 [ 75622 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:48288). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000013cebd6c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000013ceafe0 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::TCPHandler::runImpl() @ 0x000000001e641041 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 15. ? @ 0x00007f3559e74ac3 in ? 16. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:22:32.765627 [ 75621 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:48278). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/NetException.h:26: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000013cebd6c in /usr/bin/clickhouse 6. /build/src/IO/ReadBufferFromPocoSocket.cpp:86: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x0000000013ceafe0 in /usr/bin/clickhouse 7. /build/src/IO/ReadBuffer.h:71: DB::ReadBuffer::next() @ 0x000000000b2165bc in /usr/bin/clickhouse 8. /build/src/IO/ReadBuffer.h:105: DB::TCPHandler::runImpl() @ 0x000000001e641041 in /usr/bin/clickhouse 9. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 15. ? @ 0x00007f3559e74ac3 in ? 16. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:22:37.218698 [ 75622 ] {57f993c8-f5ce-4abb-b1f9-8a2ba4eb4f8e} executeQuery: Code: 57. DB::Exception: Table test_xqjfzi4v.concurrent_alter_detach_2 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48316) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: ATTACH TABLE concurrent_alter_detach_2), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x0000000018442428 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1349: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f3155 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:22:37.220500 [ 75622 ] {57f993c8-f5ce-4abb-b1f9-8a2ba4eb4f8e} TCPHandler: Code: 57. DB::Exception: Table test_xqjfzi4v.concurrent_alter_detach_2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x0000000018442428 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1349: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f3155 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:22:39.089173 [ 75621 ] {568d3bec-52eb-4e4d-8935-92997dc75b38} executeQuery: Code: 57. DB::Exception: Table test_xqjfzi4v.concurrent_alter_detach_3 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:48328) (comment: 01079_parallel_alter_detach_table_zookeeper.sh) (in query: ATTACH TABLE concurrent_alter_detach_3), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x0000000018442428 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1349: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f3155 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:22:39.090894 [ 75621 ] {568d3bec-52eb-4e4d-8935-92997dc75b38} TCPHandler: Code: 57. DB::Exception: Table test_xqjfzi4v.concurrent_alter_detach_3 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x0000000018442428 in /usr/bin/clickhouse 6. /build/src/Interpreters/InterpreterCreateQuery.cpp:1349: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x000000001c7f3155 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterCreateQuery.cpp:1275: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x000000001c7f03e6 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x000000001c7f7cd6 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:23:26.707011 [ 17067 ] {} ExternalDictionaries: Could not update cache dictionary 'dictdb_01076.dict_datarace (ea7c91ab-0888-4afc-b11c-74bab7a2a13e)', next update is scheduled at 2024-12-17 02:23:31: Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UUID. Got: UInt64: While processing key_column IN (2). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x000000001d078c2c in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:518: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06cc6a in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d068fbd in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:582: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001d06d17d in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:117: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x000000001bfee16f in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:317: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfe30fa in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:427: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x000000001bfe271d in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfec7ee in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6a81 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1173: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb2d77 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1859: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb8a74 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:23:26.918137 [ 75621 ] {a2f83b1a-c07a-410d-b92c-649d1d89f1ae} executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (ea7c91ab-0888-4afc-b11c-74bab7a2a13e)': Code: 510. DB::Exception: Update failed for dictionary dictdb_01076.dict_datarace (ea7c91ab-0888-4afc-b11c-74bab7a2a13e) : Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UUID. Got: UInt64: While processing key_column IN (2). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x000000001d078c2c in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:518: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06cc6a in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d068fbd in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:582: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001d06d17d in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:117: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x000000001bfee16f in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:317: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfe30fa in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:427: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x000000001bfe271d in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfec7ee in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6a81 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1173: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb2d77 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1859: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb8a74 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.8.16.43.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42492) (comment: 01076_cache_dictionary_datarace_exception_ptr.sh) (in query: SELECT dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x000000001844285d in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x0000000018429330 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000001842888c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:635: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000bc5b6b8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:586: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc591a5 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:744: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc79deb in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 02:23:26.918401 [ 75622 ] {43d89ec9-6e73-4733-ad55-81bba010315f} executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (ea7c91ab-0888-4afc-b11c-74bab7a2a13e)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (ea7c91ab-0888-4afc-b11c-74bab7a2a13e) now, because nearest update is scheduled at 2024-12-17 02:23:31. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:688: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x000000001842f0e8 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x000000001843c77d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843c736 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843c6dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x000000001843c69d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x000000001843c645 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x0000000018449bbe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x0000000018442c61 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x0000000018442a60 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x00000000184467f8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x00000000184467d5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x00000000184467b5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000018446795 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001844675d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42506) (comment: 01076_cache_dictionary_datarace_exception_ptr.sh) (in query: SELECT dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x000000001844285d in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x0000000018429330 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000001842888c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:635: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000bc5b6b8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:586: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc591a5 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:744: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc79deb in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 02:23:26.920507 [ 75621 ] {a2f83b1a-c07a-410d-b92c-649d1d89f1ae} TCPHandler: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (ea7c91ab-0888-4afc-b11c-74bab7a2a13e)': Code: 510. DB::Exception: Update failed for dictionary dictdb_01076.dict_datarace (ea7c91ab-0888-4afc-b11c-74bab7a2a13e) : Code: 53. DB::Exception: Type mismatch in IN or VALUES section. Expected: UUID. Got: UInt64: While processing key_column IN (2). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, DB::Field::Types::Which&&) @ 0x000000001d078c2c in /usr/bin/clickhouse 6. /build/src/Interpreters/convertFieldToType.cpp:518: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d06cc6a in /usr/bin/clickhouse 7. /build/src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x000000001d068fbd in /usr/bin/clickhouse 8. /build/src/Interpreters/convertFieldToType.cpp:582: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x000000001d06d17d in /usr/bin/clickhouse 9. /build/src/Interpreters/ActionsVisitor.cpp:117: DB::Block DB::createBlockFromCollection(DB::Array const&, std::vector, std::allocator>> const&, bool) @ 0x000000001bfee16f in /usr/bin/clickhouse 10. /build/src/Interpreters/ActionsVisitor.cpp:317: DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000001bfe30fa in /usr/bin/clickhouse 11. /build/src/Interpreters/ActionsVisitor.cpp:427: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x000000001bfe271d in /usr/bin/clickhouse 12. /build/src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x000000001bfec7ee in /usr/bin/clickhouse 13. /build/src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe6a81 in /usr/bin/clickhouse 14. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 15. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 16. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 17. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 18. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 20. /build/src/Interpreters/ExpressionAnalyzer.cpp:1173: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x000000001bfb2d77 in /usr/bin/clickhouse 21. /build/src/Interpreters/ExpressionAnalyzer.cpp:1859: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x000000001bfb8a74 in /usr/bin/clickhouse 22. /build/src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001cab5e24 in /usr/bin/clickhouse 23. /build/src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001caaebfe in /usr/bin/clickhouse 24. /build/src/Interpreters/InterpreterSelectQuery.cpp:772: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa9ac2 in /usr/bin/clickhouse 25. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 27. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 28. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 30. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 31. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.8.16.43.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2)). (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x000000001844285d in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x0000000018429330 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000001842888c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:635: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000bc5b6b8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:586: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc591a5 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:744: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc79deb in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 02:23:26.920811 [ 75622 ] {43d89ec9-6e73-4733-ad55-81bba010315f} TCPHandler: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (ea7c91ab-0888-4afc-b11c-74bab7a2a13e)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (ea7c91ab-0888-4afc-b11c-74bab7a2a13e) now, because nearest update is scheduled at 2024-12-17 02:23:31. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:688: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x000000001842f0e8 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x000000001843c77d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843c736 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843c6dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x000000001843c69d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x000000001843c645 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x0000000018449bbe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x0000000018442c61 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x0000000018442a60 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x00000000184467f8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x00000000184467d5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x00000000184467b5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000018446795 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001844675d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1)). (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x000000001844285d in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x0000000018429330 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000001842888c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:635: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000bc5b6b8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:586: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc591a5 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:744: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc79deb in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 02:23:28.769120 [ 75621 ] {7d508d5c-7588-44cd-82f2-66bf19787bfd} executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (ea7c91ab-0888-4afc-b11c-74bab7a2a13e)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (ea7c91ab-0888-4afc-b11c-74bab7a2a13e) now, because nearest update is scheduled at 2024-12-17 02:23:31. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:688: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x000000001842f0e8 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x000000001843c77d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843c736 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843c6dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x000000001843c69d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x000000001843c645 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x0000000018449bbe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x0000000018442c61 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x0000000018442a60 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x00000000184467f8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x00000000184467d5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x00000000184467b5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000018446795 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001844675d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42510) (comment: 01076_cache_dictionary_datarace_exception_ptr.sh) (in query: SELECT dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x000000001844285d in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x0000000018429330 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000001842888c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:635: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000bc5b6b8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:586: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc591a5 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:744: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc79deb in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 02:23:28.771758 [ 75621 ] {7d508d5c-7588-44cd-82f2-66bf19787bfd} TCPHandler: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (ea7c91ab-0888-4afc-b11c-74bab7a2a13e)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (ea7c91ab-0888-4afc-b11c-74bab7a2a13e) now, because nearest update is scheduled at 2024-12-17 02:23:31. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:688: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x000000001842f0e8 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x000000001843c77d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843c736 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843c6dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x000000001843c69d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x000000001843c645 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x0000000018449bbe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x0000000018442c61 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x0000000018442a60 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x00000000184467f8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x00000000184467d5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x00000000184467b5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000018446795 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001844675d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(1)). (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x000000001844285d in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x0000000018429330 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000001842888c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:635: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000bc5b6b8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:586: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc591a5 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:744: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc79deb in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 02:23:28.786644 [ 75622 ] {90a0ecc8-27a8-465b-bb47-6a8e5cac0f24} executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (ea7c91ab-0888-4afc-b11c-74bab7a2a13e)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (ea7c91ab-0888-4afc-b11c-74bab7a2a13e) now, because nearest update is scheduled at 2024-12-17 02:23:31. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:688: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x000000001842f0e8 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x000000001843c77d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843c736 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843c6dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x000000001843c69d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x000000001843c645 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x0000000018449bbe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x0000000018442c61 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x0000000018442a60 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x00000000184467f8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x00000000184467d5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x00000000184467b5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000018446795 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001844675d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2)). (CACHE_DICTIONARY_UPDATE_FAIL) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42526) (comment: 01076_cache_dictionary_datarace_exception_ptr.sh) (in query: SELECT dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2));), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x000000001844285d in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x0000000018429330 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000001842888c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:635: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000bc5b6b8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:586: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc591a5 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:744: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc79deb in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 02:23:28.788875 [ 75622 ] {90a0ecc8-27a8-465b-bb47-6a8e5cac0f24} TCPHandler: Code: 510. DB::Exception: Update failed for dictionary 'dictdb_01076.dict_datarace (ea7c91ab-0888-4afc-b11c-74bab7a2a13e)': Code: 510. DB::Exception: Query contains keys that are not present in cache or expired. Could not update cache dictionary dictdb_01076.dict_datarace (ea7c91ab-0888-4afc-b11c-74bab7a2a13e) now, because nearest update is scheduled at 2024-12-17 02:23:31. Try again later. (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionary.cpp:688: DB::CacheDictionary<(DB::DictionaryKeyType)0>::update(std::shared_ptr>) @ 0x000000001842f0e8 in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:64: DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)::operator()(std::shared_ptr>) const @ 0x000000001843c77d in /usr/bin/clickhouse 8. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&>()(std::declval>>())) std::__invoke[abi:v15000]::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843c736 in /usr/bin/clickhouse 9. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>>(DB::CacheDictionary<(DB::DictionaryKeyType)0>::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>)&, std::shared_ptr>&&) @ 0x000000001843c6dd in /usr/bin/clickhouse 10. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>::operator()[abi:v15000](std::shared_ptr>&&) @ 0x000000001843c69d in /usr/bin/clickhouse 11. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker>)>::__call_impl::CacheDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, std::shared_ptr, DB::CacheDictionaryUpdateQueueConfiguration, DB::ExternalLoadableLifetime, bool)::'lambda'(std::shared_ptr>), void (std::shared_ptr>)>>(std::__function::__policy_storage const*, std::shared_ptr>&&) @ 0x000000001843c645 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func>)>::operator()[abi:v15000](std::shared_ptr>&&) const @ 0x0000000018449bbe in /usr/bin/clickhouse 13. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function>)>::operator()(std::shared_ptr>) const @ 0x0000000018442c61 in /usr/bin/clickhouse 14. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:141: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::updateThreadFunction() @ 0x0000000018442a60 in /usr/bin/clickhouse 15. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:39: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()::operator()() const @ 0x00000000184467f8 in /usr/bin/clickhouse 16. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>()()) std::__invoke[abi:v15000]::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x00000000184467d5 in /usr/bin/clickhouse 17. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&>(DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'()&) @ 0x00000000184467b5 in /usr/bin/clickhouse 18. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000018446795 in /usr/bin/clickhouse 19. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::CacheDictionaryUpdateQueue(String, DB::CacheDictionaryUpdateQueueConfiguration, std::function>)>&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001844675d in /usr/bin/clickhouse 20. /build/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func::operator()[abi:v15000]() const @ 0x000000001394df96 in /usr/bin/clickhouse 21. /build/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function::operator()() const @ 0x000000001394d475 in /usr/bin/clickhouse 22. /build/src/Common/ThreadPool.cpp:426: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x0000000013a5a7a3 in /usr/bin/clickhouse 23. /build/src/Common/ThreadPool.cpp:179: void ThreadPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()::operator()() const @ 0x0000000013a65004 in /usr/bin/clickhouse 24. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&>(void&&) @ 0x0000000013a64fd5 in /usr/bin/clickhouse 25. /build/contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__apply_tuple_impl[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&, std::__tuple_indices<>) @ 0x0000000013a64fb9 in /usr/bin/clickhouse 26. /build/contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::apply[abi:v15000]>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()&, std::tuple<>&>(void&&, std::tuple<>&) @ 0x0000000013a64f1d in /usr/bin/clickhouse 27. /build/src/Common/ThreadPool.h:242: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x0000000013a64e25 in /usr/bin/clickhouse 28. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval()()) std::__invoke[abi:v15000]::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(void&&) @ 0x0000000013a64d95 in /usr/bin/clickhouse 29. /build/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper::__call::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&>(ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()&) @ 0x0000000013a64d75 in /usr/bin/clickhouse 30. /build/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x0000000013a64d55 in /usr/bin/clickhouse 31. /build/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000013a64d20 in /usr/bin/clickhouse (version 23.8.16.43.altinitystable (altinity build)): While processing dictGetFloat64('dictdb_01076.dict_datarace', 'value', toUInt64(2)). (CACHE_DICTIONARY_UPDATE_FAIL), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x000000000c15894c in /usr/bin/clickhouse 6. /build/src/Dictionaries/CacheDictionaryUpdateQueue.cpp:108: DB::CacheDictionaryUpdateQueue<(DB::DictionaryKeyType)0>::waitForCurrentUpdateFinish(std::shared_ptr>&) const @ 0x000000001844285d in /usr/bin/clickhouse 7. /build/src/Dictionaries/CacheDictionary.cpp:235: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x0000000018429330 in /usr/bin/clickhouse 8. /build/src/Dictionaries/CacheDictionary.cpp:129: DB::CacheDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x000000001842888c in /usr/bin/clickhouse 9. /build/src/Functions/FunctionsExternalDictionaries.h:635: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x000000000bc5b6b8 in /usr/bin/clickhouse 10. /build/src/Functions/FunctionsExternalDictionaries.h:586: DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc591a5 in /usr/bin/clickhouse 11. /build/src/Functions/FunctionsExternalDictionaries.h:744: DB::FunctionDictGetImpl, DB::NameDictGetFloat64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bc79deb in /usr/bin/clickhouse 12. /build/src/Functions/IFunction.h:433: DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b196e99 in /usr/bin/clickhouse 13. /build/src/Functions/IFunctionAdaptors.h:26: DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b19564d in /usr/bin/clickhouse 14. /build/src/Functions/IFunction.cpp:246: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb4e6 in /usr/bin/clickhouse 15. /build/src/Functions/IFunction.cpp:160: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb063 in /usr/bin/clickhouse 16. /build/src/Functions/IFunction.cpp:238: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abeb3c3 in /usr/bin/clickhouse 17. /build/src/Functions/IFunction.cpp:303: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abec5c6 in /usr/bin/clickhouse 18. /build/src/Functions/IFunction.cpp:378: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x000000001abed4d5 in /usr/bin/clickhouse 19. /build/src/Interpreters/ActionsDAG.cpp:283: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x000000001bc84458 in /usr/bin/clickhouse 20. /build/src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x000000001bc83fd3 in /usr/bin/clickhouse 21. /build/src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bfe4a36 in /usr/bin/clickhouse 22. /build/src/Interpreters/ActionsVisitor.h:181: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x000000001bff0bdd in /usr/bin/clickhouse 23. /build/src/Interpreters/ActionsVisitor.cpp:1290: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea06f in /usr/bin/clickhouse 24. /build/src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f0d in /usr/bin/clickhouse 25. /build/src/Interpreters/ActionsVisitor.cpp:807: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfea877 in /usr/bin/clickhouse 26. /build/src/Interpreters/ActionsVisitor.cpp:702: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x000000001bfe4f79 in /usr/bin/clickhouse 27. /build/src/Interpreters/InDepthNodeVisitor.h:71: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001bfdb1c0 in /usr/bin/clickhouse 28. /build/src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor const>::visitImplMain(std::shared_ptr const&) @ 0x000000001bfdb3a1 in /usr/bin/clickhouse 29. /build/src/Interpreters/InDepthNodeVisitor.h:53: void DB::InDepthNodeVisitor const>::visitImpl(std::shared_ptr const&) @ 0x000000001bfdb14a in /usr/bin/clickhouse 30. /build/src/Interpreters/InDepthNodeVisitor.h:33: DB::InDepthNodeVisitor const>::visit(std::shared_ptr const&) @ 0x000000001bfbe7e5 in /usr/bin/clickhouse 31. /build/src/Interpreters/ExpressionAnalyzer.cpp:482: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x000000001bfaba3d in /usr/bin/clickhouse 2024.12.17 02:23:36.541244 [ 75622 ] {ee1edd0b-56fd-4851-b06b-6c8ca2f85fd0} executeQuery: Code: 60. DB::Exception: Table memory_01069.mt does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47286) (comment: 01069_database_memory.sql) (in query: SELECT * FROM memory_01069.mt ORDER BY n;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:23:36.542457 [ 75622 ] {ee1edd0b-56fd-4851-b06b-6c8ca2f85fd0} TCPHandler: Code: 60. DB::Exception: Table memory_01069.mt does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 19. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 20. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 21. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 23. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 26. ? @ 0x00007f3559e74ac3 in ? 27. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:23:36.694381 [ 75622 ] {ca2d95ce-29fe-429a-94bd-497e0b555289} executeQuery: Code: 60. DB::Exception: There is no metadata of table mt in database memory_01069. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:47286) (comment: 01069_database_memory.sql) (in query: SHOW CREATE TABLE memory_01069.mt;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000ba1baec in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseMemory.cpp:121: DB::DatabaseMemory::getCreateTableQueryImpl(String const&, std::shared_ptr, bool) const @ 0x000000001babd37c in /usr/bin/clickhouse 7. /build/src/Databases/IDatabase.h:275: DB::IDatabase::getCreateTableQuery(String const&, std::shared_ptr) const @ 0x000000001b32f057 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterShowCreateQuery.cpp:61: DB::InterpreterShowCreateQuery::executeImpl() @ 0x000000001cbd0756 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterShowCreateQuery.cpp:29: DB::InterpreterShowCreateQuery::execute() @ 0x000000001cbd024b in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:23:36.695199 [ 75622 ] {ca2d95ce-29fe-429a-94bd-497e0b555289} TCPHandler: Code: 60. DB::Exception: There is no metadata of table mt in database memory_01069. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x000000000ba1baec in /usr/bin/clickhouse 6. /build/src/Databases/DatabaseMemory.cpp:121: DB::DatabaseMemory::getCreateTableQueryImpl(String const&, std::shared_ptr, bool) const @ 0x000000001babd37c in /usr/bin/clickhouse 7. /build/src/Databases/IDatabase.h:275: DB::IDatabase::getCreateTableQuery(String const&, std::shared_ptr) const @ 0x000000001b32f057 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterShowCreateQuery.cpp:61: DB::InterpreterShowCreateQuery::executeImpl() @ 0x000000001cbd0756 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterShowCreateQuery.cpp:29: DB::InterpreterShowCreateQuery::execute() @ 0x000000001cbd024b in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:24:01.069447 [ 75622 ] {f5bbc07d-9b6e-4799-9024-e785637a3dd9} test_8nr5k5ii.mt_compact (7a4513ff-e3cf-41c2-ab5b-3ac44efa0eca): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 0, min_bytes_for_wide_part = 10485760. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part'and 'min_bytes_for_wide_part' will be ignored. 2024.12.17 02:24:01.169866 [ 75622 ] {54bbc5a8-cdbd-4245-916d-14b0c38ead61} executeQuery: Code: 48. DB::Exception: Can't change settings. Reason: Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 1000, min_bytes_for_wide_part = 10485760. Parts with non-adaptive granularity can be stored only in Wide (default) format. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57228) (comment: 01055_compact_parts_1.sql) (in query: alter table mt_compact modify setting min_rows_for_wide_part = 1000;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3442: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de90f28 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:24:01.170715 [ 75622 ] {54bbc5a8-cdbd-4245-916d-14b0c38ead61} TCPHandler: Code: 48. DB::Exception: Can't change settings. Reason: Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 1000, min_bytes_for_wide_part = 10485760. Parts with non-adaptive granularity can be stored only in Wide (default) format. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Storages/MergeTree/MergeTreeData.cpp:3442: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001de90f28 in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterAlterQuery.cpp:196: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4d9f in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 9. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 11. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 18. ? @ 0x00007f3559e74ac3 in ? 19. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:24:01.527284 [ 75622 ] {db8ed96e-84d2-4cb6-a388-827d3394451c} executeQuery: Code: 36. DB::Exception: Cannot replace partition '1' because part '1_1_1_0' has inconsistent granularity with table. (BAD_ARGUMENTS) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:57228) (comment: 01055_compact_parts_1.sql) (in query: alter table mt_compact attach partition 1 from mt_compact_2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x0000000013a3b9ac in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2029: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e37cb20 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5212: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deaccba in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:24:01.527828 [ 75622 ] {db8ed96e-84d2-4cb6-a388-827d3394451c} TCPHandler: Code: 36. DB::Exception: Cannot replace partition '1' because part '1_1_1_0' has inconsistent granularity with table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String const&) @ 0x0000000013a3b9ac in /usr/bin/clickhouse 6. /build/src/Storages/StorageMergeTree.cpp:2029: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001e37cb20 in /usr/bin/clickhouse 7. /build/src/Storages/MergeTree/MergeTreeData.cpp:5212: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001deaccba in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterAlterQuery.cpp:185: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x000000001c7d4a8c in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterAlterQuery.cpp:65: DB::InterpreterAlterQuery::execute() @ 0x000000001c7d2528 in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:24:01.563043 [ 75622 ] {2f3cedb8-bff3-4d21-a7bc-f5f86b4735fd} test_8nr5k5ii.mt_compact (7df5d16e-073a-4b7d-88d9-182cdbfa8205): Table can't create parts with adaptive granularity, but settings min_rows_for_wide_part = 1000, min_bytes_for_wide_part = 10485760. Parts with non-adaptive granularity can be stored only in Wide (default) format. Settings 'min_rows_for_wide_part'and 'min_bytes_for_wide_part' will be ignored. 2024.12.17 02:24:54.585246 [ 75622 ] {015969e6-f629-4e11-9d76-abbf5c008646} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f33670f0000, frame address: 0x7f33674efdf0, stack size: 4194832, maximum stack size: 8388608: while getting table iterator of Merge table. Maybe caused by two Merge tables that will endlessly try to read each other's data. (TOO_DEEP_RECURSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40378) (comment: 00985_merge_stack_overflow.sql) (in query: SELECT * FROM merge1;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013963a64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139635dc in /usr/bin/clickhouse 7. /build/src/Storages/StorageMerge.cpp:1040: DB::StorageMerge::getDatabaseIterators(std::shared_ptr) const @ 0x000000001d75169c in /usr/bin/clickhouse 8. /build/src/Storages/StorageMerge.cpp:140: std::shared_ptr DB::StorageMerge::getFirstTable(DB::StorageMerge::getVirtuals() const::$_0&&) const @ 0x000000001d75aaca in /usr/bin/clickhouse 9. /build/src/Storages/StorageMerge.cpp:1244: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a6c8 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 11. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 13. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 15. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 16. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 17. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 19. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 20. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 21. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 22. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 23. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 24. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 25. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 26. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 27. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 28. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 29. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 30. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 31. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 2024.12.17 02:24:54.586070 [ 75622 ] {015969e6-f629-4e11-9d76-abbf5c008646} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f33670f0000, frame address: 0x7f33674efdf0, stack size: 4194832, maximum stack size: 8388608: while getting table iterator of Merge table. Maybe caused by two Merge tables that will endlessly try to read each other's data. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013963a64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139635dc in /usr/bin/clickhouse 7. /build/src/Storages/StorageMerge.cpp:1040: DB::StorageMerge::getDatabaseIterators(std::shared_ptr) const @ 0x000000001d75169c in /usr/bin/clickhouse 8. /build/src/Storages/StorageMerge.cpp:140: std::shared_ptr DB::StorageMerge::getFirstTable(DB::StorageMerge::getVirtuals() const::$_0&&) const @ 0x000000001d75aaca in /usr/bin/clickhouse 9. /build/src/Storages/StorageMerge.cpp:1244: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a6c8 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 11. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 13. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 15. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 16. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 17. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 19. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 20. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 21. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 22. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 23. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 24. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 25. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 26. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 27. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 28. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 29. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 30. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 31. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 2024.12.17 02:24:55.029989 [ 75622 ] {db5fabee-6587-460f-87c8-7a2a6ab90273} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f33670f0000, frame address: 0x7f33674efdf0, stack size: 4194832, maximum stack size: 8388608: while getting table iterator of Merge table. Maybe caused by two Merge tables that will endlessly try to read each other's data. (TOO_DEEP_RECURSION) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:40378) (comment: 00985_merge_stack_overflow.sql) (in query: SELECT * FROM merge2;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013963a64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139635dc in /usr/bin/clickhouse 7. /build/src/Storages/StorageMerge.cpp:1040: DB::StorageMerge::getDatabaseIterators(std::shared_ptr) const @ 0x000000001d75169c in /usr/bin/clickhouse 8. /build/src/Storages/StorageMerge.cpp:140: std::shared_ptr DB::StorageMerge::getFirstTable(DB::StorageMerge::getVirtuals() const::$_0&&) const @ 0x000000001d75aaca in /usr/bin/clickhouse 9. /build/src/Storages/StorageMerge.cpp:1244: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a6c8 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 11. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 13. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 15. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 16. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 17. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 19. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 20. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 21. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 22. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 23. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 24. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 25. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 26. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 27. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 28. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 29. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 30. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 31. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 2024.12.17 02:24:55.031081 [ 75622 ] {db5fabee-6587-460f-87c8-7a2a6ab90273} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f33670f0000, frame address: 0x7f33674efdf0, stack size: 4194832, maximum stack size: 8388608: while getting table iterator of Merge table. Maybe caused by two Merge tables that will endlessly try to read each other's data. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x0000000013963a64 in /usr/bin/clickhouse 6. /build/src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x00000000139635dc in /usr/bin/clickhouse 7. /build/src/Storages/StorageMerge.cpp:1040: DB::StorageMerge::getDatabaseIterators(std::shared_ptr) const @ 0x000000001d75169c in /usr/bin/clickhouse 8. /build/src/Storages/StorageMerge.cpp:140: std::shared_ptr DB::StorageMerge::getFirstTable(DB::StorageMerge::getVirtuals() const::$_0&&) const @ 0x000000001d75aaca in /usr/bin/clickhouse 9. /build/src/Storages/StorageMerge.cpp:1244: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a6c8 in /usr/bin/clickhouse 10. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 11. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 12. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 13. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 14. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 15. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 16. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 17. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 18. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 19. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 20. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 21. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 22. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 23. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 24. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 25. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 26. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 27. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 28. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 29. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 30. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 31. /build/src/Storages/StorageMerge.cpp:1247: DB::StorageMerge::getVirtuals() const @ 0x000000001d75a732 in /usr/bin/clickhouse 2024.12.17 02:27:56.461973 [ 75622 ] {54ee901c-70ba-46b6-be64-3f1210b36931} executeQuery: Code: 48. DB::Exception: Truncate is not supported by storage View. (NOT_IMPLEMENTED) (version 23.8.16.43.altinitystable (altinity build)) (from [::1]:42622) (comment: 00623_truncate_table_throw_exception.sh) (in query: TRUNCATE TABLE test_truncate.test_view;), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/IStorage.h:452: DB::IStorage::truncate(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, DB::TableExclusiveLockHolder&) @ 0x000000001a9f89ac in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropQuery.cpp:221: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b5284 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b3694 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b2f0e in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:27:56.463461 [ 75622 ] {54ee901c-70ba-46b6-be64-3f1210b36931} TCPHandler: Code: 48. DB::Exception: Truncate is not supported by storage View. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x000000000b192e93 in /usr/bin/clickhouse 6. /build/src/Storages/IStorage.h:452: DB::IStorage::truncate(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, DB::TableExclusiveLockHolder&) @ 0x000000001a9f89ac in /usr/bin/clickhouse 7. /build/src/Interpreters/InterpreterDropQuery.cpp:221: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001c8b5284 in /usr/bin/clickhouse 8. /build/src/Interpreters/InterpreterDropQuery.cpp:92: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001c8b3694 in /usr/bin/clickhouse 9. /build/src/Interpreters/InterpreterDropQuery.cpp:69: DB::InterpreterDropQuery::execute() @ 0x000000001c8b2f0e in /usr/bin/clickhouse 10. /build/src/Interpreters/executeQuery.cpp:1085: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0af777 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1224: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x000000001d0aaa84 in /usr/bin/clickhouse 12. /build/src/Server/TCPHandler.cpp:496: DB::TCPHandler::runImpl() @ 0x000000001e6421ed in /usr/bin/clickhouse 13. /build/src/Server/TCPHandler.cpp:2159: DB::TCPHandler::run() @ 0x000000001e654805 in /usr/bin/clickhouse 14. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 19. ? @ 0x00007f3559e74ac3 in ? 20. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:28:05.106293 [ 2669 ] {} DynamicQueryHandler: Code: 372. DB::Exception: Session nonexistent not found. (SESSION_NOT_FOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/Session.cpp:112: DB::NamedSessionsStorage::acquireSession(std::shared_ptr const&, StrongTypedef, DB::UUIDTag> const&, String const&, std::chrono::duration>, bool) @ 0x000000001cdfd355 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:548: DB::Session::makeSessionContext(String const&, std::chrono::duration>, bool) @ 0x000000001cdfabf2 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:558: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd592 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 16. ? @ 0x00007f3559e74ac3 in ? 17. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:28:05.249828 [ 2669 ] {} DynamicQueryHandler: Code: 374. DB::Exception: Invalid session timeout: 'string'. (INVALID_SESSION_TIMEOUT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Server/HTTPHandler.cpp:268: DB::parseSessionTimeout(Poco::Util::AbstractConfiguration const&, DB::HTMLForm const&) @ 0x000000001e5c0301 in /usr/bin/clickhouse 7. /build/src/Server/HTTPHandler.cpp:556: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd47c in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 9. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 15. ? @ 0x00007f3559e74ac3 in ? 16. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:28:05.335579 [ 2669 ] {} DynamicQueryHandler: Code: 374. DB::Exception: Session timeout '3601' is larger than max_session_timeout: 3600. Maximum session timeout could be modified in configuration file. (INVALID_SESSION_TIMEOUT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, unsigned int&) @ 0x000000001e5cea8c in /usr/bin/clickhouse 6. /build/src/Server/HTTPHandler.cpp:271: DB::parseSessionTimeout(Poco::Util::AbstractConfiguration const&, DB::HTMLForm const&) @ 0x000000001e5c0444 in /usr/bin/clickhouse 7. /build/src/Server/HTTPHandler.cpp:556: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd47c in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 9. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 15. ? @ 0x00007f3559e74ac3 in ? 16. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:28:05.347107 [ 2669 ] {} DynamicQueryHandler: Code: 374. DB::Exception: Invalid session timeout: '-1'. (INVALID_SESSION_TIMEOUT), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000b90b693 in /usr/bin/clickhouse 6. /build/src/Server/HTTPHandler.cpp:268: DB::parseSessionTimeout(Poco::Util::AbstractConfiguration const&, DB::HTMLForm const&) @ 0x000000001e5c0301 in /usr/bin/clickhouse 7. /build/src/Server/HTTPHandler.cpp:556: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd47c in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 9. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 10. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 12. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 15. ? @ 0x00007f3559e74ac3 in ? 16. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:28:07.019425 [ 2669 ] {} DynamicQueryHandler: Code: 372. DB::Exception: Session test_xmvm9n81_6 not found. (SESSION_NOT_FOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/Session.cpp:112: DB::NamedSessionsStorage::acquireSession(std::shared_ptr const&, StrongTypedef, DB::UUIDTag> const&, String const&, std::chrono::duration>, bool) @ 0x000000001cdfd355 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:548: DB::Session::makeSessionContext(String const&, std::chrono::duration>, bool) @ 0x000000001cdfabf2 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:558: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd592 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 16. ? @ 0x00007f3559e74ac3 in ? 17. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:28:08.721814 [ 2669 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: test_00463: Authentication failed: Code: 192. DB::Exception: There is no user `test_00463` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x000000000c0f57ec in /usr/bin/clickhouse 6. /build/src/Access/IAccessStorage.cpp:682: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x000000001b0f40d9 in /usr/bin/clickhouse 7. /build/src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f71dd in /usr/bin/clickhouse 8. /build/src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b0f6f8f in /usr/bin/clickhouse 9. /build/src/Access/MultipleAccessStorage.cpp:451: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x000000001b181d69 in /usr/bin/clickhouse 10. /build/src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x000000001b0f6eda in /usr/bin/clickhouse 11. /build/src/Access/AccessControl.cpp:584: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb0eac in /usr/bin/clickhouse 12. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 14. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 15. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 16. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 17. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 18. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 20. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 21. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 22. ? @ 0x00007f3559e74ac3 in ? 23. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:28:08.722770 [ 2669 ] {} DynamicQueryHandler: Code: 516. DB::Exception: test_00463: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:49: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000b216ba9 in /usr/bin/clickhouse 6. /build/src/Access/AccessControl.cpp:605: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x000000001afb1284 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x000000001cdf7929 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:498: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001e5bc5ff in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd31b in /usr/bin/clickhouse 10. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 11. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 13. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 16. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 17. ? @ 0x00007f3559e74ac3 in ? 18. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:28:08.736707 [ 2669 ] {36ef585a-f9ec-4a08-a043-3eefd985ca14} executeQuery: Code: 60. DB::Exception: Table test_xmvm9n81.t does not exist. (UNKNOWN_TABLE) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:46102) (comment: 00463_long_sessions_in_http_interface.sh) (in query: SELECT * FROM t), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 21. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:28:08.738115 [ 2669 ] {36ef585a-f9ec-4a08-a043-3eefd985ca14} DynamicQueryHandler: Code: 60. DB::Exception: Table test_xmvm9n81.t does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000b197fcc in /usr/bin/clickhouse 6. /build/src/Databases/IDatabase.cpp:27: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x000000001bb51ef2 in /usr/bin/clickhouse 7. /build/src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x000000001bedf813 in /usr/bin/clickhouse 8. /build/src/Interpreters/DatabaseCatalog.cpp:926: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x000000001bee4923 in /usr/bin/clickhouse 9. /build/src/Interpreters/JoinedTables.cpp:235: DB::JoinedTables::getLeftTableStorage() @ 0x000000001cc1f036 in /usr/bin/clickhouse 10. /build/src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001caa62f4 in /usr/bin/clickhouse 11. /build/src/Interpreters/InterpreterSelectQuery.cpp:206: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001caa5806 in /usr/bin/clickhouse 12. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&>(std::shared_ptr const&, std::shared_ptr&, DB::SelectQueryOptions&, std::vector> const&) @ 0x000000001cbccec1 in /usr/bin/clickhouse 13. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:254: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x000000001cbca989 in /usr/bin/clickhouse 14. /build/src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001cbc9e05 in /usr/bin/clickhouse 15. /build/contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x000000001ca59094 in /usr/bin/clickhouse 16. /build/src/Interpreters/InterpreterFactory.cpp:162: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x000000001ca56e88 in /usr/bin/clickhouse 17. /build/src/Interpreters/executeQuery.cpp:1026: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x000000001d0aeddd in /usr/bin/clickhouse 18. /build/src/Interpreters/executeQuery.cpp:1322: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b1368 in /usr/bin/clickhouse 19. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 20. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 21. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 22. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 23. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 24. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 25. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 26. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 27. ? @ 0x00007f3559e74ac3 in ? 28. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:28:11.793364 [ 2669 ] {} DynamicQueryHandler: Code: 372. DB::Exception: Session test_xmvm9n81_7 not found. (SESSION_NOT_FOUND), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/Session.cpp:112: DB::NamedSessionsStorage::acquireSession(std::shared_ptr const&, StrongTypedef, DB::UUIDTag> const&, String const&, std::chrono::duration>, bool) @ 0x000000001cdfd355 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:548: DB::Session::makeSessionContext(String const&, std::chrono::duration>, bool) @ 0x000000001cdfabf2 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:558: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd592 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 16. ? @ 0x00007f3559e74ac3 in ? 17. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:28:19.956932 [ 75622 ] {} DynamicQueryHandler: Code: 373. DB::Exception: Session test_xmvm9n81_9 is locked by a concurrent client. (SESSION_IS_LOCKED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:101: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000b90bb53 in /usr/bin/clickhouse 6. /build/src/Interpreters/Session.cpp:134: DB::NamedSessionsStorage::acquireSession(std::shared_ptr const&, StrongTypedef, DB::UUIDTag> const&, String const&, std::chrono::duration>, bool) @ 0x000000001cdfe178 in /usr/bin/clickhouse 7. /build/src/Interpreters/Session.cpp:548: DB::Session::makeSessionContext(String const&, std::chrono::duration>, bool) @ 0x000000001cdfabf2 in /usr/bin/clickhouse 8. /build/src/Server/HTTPHandler.cpp:558: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bd592 in /usr/bin/clickhouse 9. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 10. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 11. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 12. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 13. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 14. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 15. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 16. ? @ 0x00007f3559e74ac3 in ? 17. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:28:21.500137 [ 2669 ] {test_xmvm9n81_9} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.16.43.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55176) (comment: 00463_long_sessions_in_http_interface.sh) (in query: SELECT count() FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b3b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? 2024.12.17 02:28:21.502434 [ 2669 ] {test_xmvm9n81_9} DynamicQueryHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. /build/contrib/llvm-project/libcxx/include/exception:134: std::exception::capture() @ 0x000000000b1a0f82 in /usr/bin/clickhouse 1. /build/contrib/llvm-project/libcxx/include/exception:112: std::exception::exception[abi:v15000]() @ 0x000000000b1a0f4d in /usr/bin/clickhouse 2. /build/base/poco/Foundation/src/Exception.cpp:27: Poco::Exception::Exception(String const&, int) @ 0x0000000024943260 in /usr/bin/clickhouse 3. /build/src/Common/Exception.cpp:96: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000138dc2ae in /usr/bin/clickhouse 4. /build/src/Common/Exception.h:73: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b192fca in /usr/bin/clickhouse 5. /build/src/Common/Exception.h:86: DB::Exception::Exception(int, char const (&) [20]) @ 0x000000000b8f743e in /usr/bin/clickhouse 6. /build/src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x000000001cca8b3b in /usr/bin/clickhouse 7. /build/src/Processors/Executors/PipelineExecutor.cpp:185: DB::PipelineExecutor::checkTimeLimit() @ 0x000000001e6cf520 in /usr/bin/clickhouse 8. /build/src/Processors/Executors/PipelineExecutor.cpp:195: DB::PipelineExecutor::finalizeExecution() @ 0x000000001e6cfbfc in /usr/bin/clickhouse 9. /build/src/Processors/Executors/PipelineExecutor.cpp:130: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001e6cf496 in /usr/bin/clickhouse 10. /build/src/Processors/Executors/CompletedPipelineExecutor.cpp:110: DB::CompletedPipelineExecutor::execute() @ 0x000000001e6ccc68 in /usr/bin/clickhouse 11. /build/src/Interpreters/executeQuery.cpp:1420: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x000000001d0b27c0 in /usr/bin/clickhouse 12. /build/src/Server/HTTPHandler.cpp:864: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001e5bfd51 in /usr/bin/clickhouse 13. /build/src/Server/HTTPHandler.cpp:1058: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001e5c2887 in /usr/bin/clickhouse 14. /build/src/Server/HTTP/HTTPServerConnection.cpp:68: DB::HTTPServerConnection::run() @ 0x000000001e66317c in /usr/bin/clickhouse 15. /build/base/poco/Net/src/TCPServerConnection.cpp:43: Poco::Net::TCPServerConnection::start() @ 0x000000002476b899 in /usr/bin/clickhouse 16. /build/base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002476c0dc in /usr/bin/clickhouse 17. /build/base/poco/Foundation/src/ThreadPool.cpp:188: Poco::PooledThread::run() @ 0x00000000249c0754 in /usr/bin/clickhouse 18. /build/base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x00000000249bd4fa in /usr/bin/clickhouse 19. /build/base/poco/Foundation/src/Thread_POSIX.cpp:335: Poco::ThreadImpl::runnableEntry(void*) @ 0x00000000249bc1fe in /usr/bin/clickhouse 20. ? @ 0x00007f3559e74ac3 in ? 21. ? @ 0x00007f3559f05a04 in ? (version 23.8.16.43.altinitystable (altinity build)) 2024.12.17 02:29:06.525901 [ 664 ] {} Application: Closed all listening sockets. Waiting for 18 outstanding connections. 2024.12.17 02:29:11.432448 [ 664 ] {} Application: Closed connections. But 9 remain. Tip: To increase wait time add to config: 60 2024.12.17 02:29:11.432635 [ 664 ] {} Application: Will shutdown forcefully.